Matrix to products¶
The workspace commands and Python examples call the same services. Arrows connect a declared stage output to a stage consuming that artifact. They are data dependencies, not a mandatory sequence of API calls.
Local execution collects outputs during run; the collect stage is needed for submitted work. Post reads the workspace's durable records, rather than the Python return value of collect. A successful plan does not prove solver convergence or product validity.
Stage input/output declarations live in scripts/pipeline_graph.json. The generator resolves each callable and records its current signature and source digest. Machine-readable stages and edges.
Steady wing polar¶
Expected product family: Steady polar coefficients, sections and provenance.
Unsteady isolated propeller¶
Expected product family: Windowed rotor coefficients and configured unsteady reductions.
Campaign with mesh refinement¶
Expected product family: Comparable polar tables for the original and refined mesh.
Python stage contracts¶
The signatures below are read from the source on regeneration.
Read matrix rows¶
read_matrix(path: str | Path, *, active_only: bool=True) -> list[MatrixRow]
Bind input library¶
resolve_matrix(path: str | Path, workspace: CampaignWorkspace, *, name: str, fs_version: str | None, recipes: Mapping[str, str], fs_exe: str | Path | None=None, ignore_missing_families: bool=True, rows: list[MatrixRow] | None=None) -> ResolvedMatrix
Plan without solver¶
plan_campaign(campaign: Campaign, workspace: CampaignWorkspace, *, recipes: dict[str, ScriptRecipe] | None=None, write_plan: bool=True, name_from: str | None=None, builds: Mapping[str, SolverBuild] | None=None, versions: Mapping[str, str] | None=None, matrix_path: str | Path | None=None, accept_unregistered_build: bool=False, setup_inspections: Sequence[dict[str, object]] | None=None, inflow_fft: bool=False, accepted_builds: Collection[str]=(), planned_order: Mapping[str, Sequence[str]] | None=None, row_builds: Sequence[str | None] | None=None) -> CampaignPlan
Execute campaign¶
run_campaign(campaign: Campaign, executor: Executor, workspace: CampaignWorkspace, *, assess: OutcomeAssessor, recipes: dict[str, ScriptRecipe] | None=None, resume: bool=False, force_rerun: Sequence[str] | None=None, preflight: bool=True, builds: Mapping[str, SolverBuild] | None=None, name_from: str | None=None, quiet: bool=False, accept_unregistered_build: bool=False, sweep_csv: object=None, accepted_builds: Collection[str]=(), redo_submitted: bool=False, parallel: int | str | None=None) -> list[RunRecord]
Collect submitted work¶
collect_once(workspace: CampaignWorkspace, *, interval: float=DEFAULT_SETTLE_INTERVAL_S, sleep: Callable[[float], None]=time.sleep, observer: Callable[[Iterable[Path]], dict[str, Stamp | None]]=observe, assessor: Callable[[RunRecord, Path], tuple[RunStatus, str | None]] | None=None, sims: Collection[str] | None=None, writes: CollectWrites | None=None) -> CollectReport
Build engineering products¶
write_campaign_products(workspace: CampaignWorkspace, *, warning_refusals: bool | None=None, overwrite: bool=False, archive: bool=False, archive_stamp: datetime | None=None, matrix_stem: str | None=None, check_frozen: bool=False, sims: Collection[str] | None=None, keep_unrebuilt: bool=False) -> list[Path]
Refine source mesh¶
refine_mesh(mesh: str | os.PathLike[str], factor: float | None=None, *, warning_refusals: bool | None=None, families: Sequence[str] | None=None, parallel: float | None=None, normal: float | None=None, config: str | Path | None=None, out_dir: str | Path | None=None, overwrite: bool=False, keep_first_row: object=None, progress: Callable[[str], None] | None=None, accept_remesh: bool=False, accept_unknown: bool=False, force_factors: bool=True, visual_inspect: bool=False, keep_within_component: bool | None=None, audit: bool=True, chordwise: object=None, spanwise: object=None) -> RefinedMesh | None