Skip to content

Boundary conditions and initialization actions

A geometry sidecar identifies physical surfaces; a setup chooses their simulation role; each MATRIX row supplies operating values. Use the three-artifact example for a complete geometry, setup and condition declaration.

One home per condition

Each boundary condition is declared in one place. A key that also reached a condition at another home is refused by name, and the refusal names the home.

Condition Its home Refused elsewhere
Automatic trailing-edge and wake-termination detection the boundaries file: [trailing_edges] detect = "auto" and [wake_termination] detect = "auto" (wake_termination_nodes = "auto" on a named entry) setup physics_auto_trailing_edges, physics_auto_wake_nodes
Speed of sound of the free stream the air state of the flight-condition columns (temperature and specific-heat ratio) setup sonic_velocity_m_per_s
Loads of a symmetric model, the meshed half or sector or the whole the run matrix row's SYMMETRY_LOADS column (true or false) setup symmetry_loads, also on a row
Base regions: which boundary is a base, its pressure model and its rim the boundaries file, [base_regions.<family>]; the row's BASE_REGIONS column for a per-row choice; the setup's base_region_operations on an opened simulation pproc base_regions
Thin boundaries the boundaries file beside the geometry: thin_boundaries = ["Wing"] ([] clears a saved selection) setup thin_boundaries

Keep [ports] identity-to-surface mappings beside the mesh. In an inputs/setups/s<>.toml file, use ordered [[ports]] tables with port, kind and optional velocity_variable / profile_variable selectors. The MATRIX free-variable cell supplies the selected velocities and filenames; no numeric port condition or profile path belongs to the geometry sidecar. The unreleased sidecar [[inlets]] and [[outlets]] forms are refused with migration guidance.

The surface name is exact after import renames. Velocities are passed unchanged in simulation velocity units. The manual's command description specifies a signed normal velocity, while its GUI note on p.189 says direction follows the inlet/outlet type and signs are unnecessary. The signed values in the example are controlled inputs, not proof of the target executable's flow direction.

The geometric [trailing_edges] none = true choice warns and creates no wake when applied. It does not prove that a port configuration needs no exhaust wake. Setup apply_trailing_edges, apply_wake_termination and apply_base_regions select application of those declarations; see the application rules. A false selector skips redefinition and never clears saved FSM state.

A native inlet profile

An inlet setup entry may select profile_variable = "FEED_PROFILE" while MATRIX states FEED_PROFILE: inlet-profile.txt. This resolves to inputs/profiles/inlet-profile.txt; a missing, empty or escaping path is refused. Omitting profile_variable requests no profile. The reader binds exact bytes by SHA-256; building refuses a changed file. The run stages a uniquely named copy in the point's working directory and records its digest. Neither newline style nor columns are rewritten. profile_sha256 is resolved package metadata, not an authored setup value.

The command addresses the created-port sequence, independently of mesh boundary indices. The setup preserves the written order across inlet and outlet roles. Creating ports on a saved FSM remains refused when its pre-existing indices are unknown; use a fresh mesh for this creation route.

The GUI manual gives comma-separated x,y,z,Vmag rows on p.190 and says the vertices are mapped onto the inlet to form a continuous field. This resolves the copied motion-data description in the scripting parameter table. Coordinate units and sign behavior still require build-specific confirmation; the fixture uses a simulation explicitly set to metres. An actuator radial-thrust file is not an inlet-profile specification. Operational acceptance of the new route is still pending.

An outlet profile is refused because no counterpart is documented. The GUI's exhaust-outflow perimeter marking also has no established script route. The base-region command SET_OUTLET_TRAILING_EDGES is not substituted for it. These are unresolved operational capabilities, not completeness claims. Sources: FlightStream User Guide supplied with 26.123/26.124, pp.190-191 and 330-331; inlets_outlets.yaml retains the source discrepancies.

Explicit setup actions

These optional keys belong at the root of an s<>.toml setup, without a [solver] table. Omission preserves existing behavior; action requests use true, not a guessed native default.

Key Meaning and order
proximal_boundaries = ["Wing"] Resolve labels or indices before initialization. "all" expands a known inventory and refuses an unknown one.
remove_initialization = true Remove saved initialization before the workflow initializes again. This is distinct from clearing a solution.
delete_inlets = [2, 1] / delete_outlets = [1] Unmark existing port indices in the written order before initialization. The native port sequence is separate from mesh boundary indices.
delete_transition_trips = [3, 1] Delete saved trip indices in precisely this order. No saved inventory or renumbering is invented.
clear_vorticity_drag_boundaries = true Clear the induced-drag selection: after a steady solve and before export, and before START_SOLVER on an unsteady march, so every step export reads it; the plan warns on a march, where no run has measured the command in that position. It conflicts with an explicit family selection.

Typed input, inspection and emission establish the requested script. Native acceptance additionally requires executable identity, input and script hashes, logs, and measured state or output changes. Parser acceptance and exit code zero alone are insufficient.

Radial inlet and outlet meshes

A port can request an explicit radial mesh after it is marked and before its custom profile is assigned:

[[ports]]
port = "feed"
kind = "inlet"
velocity_variable = "FEED_VELOCITY"
[ports.remesh]
inner_radius_m = 0.0
radial_faces = 4
growth_scheme = "successive"
growth_rate = 1.2

Keep this table in the setup and supply FEED_VELOCITY in MATRIX. An outlet uses kind = "outlet" with the same [ports.remesh] table. The radius is in metres and is converted using the simulation's known length unit. Zero requests a disk; a positive inner radius requests an annulus and must remain below the outer radius of the actual geometry. radial_faces counts faces generated from each wall boundary edge. Growth scheme successive maps to native 1 and dual_sided to 2; growth rate 1 is uniform and a value above 1 refines the outer perimeter. These meanings come from the supplied 26.124 manual, printed/PDF pp.190-192.

The command registry places remeshing in the setup phase because it needs an already-created port. It remains forbidden after initialization settings. Offline tests exercise that prerequisite order. The measured 26.124 build 8172026 used the combined created-port sequence when remeshing an outlet after an inlet. It changed the target cap from two to 28 triangles while preserving its area and the other boundaries. This establishes that mesh edit, not solved flow direction, profile interpolation or every radial-growth option. Repeating the same surface in setup port selections is refused: the manual says reassignment removes the old association and may delete its port, making later port indices ambiguous.

Ordered base-region actions

A setup may declare base_region_bending_angle_deg and an ordered array of [[base_region_operations]]. Detection happens first, then these operations, then initialization. The angle is applied before automatic or named-boundary detection. boundary identifies a mesh boundary when creating a region. Follow-up pressure, deletion, remesh, trailing-edge and face-selection operations may use that same boundary name instead of index; the builder resolves it from earlier creates or named region declarations and tracks deletion in that sequence. A name without an earlier region is refused. Use exactly one selector. index remains available for the current base-region sequence, including regions in opened saved simulations whose names are not declared here; subsequent explicit indices remain the user's responsibility.

base_region_bending_angle_deg = 25.0

[[base_region_operations]]
operation = "create"
boundary = "Base"
model = "USER"
cp = -0.2

[[base_region_operations]]
operation = "set_pressure"
index = 1
model = "CUSTOM"
cp = -0.3

[[base_region_operations]]
operation = "remesh"
index = 1
[base_region_operations.mesh]
inner_radius_m = 0.0
radial_faces = 4
growth_scheme = "successive"
growth_rate = 1.2

Creation requires boundary, model and cp, including the ignored Cp argument for EMPIRICAL. A pressure update requires index and model; CUSTOM also requires cp. That report does not establish current-build operation.

The operations delete, mark_trailing_edges and select_faces require index. Trailing-edge marking and face selection accept index = "all"; deletion does not. Face selection changes application selection state. mark_outflow_edges instead requires boundary (mesh name, index or "all"), following the command registry's boundary argument. The manual calls it a base-region boundary, not an outlet perimeter; native association remains to be measured. Its documented command is SET_OUTFLOW_TRAILING_EDGES on 26.122 and SET_OUTLET_TRAILING_EDGES on 26.123/26.124. Build routing follows those records; it does not establish native operation.

Later no-solve controls on build 8172026 measured USER creation, CUSTOM pressure editing, deletion, target-only radial remeshing and base trailing-edge marking. Those state checks do not establish aerodynamic loads. The outflow-edge control did not establish an effect, and the saved graphics change after face selection does not by itself prove the intended GUI selection. Other pressure models and radial-growth options retain their own evidence requirements.

The executable base-region setup example generates a script from the repository's public body fixture without launching a solver. It demonstrates explicit indices and ordering; inspect the starting geometry's actual base regions before applying it to another saved simulation.