pub struct Summary {Show 33 fields
pub schema_version: String,
pub name: String,
pub case_sha256: String,
pub physics_sha256: String,
pub initial_state_sha256: String,
pub termination: String,
pub assessment: String,
pub error: Option<String>,
pub model_scope: String,
pub experimental_validation: String,
pub steps: usize,
pub physical_time_s: f64,
pub elapsed_s: f64,
pub pressure_iterations: usize,
pub momentum_solver_iterations: Option<usize>,
pub turbulent_floor_events: usize,
pub fluid_cells: usize,
pub solid_cells: usize,
pub fluid_components: usize,
pub mask_sha256: String,
pub estimated_peak_mib: f64,
pub checks: Vec<Check>,
pub constituents: Vec<ScalarEvidence>,
pub particulate_matter: BTreeMap<String, ParticulateEvidence>,
pub vegetation: Option<Evidence>,
pub velocity_max_m_s: f64,
pub momentum_residual: Option<f64>,
pub turbulence_residual: Option<f64>,
pub receptor_relative_change: Option<f64>,
pub source_sha256: String,
pub build_version: String,
pub threads: usize,
pub frozen_flow: Option<FrozenFlowEvidence>,
}Expand description
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.
Fields§
§schema_version: StringAlways cfd-craft.result/0.1.
name: StringThe case name.
case_sha256: StringSHA-256 of the consumed, normalized case as compact JSON.
physics_sha256: StringPhysics hash of the case: the case without name, run and
output. Checkpoints are compatible across cases with the same value.
initial_state_sha256: StringSHA-256 of the starting state (cold or restored), so restarts from different states stay distinguishable.
termination: StringWhy execution stopped: completed, iteration_limit (step budget),
wall_time_limit, cancelled or diverged (a failed step, recorded
in error).
assessment: StringNumerical 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.
error: Option<String>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.
model_scope: StringModel label: incompressible_laminar,
prescribed_flow_passive_transport or neutral_k_epsilon_rough_wall;
the CLI prefixes preview: for a coarsened preview.
experimental_validation: StringAlways not_validated; see validation/data-inventory.json: numerical
acceptance is not experimental validation.
steps: usizeRetained steps (outer iterations with an implicit steady algorithm), cumulative across restarts.
physical_time_s: f64Time covered in seconds; pseudo-time in steady mode.
elapsed_s: f64Wall seconds of this invocation, from the creation of its control.
pressure_iterations: usizeCumulative pressure PCG iterations of the retained steps.
momentum_solver_iterations: Option<usize>Inner iterations of implicit momentum-correction solves, when selected.
turbulent_floor_events: usizeTurbulence updates that hit the k or epsilon floor; any event fails the turbulence checks.
fluid_cells: usizeNumber of fluid cells.
solid_cells: usizeNumber of solid cells.
fluid_components: usizeNumber of face-connected fluid regions, each with its own pressure gauge unless it touches an outlet.
mask_sha256: StringSHA-256 of the cell mask, one byte per cell (1 fluid, 0 solid) in cell order; also in geometry.json.
estimated_peak_mib: f64The preflight memory estimate of the case check, in MiB.
checks: Vec<Check>Every recomputed check of the returned state.
constituents: Vec<ScalarEvidence>Evidence for each constituent, in case order.
particulate_matter: BTreeMap<String, ParticulateEvidence>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.
vegetation: Option<Evidence>Recomputed porous canopy drag/coverage, absent without nonzero LAD.
velocity_max_m_s: f64Largest absolute face velocity in m/s.
momentum_residual: Option<f64>Largest normalized momentum residual, null for prescribed flow.
turbulence_residual: Option<f64>Largest normalized k or epsilon residual, neutral_rans only.
receptor_relative_change: Option<f64>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.
source_sha256: StringSource fingerprint of the producing build. A library run reports the core crate’s; the CLI and the Python binding combine it with their own.
build_version: StringPackage version and compiler of the producing build, as
<version>; <rustc version>.
threads: usizeThe case’s declared run.threads, not a measurement of the pool.
frozen_flow: Option<FrozenFlowEvidence>Optional verified fixed-flow initialization and zero-flow-update evidence. Ordinary coupled runs omit this field.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Summary
impl<'de> Deserialize<'de> for Summary
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl JsonSchema for Summary
impl JsonSchema for Summary
Source§fn schema_name() -> String
fn schema_name() -> String
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref keyword. Read moreAuto Trait Implementations§
impl Forget for Summary
impl Freeze for Summary
impl Move for Summary
impl RefUnwindSafe for Summary
impl Send for Summary
impl Sync for Summary
impl Unpin for Summary
impl UnsafeUnpin for Summary
impl UnwindSafe for Summary
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more