Result schema
This page lists the fields of summary.json and of the phase profile. It is
generated from the result_schema and phase_profile_schema fields of
cfd-craft describe. What the files mean and which checks report repeats
is in the result contract. A field without a default
that is not required may be absent; null means unavailable, not zero.
Summary
The result of one native run (schema cfd-craft.result/0.1), written as summary.json: identities, the stopping reason and numerical verdict, work counters, geometry, the recomputed checks and per-constituent evidence. termination says why execution stopped; assessment says what the checks support; experimental validation is a separate question. Null means unavailable in the stated context, not zero.
Unknown fields are rejected.
| Field | Type | Required | Description |
|---|---|---|---|
assessment | string | required | Numerical verdict: steady_discrete_solution or transient_interval_completed (completed with every check passed), failed_checks (completed, some check failed) or incomplete (any other termination). Never upgraded because the last state looks reasonable. |
build_version | string | required | Package version and compiler of the producing build, as <version>; <rustc version>. |
case_sha256 | string | required | SHA-256 of the consumed, normalized case as compact JSON. |
checks | array of Check | required | Every recomputed check of the returned state. |
constituents | array of ScalarEvidence | required | Evidence for each constituent, in case order. |
elapsed_s | number | required | Wall seconds of this invocation, from the creation of its control. |
error | string or null | optional | The failure that stopped the run, usually with its code (for example CFD-E033: pressure iteration limit 100), or cancelled / wall_time_limit when the stop came inside a step; null otherwise. |
estimated_peak_mib | number | required | The preflight memory estimate of the case check, in MiB. |
experimental_validation | string | required | Always not_validated; see validation/data-inventory.json: numerical acceptance is not experimental validation. |
fluid_cells | integer (>= 0) | required | Number of fluid cells. |
fluid_components | integer (>= 0) | required | Number of face-connected fluid regions, each with its own pressure gauge unless it touches an outlet. |
frozen_flow | FrozenFlowEvidence or null | optional | Optional verified fixed-flow initialization and zero-flow-update evidence. Ordinary coupled runs omit this field. |
initial_state_sha256 | string | required | SHA-256 of the starting state (cold or restored), so restarts from different states stay distinguishable. |
mask_sha256 | string | required | SHA-256 of the cell mask, one byte per cell (1 fluid, 0 solid) in cell order; also in geometry.json. |
model_scope | string | required | Model label: incompressible_laminar, prescribed_flow_passive_transport or neutral_k_epsilon_rough_wall; the CLI prefixes preview: for a coarsened preview. |
momentum_residual | number or null | optional | Largest normalized momentum residual, null for prescribed flow. |
momentum_solver_iterations | integer or null (>= 0) | optional | Inner iterations of implicit momentum-correction solves, when selected. |
name | string | required | The case name. |
particulate_matter | object with string keys and values of ParticulateEvidence | optional | PM2.5/PM10 airborne mass and receptor sums for spherical particle bins. No interpolation within a bin: its representative aerodynamic diameter is either below the cutoff or excluded. Omitted without particles. |
physical_time_s | number | required | Time covered in seconds; pseudo-time in steady mode. |
physics_sha256 | string | required | Physics hash of the case: the case without name, run and output. Checkpoints are compatible across cases with the same value. |
pressure_iterations | integer (>= 0) | required | Cumulative pressure PCG iterations of the retained steps. |
receptor_relative_change | number or null | optional | Largest relative change between the means of three successive monitor windows over all monitor columns (flow norm, constituent masses, receptor values and, with neutral_rans, mean k and epsilon); null before three full windows. The monitor_stability value of steady runs. |
schema_version | string | required | Always cfd-craft.result/0.1. |
solid_cells | integer (>= 0) | required | Number of solid cells. |
source_sha256 | string | required | Source fingerprint of the producing build. A library run reports the core crate’s; the CLI and the Python binding combine it with their own. |
steps | integer (>= 0) | required | Retained steps (outer iterations with an implicit steady algorithm), cumulative across restarts. |
termination | string | required | Why execution stopped: completed, iteration_limit (step budget), wall_time_limit, cancelled or diverged (a failed step, recorded in error). |
threads | integer (>= 0) | required | The case’s declared run.threads, not a measurement of the pool. |
turbulence_residual | number or null | optional | Largest normalized k or epsilon residual, neutral_rans only. |
turbulent_floor_events | integer (>= 0) | required | Turbulence updates that hit the k or epsilon floor; any event fails the turbulence checks. |
vegetation | Evidence or null | optional | Recomputed porous canopy drag/coverage, absent without nonzero LAD. |
velocity_max_m_s | number | required | Largest absolute face velocity in m/s. |
Check
One numerical check, recomputed by the solver from the current fields. A check passes when its value is finite and at most its threshold. Continuity and residual values are normalized with the case’s velocity and length scales (neutral_rans: speed_m_s and reference_height_m; otherwise the reference speed, at least 1 m/s, and the shortest domain side).
Unknown fields are rejected.
| Field | Type | Required | Description |
|---|---|---|---|
method | string | required | How the value was obtained, for example application recomputation from current fields. |
name | string | required | What is checked: local_continuity, boundary_volume_balance, steady_momentum_equations, steady_turbulence_equations, turbulence_floor_events, monitor_stability, or per constituent <id>.mass_budget, <id>.negative_mass, <id>.steady_equation and <id>.steady_mass_balance. The steady checks appear in steady mode only, the turbulence checks with neutral_rans only. |
passed | boolean | required | Whether the value is finite and at most the threshold. |
threshold | number | required | Largest accepted value, a fixed gate or the tolerance from the case. |
value | number or null | optional | The measured value, or null when it is not finite or not available, such as monitor_stability before three full monitor windows. A null value fails. |
Evidence
Instantaneous canopy evidence; integrated drag is per unit air density.
Unknown fields are rejected.
| Field | Type | Required | Description |
|---|---|---|---|
drag_power_per_density_m5_s3 | number | required | Positive rate of work against canopy drag, divided by density (m5/s3). |
drag_quadrature | string | required | Quadrature of the actual staggered momentum sink over active face dual volumes (area times face gradient distance). |
integrated_drag_acceleration_m4_s2 | array of 3 number | required | Integral of drag acceleration over fluid volume (m4/s2), with its sign. |
validation | string | required | The model remains numerically verified and physically unvalidated. |
volume_fluid_cells | object with string keys and values of integer (>= 0) | required | Number of represented fluid cells per vegetation ID; overlaps count twice. |
FrozenFlowEvidence
Provenance for scalar responses on one accepted, immutable flow state.
Unknown fields are rejected.
| Field | Type | Required | Description |
|---|---|---|---|
assessment | string | required | Source flow assessment; only steady_discrete_solution is accepted. |
flow_physics_sha256 | string | required | Physics hash of the source flow-only case. |
flow_state_sha256 | string | required | SHA-256 of length-prefixed little-endian f64 velocity,p,k,epsilon arrays. |
initialization | string | required | The transport starts from the declared (required zero) concentration field. |
native_flow_solves | integer (>= 0) | required | Number of nonprescribed native flow solves: 0 for analytic prescribed flow,1 otherwise. |
preparation_steps | integer (>= 0) | required | Coupled flow steps used in the preparation, counted separately. |
response_flow_updates | integer (>= 0) | required | Flow updates during this scalar response; always zero. |
source_sha256 | string | required | Source implementation of the accepted flow preparation. |
ParticulateEvidence
Sum over particle bins passing an aerodynamic-size cutoff.
Unknown fields are rejected.
| Field | Type | Required | Description |
|---|---|---|---|
mass_kg | number | required | Integrated airborne mass, in kg. |
receptors_kg_m3 | object with string keys and values of number | required | Local-source concentration increments at receptors, in kg/m3. |
PathEvidence
A path receptor sampled from one constituent’s returned concentration field.
Unknown fields are rejected.
| Field | Type | Required | Description |
|---|---|---|---|
concentrations_kg_m3 | array of number | required | Linear-interpolated concentration increments, in kg/m3. |
distance_m | array of number | required | Arc length from the first route vertex, in meters. |
mean_kg_m3 | number | required | Arc-length trapezoidal mean, also in receptors_kg_m3 for this ID. |
points_m | array of array of 3 number | required | Local east/north/up positions in meters, in route order. |
ScalarEvidence
Evidence for one constituent at the returned state: mass budget, extrema, the steady residual, instantaneous rates and receptor values. Cumulative quantities are in kg, rates in kg/s, concentrations in kg/m3.
Unknown fields are rejected.
| Field | Type | Required | Description |
|---|---|---|---|
aerodynamic_diameter_m | number or null | optional | Unit-density equivalent aerodynamic diameter used for PM sums. |
boundary_inflow_rate_kg_s | number | required | Current rate of mass entering through boundary faces. |
boundary_outflow_rate_kg_s | number | required | Current rate of mass leaving through boundary faces. |
budget_defect_kg | number | required | mass_kg minus initial, emitted and inflow mass plus outflow mass. |
deposited_kg | object with string keys and values of number | optional | Cumulative particle deposition by surface class, in kg. |
deposition_rate_kg_s | object with string keys and values of number | optional | Current deposition rate by surface class, in kg/s. |
emitted_kg | number | required | Cumulative mass emitted by the sources. |
id | string | required | The constituent ID. |
inflow_kg | number | required | Cumulative mass that entered through boundary faces. |
mass_kg | number | required | Mass in the domain, the sum of concentration times cell volume. |
maximum_kg_m3 | number | required | Largest concentration over all cells, at least 0. |
minimum_kg_m3 | number | required | Smallest concentration over the fluid cells. |
negative_mass_kg | number | required | Mass of the negative concentrations, as a positive number; never clipped. |
outflow_kg | number | required | Cumulative mass that left through boundary faces. |
paths | object with string keys and values of PathEvidence | optional | Ordered path samples and their arc-length means, keyed by path ID. Omitted when no path receptor is declared, preserving legacy output bytes. |
receptors_kg_m3 | object with string keys and values of number | required | Concentration at each receptor, keyed by receptor ID. JSON maps are sorted lexically (R10 before R2), so look values up by ID. |
relative_budget_defect | number | required | Absolute budget defect over the sum of initial, emitted, inflow and outflow mass; the mass_budget check requires at most 1e-9. |
settling_velocity_m_s | number or null | optional | Resolved particle settling speed; omitted for gases. |
source_rate_kg_s | number | required | Emission rate of the represented sources. |
steady_residual | number | required | Largest steady-equation residual |dc/dt| over the cells, normalized by the velocity scale, the length scale and maximum_kg_m3. |
The phase profile is the timing field of the profile.json that
cfd-craft profile writes.
Profile
A phase profile (schema cfd-craft.phase-profile/0.1): wall time and work per solver phase. Only exclusive times may be added. Work includes failed attempts, so it can exceed the counters of the retained state.
Unknown fields are rejected.
| Field | Type | Required | Description |
|---|---|---|---|
accounted_exclusive_s | number | required | Sum of the exclusive seconds of all phases. |
elapsed_s | number | required | Wall seconds since the control was created, at the snapshot. |
phases | object with string keys and values of PhaseTiming | required | Timing of each phase that ran, keyed by its snake_case phase name. |
schema_version | string | required | Always cfd-craft.phase-profile/0.1. |
unattributed_s | number | required | Elapsed minus exclusive phases for a single serial invocation. Parallel callers may have aggregate phase time exceeding elapsed wall time. |
MultigridWork
Attempted work, accumulated locally without timers or locks inside PCG. Hierarchy dimensions/storage are maxima, not sums over repeated solves.
Unknown fields are rejected.
| Field | Type | Required | Description |
|---|---|---|---|
block_level_cell_visits | integer (>= 0) | optional | Cells of the block-smoothed levels per visit; omitted when zero. Then smoothing = 4 x residual - 2 x block visits. |
block_smoothing_cell_updates | integer (>= 0) | optional | Cell updates of block sweeps; omitted when zero. Twice the block level visits. |
block_solves | integer (>= 0) | optional | Exact line or plane block solves; omitted when zero. |
coarse_solves | integer (>= 0) | required | Dense direct solves on the coarsest level, one per cycle. |
cycles | integer (>= 0) | required | V-cycles applied, one per preconditioner application. |
hierarchy_builds | integer (>= 0) | required | Hierarchy constructions (0 when a cached hierarchy was reused). |
hierarchy_bytes | integer (>= 0) | required | Retained hierarchy storage in bytes (maximum over the merged solves). |
hierarchy_cells | integer (>= 0) | required | Unknowns over all levels (maximum over the merged solves). |
hierarchy_levels | integer (>= 0) | required | Number of levels (maximum over the merged solves). |
hierarchy_nonzeros | integer (>= 0) | required | Stored matrix entries over all levels (maximum over the merged solves). |
prolongation_cell_updates | integer (>= 0) | required | Cell updates of prolongations; equal to the residual updates. |
residual_cell_updates | integer (>= 0) | required | Cell updates of residual evaluations, one per cell and nonterminal level visit. |
restriction_cell_updates | integer (>= 0) | required | Cell updates of restrictions; equal to the residual updates. |
smoothing_cell_updates | integer (>= 0) | required | Cell updates of all smoothing sweeps, point and block. |
PhaseTiming
Accumulated time and work of one phase over all its calls.
Unknown fields are rejected.
| Field | Type | Required | Description |
|---|---|---|---|
calls | integer (>= 0) | required | Number of finished spans of this phase. |
exclusive_s | number | required | Wall seconds excluding nested phases; these add up to accounted_exclusive_s. |
inclusive_s | number | required | Wall seconds including nested phases. Do not add these up. |
multigrid | MultigridWork or null | optional | Multilevel work of pressure_solve with the multigrid preconditioner; omitted otherwise. |
operator_applications | integer (>= 0) | required | Operator products: the compact pressure products plus the independent true-residual products of pressure_solve, and one (CG) or two (BiCGStab) per inner iteration of the implicit solves. |
preconditioner_applications | integer (>= 0) | required | Applications of the selected preconditioner. |
true_residual_checks | integer (>= 0) | required | Independent face-by-face residual recomputations of pressure_solve. |
work_units | integer (>= 0) | required | Attempted inner iterations: PCG for pressure_solve, the implicit correction solves for momentum_solve and turbulence_solve; zero for other phases. |