> ## Documentation Index
> Fetch the complete documentation index at: https://eddy-ac74d702.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Run an incompressible CFD solve - steady or transient, laminar or RANS (synchronous)

> P11 / O1 / O3 domain: incompressible Navier-Stokes on the structured box grid - steady (SIMPLE) or transient (`time`: PISO / PIMPLE, Euler / BDF2, adaptive step), laminar or RANS (finite volume, cell-centred; fields are per-CELL: cell_velocity 3-comp [m/s], cell_pressure kinematic p/rho [m^2/s^2], cell i <-> mesh element i, x-fastest). Two case families: the straight duct (inlet + outlet on opposite faces of one axis, uniform inlet velocity, fixed outlet reference pressure) and the ENCLOSED moving-wall flow (omit inlet AND outlet, drive the flow with `walls` - e.g. the Ghia Re=100 lid-driven cavity). `walls` prescribes a tangential velocity on named wall faces in either family (zero normal component or the solve is a typed refusal). Material must carry nu_fluid (kinematic viscosity, m^2/s). A cross-flow axis meshed with exactly one cell becomes the 2D `empty` convention. Laminar by default: duct D_h Reynolds and each wall's lid Reynolds must be <= 2000 unless `turbulence` names a RANS model (O3: k_epsilon | k_omega_sst with standard wall functions), which lifts the gate and adds the turbulence fields and the y* metrics. `scheme` picks the momentum discretization: `upwind` (default, first-order) or `linear_upwind` - the oracle-matching arm (second-order linearUpwind convection + the laminar dev2 transpose stress term); the scheme is hashed into the model, so it forks the result key. Solvers: the default is the pinned OpenFOAM v2412 oracle (requires the WSL install; enclosed/moving-wall cases are typed refusals there); set solver_version: "native-cfd" for the native deterministic FVM+SIMPLE stack, which covers both families. Metrics: max_velocity, p_min/p_max, cells, simple_iters, max_cell_div. O1: `time` marches the case (Euler / BDF2, PISO / PIMPLE, an adaptive step as a fixed rule), `periodic` axes, `initial` fields (uniform, Taylor-Green), oscillating walls (`walls[].frequency`), and the bounded `limited_linear_upwind` scheme; the result adds `time_history` and the transient metrics. R11 (the rules plan, X0): the answer carries `issues` (`ss.issue/1`) where a steady run stopped at its cap before its residual targets (`CFD_NOT_CONVERGED`, class method also model, outcome unevaluable) or a RANS run's wall y* left the wall function's validity (`CFD_YPLUS_OUT_OF_RANGE`, method also model, outcome suspect); absent otherwise. Run as a job, the finished job (`/v1/jobs/{id}`) carries the same `issues` beside its `result`.



## OpenAPI

````yaml openapi.json POST /v1/solve.cfd
openapi: 3.1.0
info:
  description: >-
    Deterministic, content-addressed geometry + structural-FEA engine. Every
    result carries provenance (model hash, pinned solver build, params, runtime
    profile) and is reproducible byte-for-byte from its report. Identical inputs
    return the same result_key with the second call served from cache.


    Authentication: when the deployment sets SS_REQUIRE_AUTH=1, pass an API key
    in the `x-api-key` header (create keys via the admin endpoints or the
    /console app). Admin endpoints require `x-admin-token` when SS_ADMIN_TOKEN
    is set.


    Rate limits: a key may carry a request-rate limit (`limits` on its record:
    requests a minute and a burst, set by an admin at mint or through `POST
    /admin/keys/{key_hash}/limits`), and a deployment may set one for every key
    without its own (SS_KEY_RATE_DEFAULT; unset = unlimited). Past it, any `/v1`
    or `/admin` call by that key is 429 `RATE_LIMITED` with `retry-after`
    (seconds) and `x-ratelimit-limit` / `x-ratelimit-remaining` /
    `x-ratelimit-reset`; an allowed call by a limited key carries the
    `x-ratelimit-*` headers too. The limit holds per gateway replica. Other 429s
    (RESOURCE_LIMIT, SESSION_LIMIT, size caps) are not transient and carry no
    `retry-after`; the SDKs retry a 429 only when it does.


    Errors are always typed: `{"error": {"code": "INVALID_GEOMETRY" |
    "MESH_FAILED" | "SOLVE_DIVERGED" | "RESOURCE_LIMIT" | "UNKNOWN_SOLVER" |
    "UNAUTHORIZED" | "NOT_FOUND" | ..., "message": "..."}}`.
  title: Eddy API
  version: 0.1.0
servers:
  - description: the hosted engine (Sydney)
    url: https://api.eddy.engineer
  - description: a local engine (cargo run -p ss-api)
    url: http://127.0.0.1:8080
security: []
tags:
  - description: 'Eddy IAM: API keys and usage metering'
    name: admin
  - description: Health and documentation
    name: meta
  - description: >-
      Eddy PLM (L track): Teamcenter-class PLM - item masters and revisions,
      EBOMs, ECR/ECO change control with hash-chained signoffs, effectivity +
      configurations, the vault, AP242 structure interchange, the digital-thread
      certificate
    name: plm
  - description: >-
      Eddy Parts, the 3D CAD application on the native kernel: recipes, edits,
      sketches, features, sections, drawings, export.
    name: cad
  - description: 'Eddy Assemblies: assemblies and mates.'
    name: asm
  - description: 'The engine: geometry -> mesh -> FEA -> result'
    name: solve
  - description: >-
      Eddy BIM, on the BIMCraft engine (BC track): projects as content-addressed
      documents with their history, every edit a command run server-side, views,
      schedules and sheets drawn by the engine, IFC and DXF in and out, .rvt in
      behind the rvt feature, measures for the verification matrix.
    name: bim
  - description: 'Eddy Verify and Eddy B3: reports, verification, runs, blobs'
    name: provenance
  - description: >-
      Eddy Bridge (IG20): fixed kinds of job run on the customer's own vendor
      seat under the customer's licence, results back as labelled external
      results
    name: bridge
  - description: CAM.
    name: cam
  - description: Eddy Flow, the CFD application (/cfd).
    name: cfd
  - description: Circuit simulation (MNA).
    name: circuit
  - description: >-
      Eddy Surrogates: corpora, datasets, sweeps and training runs over solver
      traces.
    name: training
  - description: >-
      Eddy ProcessSim (/multisim, A track): multi-method simulation - discrete
      events, agents and stocks-and-flows on one calendar - the AnyLogic-class
      engine.
    name: multisim
  - description: >-
      Eddy Requirements (Q track): DOORS-class requirements platform - modules,
      typed traceability links, baselines, the live verification matrix, the
      authoring recorder, ReqIF interchange
    name: req
  - description: 'Eddy Redline: markup and review.'
    name: review
  - description: 'Eddy Datasets: the data plane.'
    name: data
  - description: >-
      The generative design loop's perception (J12): the design packet — every
      picture an agent needs to see a recipe or assembly, content-addressed.
    name: design
  - description: >-
      Eddy Manufacturability (MF track): a part, an assembly or an imported STEP
      body checked against a process and the shop that will make it — findings
      on the faces and parts they are about, every limit cited with its
      confidence, the rule catalogue and the seeded shop profiles.
    name: dfm
  - description: >-
      Eddy Earthing (EG track): soil surveys and layered soil fitting, the IEEE
      80 hand method, our own boundary-element solver in uniform and layered
      soil, safety (touch and step) against cited criteria, the fault current
      split, risk-based criteria, transferred potentials and hazard zones, large
      farm grids, field test plans and calibration, grid generation, reports and
      sheets - refereed by SimPEG, pyGIMLi, groundinsight and FEA; paid values
      only from adopted value tables
    name: earthing
  - description: 'Eddy Circuits: schematics, boards, the E-track projects.'
    name: eda
  - description: Eddy Fields, the electromagnetics application (/em).
    name: em
  - description: 'Eddy QuickFlow: instant previews.'
    name: preview
  - description: 'Eddy Structures, the FEA application (/fea): studies, meshing, results.'
    name: fea
  - description: >-
      Eddy Kernel, the native B-rep kernel's services: healing, clearance,
      signed distance, STEP import. The kernel's booleans, sketches, features
      and meshers are reached through the cad tag; its ledger is the K track
      (/docs/tracks/k-track), its page /docs/solvers/ss-geometry.
    name: geometry
  - description: >-
      Eddy Generation Plants (GP track): solar, wind and battery plants on
      terrain - the site's buildable area, weather documents (ERA5, NASA POWER,
      EPW, customer files, our TMY), PV yield with rows, trackers and bifacial,
      row packing with piles and blocks edited by commands, wind yield and
      wakes, noise, shadow flicker, visual impact, micro-siting, BESS sizing,
      duty and layout, the MV collector as a power network, access roads and
      civil quantities, P50 / P90 and the yield report - refereed against pvlib,
      PySAM, solarfactors, PyWake, FLORIS and windpowerlib; paid values only
      from adopted value tables; design and screening, never bankable
    name: gp
  - description: >-
      Eddy Product Graph, on ParamDB (PX track): materials and suppliers as
      documents; one dependency graph per product across every document kind —
      BOM lines and items, materials, supplier offers, studies in any solver
      domain, requirement checks — with impact before work, propagation that
      evaluates exactly the frontier, and the derivative layer (rank, tolerance)
      composed over the graph.
    name: graph
  - description: >-
      Eddy Optics (/optics, OP track): lens files, the glass catalogs, the
      vocabulary.
    name: optics
  - description: >-
      The physical-AI interchange (IX track): UsdPhysics / MJCF / URDF in, the
      USD sublayer and MJCF out, calibration of the training engines' parameters
      from the truth, the audit of their rollouts, the foreign-audit corpus
      family.
    name: interop
  - description: >-
      Eddy Knowledge: the curated engineering reference library — standards
      notes, design guides, material data and house rules that staff maintain —
      searched lexically by models and people; live bases only.
    name: knowledge
  - description: >-
      Eddy Math (X track): the MATLAB-style numeric workbench - a stated
      MATLAB-language subset evaluated as a pure function over content-addressed
      workspaces, Octave-refereed
    name: lab
  - description: >-
      Eddy AI Gateway: the Anthropic Messages shape forwarded to the
      deployment's TrueFoundry gateway (Claude on Google Cloud), the caller
      tagged, the model allowlisted per role, the tokens metered.
    name: llm
  - description: >-
      Collaboration (CO16–CO18): the project event stream, presence (who is here
      and which view — nothing finer), comment threads with anchors and
      mentions, and notifications.
    name: collab
  - description: >-
      Eddy IAM - organisations and teams (CO3): the tenancy unit projects, live
      sessions, comments, notifications and activity are scoped by. Invites by
      email bind on first sign-in.
    name: orgs
  - description: >-
      Eddy Motion (MO track): the study document on an assembly's mates, the
      multibody solve, result series, traces, interference over time, loads for
      an FEA study, mate references by stable face name.
    name: motion
  - description: >-
      Eddy ParamDB, the parametric database: the store's management surface
      (status, refs, log, objects, GC, flush, init) behind the console's ParamDB
      service.
    name: pdb
  - description: >-
      Eddy Power Systems (PW track): the network document and device libraries,
      load flow, short circuit, protection and time-current curves,
      coordination, arc flash, sizing, motor starting and harmonics - our own
      solvers, refereed by pandapower and OpenDSS; paid values only from adopted
      value tables
    name: power
  - description: Saved app documents (the console's project library)
    name: projects
  - description: >-
      Eddy Live - live co-editing (CO13): one chain per project on ParamDB,
      every edit a micro-commit with a CAS; the loser of a race gets a typed
      conflict and catches up. Zero per-app code: any registered family's
      vocabulary, or JSON Patch.
    name: live
  - description: >-
      Variants (CO13b): explore your own design or simulation options on a
      private branch forked at zero copy, share it, compare it as a node diff
      with results, and merge it back as one whole state (a two-parent commit)
      when you want.
    name: variants
  - description: Result post-processing.
    name: results
  - description: >-
      Eddy Maps, the spatial engine (/spatial, SP track): frames, terrain,
      volumes and paths — and the S-track spatial aggregates over result fields.
    name: spatial
  - description: >-
      Eddy Build Guides (AQ track, /instructions): the assembly sequence
      document (explode steps, the build as its reverse), the planner with its
      path / stability / tool-access checks and the fast check of a given order,
      the animation with its auto camera, the render (AV1 / GIF / APNG / glTF /
      USD) and the step sheets, public share links, service procedures, DFA
      scoring and the precedence graph.
    name: sequence
  - description: 'Eddy Sim2Real: rigid-body simulation and rollouts.'
    name: sim
  - description: 'Eddy 1D: system simulation, Modelica-style networks and signal flow.'
    name: system
paths:
  /v1/solve.cfd:
    post:
      tags:
        - solve
      summary: >-
        Run an incompressible CFD solve - steady or transient, laminar or RANS
        (synchronous)
      description: >-
        P11 / O1 / O3 domain: incompressible Navier-Stokes on the structured box
        grid - steady (SIMPLE) or transient (`time`: PISO / PIMPLE, Euler /
        BDF2, adaptive step), laminar or RANS (finite volume, cell-centred;
        fields are per-CELL: cell_velocity 3-comp [m/s], cell_pressure kinematic
        p/rho [m^2/s^2], cell i <-> mesh element i, x-fastest). Two case
        families: the straight duct (inlet + outlet on opposite faces of one
        axis, uniform inlet velocity, fixed outlet reference pressure) and the
        ENCLOSED moving-wall flow (omit inlet AND outlet, drive the flow with
        `walls` - e.g. the Ghia Re=100 lid-driven cavity). `walls` prescribes a
        tangential velocity on named wall faces in either family (zero normal
        component or the solve is a typed refusal). Material must carry nu_fluid
        (kinematic viscosity, m^2/s). A cross-flow axis meshed with exactly one
        cell becomes the 2D `empty` convention. Laminar by default: duct D_h
        Reynolds and each wall's lid Reynolds must be <= 2000 unless
        `turbulence` names a RANS model (O3: k_epsilon | k_omega_sst with
        standard wall functions), which lifts the gate and adds the turbulence
        fields and the y* metrics. `scheme` picks the momentum discretization:
        `upwind` (default, first-order) or `linear_upwind` - the oracle-matching
        arm (second-order linearUpwind convection + the laminar dev2 transpose
        stress term); the scheme is hashed into the model, so it forks the
        result key. Solvers: the default is the pinned OpenFOAM v2412 oracle
        (requires the WSL install; enclosed/moving-wall cases are typed refusals
        there); set solver_version: "native-cfd" for the native deterministic
        FVM+SIMPLE stack, which covers both families. Metrics: max_velocity,
        p_min/p_max, cells, simple_iters, max_cell_div. O1: `time` marches the
        case (Euler / BDF2, PISO / PIMPLE, an adaptive step as a fixed rule),
        `periodic` axes, `initial` fields (uniform, Taylor-Green), oscillating
        walls (`walls[].frequency`), and the bounded `limited_linear_upwind`
        scheme; the result adds `time_history` and the transient metrics. R11
        (the rules plan, X0): the answer carries `issues` (`ss.issue/1`) where a
        steady run stopped at its cap before its residual targets
        (`CFD_NOT_CONVERGED`, class method also model, outcome unevaluable) or a
        RANS run's wall y* left the wall function's validity
        (`CFD_YPLUS_OUT_OF_RANGE`, method also model, outcome suspect); absent
        otherwise. Run as a job, the finished job (`/v1/jobs/{id}`) carries the
        same `issues` beside its `result`.
      operationId: solveCfd
      requestBody:
        content:
          application/json:
            example:
              geometry:
                primitive:
                  box:
                    lx: 0.25
                    ly: 0.002
                    lz: 0.02
              inlet:
                region: x_min
                velocity:
                  - 0.1
                  - 0
                  - 0
              material:
                e: 1000000000
                id: water
                nu: 0.3
                nu_fluid: 0.001
                rho: 1000
                yield: 1000000
              mesh_opts:
                element_size: 0.002
              outlet:
                p_ref: 0
                region: x_max
            schema:
              $ref: '#/components/schemas/CfdRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SolveResponse'
          description: >-
            CFD result with provenance (cell_velocity, cell_pressure fields).
            With solver.preset = preview the body is the PreviewKindResponse
            (kind: preview, result_id: null).
        '400':
          $ref: '#/components/responses/TypedError'
        '401':
          $ref: '#/components/responses/TypedError'
        '422':
          $ref: '#/components/responses/TypedError'
        '429':
          $ref: '#/components/responses/TypedError'
      security:
        - apiKey: []
        - {}
components:
  schemas:
    CfdRequest:
      properties:
        adjoint:
          description: >-
            O17.b: the continuous adjoint of the steady laminar duct flow
            (additive tag 31) - Othmer's formulation as
            adjointShapeOptimizationFoam carries it: the adjoint momentum
            convected by the reversed primal flux with the transpose convection,
            the adjoint continuity, the inlet u_a = -u_hat, the walls u_a = 0,
            the outlet's adjointOutletVelocity / adjointOutletPressure; the
            results carry cell_adjoint_velocity, cell_adjoint_pressure,
            cell_sensitivity (u_a.u), cell_design_alpha, objective_history and
            the metrics adjoint_iters / adjoint_converged / objective_power_loss
            / design_change_last. Anchor: the plug flow's adjoint is the plug
            u_a = -u_hat with p_a = -3U, climbing at alpha U through a porous
            slab, to 1e-8; the straight duct is left open by the iteration.
            Structured core, steady laminar single-phase; the polyhedral core,
            RANS, the force objectives and the page's Design tab are named.
          properties:
            alpha_max:
              description: The design field's cap [1/s] (with lambda > 0).
              type: number
            lambda:
              description: >-
                The topology step: alpha += 0.1 (clamp(alpha + lambda u_a.u, 0,
                alpha_max) - alpha) per cycle; 0 = the sensitivity map alone.
              type: number
            objective:
              description: >-
                The objective (power_loss, the default): J = -integral (p + 1/2
                |u|^2) u.n over the inlet and the outlet.
              enum:
                - power_loss
              type: string
            steps:
              description: >-
                The topology iteration's cycles of primal + adjoint solves (<=
                64; 0 / 1 = one adjoint).
              type: integer
          type: object
        compute:
          $ref: '#/components/schemas/ComputePlacement'
        controls:
          description: >-
            O14: the solver controls (tag 17; absent = the pinned
            engineering-grade schedule: under-relaxation 0.7 / 0.3, residual
            targets 1e-6 / 1e-5, the cap 5000). A zero keeps the pinned value;
            `stop_at_limit` returns the state at the cap with the metric
            converged = 0 instead of the typed refusal. Every steady solve adds
            the field `residual_history` (4 components per outer iteration: u_x,
            u_y, u_z, p) and the metric `converged`. Anchor: two relaxations
            meet within the Rhie-Chow dissipation's relaxation dependence (8e-3
            of u_max; O1.b removes it), a tighter target ends below it, a capped
            run stops at the cap.
          properties:
            max_iterations:
              type: integer
            residual_p:
              type: number
            residual_u:
              type: number
            stop_at_limit:
              type: boolean
            urf_momentum:
              type: number
            urf_pressure:
              type: number
            wall_treatment:
              description: >-
                O3 slice 2: the RANS wall treatment on the polyhedral core -
                standard (the log law above y*_lam, the viscous sublayer below;
                the default), scalable (y* floored at y*_lam), enhanced (Kader's
                blended law of the wall and the two-layer Wolfshtein nu_t
                blended at Re_y 200). Forks the result key.
              enum:
                - standard
                - scalable
                - enhanced
              type: string
          type: object
        core:
          default: auto
          description: >-
            O4: the finite-volume core. `auto` runs the structured core on a
            full box grid (the pre-O4 bytes and keys) and the POLYHEDRAL core on
            every other mesh - a snapped primitive (`mesh_opts.mesh_conform:
            "snap"` on a cylinder / sphere / cone / prism), a perturbed or
            imported mesh; `polyhedral` forces the polyhedral core on the box
            too (the referee of the two cores: on an orthogonal grid they agree
            to 3e-6 of u_max). The polyhedral core: face-based SIMPLE on the
            owner / neighbour topology with the over-relaxed non-orthogonal
            correction, one skewness-correction pass, least-squares velocity
            gradients, the polyhedral Rhie-Chow, aggregation-AMG PCG for
            pressure and ILU(0)-BiCGStab for momentum (the shared sparse
            module), the recursive-bisection solve numbering, byte-identical
            across SS_THREADS. The result adds the metrics mesh_faces,
            mesh_internal_faces, mesh_ortho_min, mesh_nonortho_max_deg,
            mesh_skewness_max, mesh_aspect_max, mesh_warp_max, mesh_volume,
            mesh_quality_warning (1 when a metric leaves the recommended band -
            orthogonal quality < 0.1, non-orthogonality > 70 deg, skewness > 2,
            aspect > 100, warp > 0.5), amg_levels, inner_u_iters, inner_p_iters
            and the field cell_ortho_quality; a mesh past the pinned limits
            (orthogonal quality < 0.01, non-orthogonality > 85 deg, skewness >
            4, a non-positive cell volume) is INVALID_GEOMETRY naming the
            metric. Slice 1 is the steady laminar rung: turbulence, transient,
            periodic and initial fields on the polyhedral core refuse typed
            naming O4 slice 2 (they run on the structured box). Hashed into the
            model - forks the result key when set.
          enum:
            - auto
            - polyhedral
          type: string
        coupling:
          description: >-
            O5: the steady pressure-velocity coupling (additive tag 19):
            `simple` (the default - the segregated SIMPLE, every earlier rung's
            bytes) or `coupled` (one block system for p and U per outer
            iteration, the pressure gradient and the Rhie-Chow continuity row
            implicit, ILU(0)-BiCGStab; the same discrete fixed point as SIMPLE
            in 3-10x fewer outer iterations). Steady only - the transient march
            is PISO / PIMPLE under `time.coupling`. O5 slice 2: `density_based`
            - the density-based solver for the ideal gas on the polyhedral core
            (a box case routes there): the conservative Euler / Navier-Stokes
            equations marched explicitly with Roe's flux or AUSM+ (`flux`),
            MUSCL second order under Venkatakrishnan's limiter, `precondition`
            for the low-Mach regime, local time stepping under `cfl` to a steady
            state or the transient gas under `time` (dt, n_steps). Supersonic
            inflow and shocks are this solver's; `far_field` gives the free
            stream of the inlet / outlet faces, `initial: {kind: cells, u, p,
            t}` the state of a shock tube (ABSOLUTE p [Pa], T [K]); `gas.mu` may
            be 0 (inviscid). Adds cell_density, cell_mach, cell_temperature and
            the metrics rho_min/max, mach_max, mass_flow_in/out, residual_rho.
          properties:
            cfl:
              description: >-
                O5 slice 2 (density_based): the pseudo-time CFL of the explicit
                SSP-RK3 march (0 = the pinned 0.8).
              type: number
            flux:
              description: >-
                O5 slice 2 (density_based): the numerical flux - Roe's with
                Harten's entropy fix (the default) or AUSM+ (Liou 1996).
              enum:
                - roe
                - ausm_plus
              type: string
            kind:
              enum:
                - simple
                - coupled
                - density_based
              type: string
            precondition:
              description: >-
                O5 slice 2 (density_based): the low-Mach preconditioning
                (Weiss-Smith on the pseudo-time derivative, Rieper's scaling of
                the Roe dissipation) - the accuracy and the convergence at M <<
                1.
              type: boolean
            pseudo_cfl:
              description: >-
                The coupled solver's pseudo-transient CFL (the global pseudo
                time step in cell-transit units); 0 = the pinned 50.
              type: number
          type: object
        energy:
          description: >-
            O2: the energy equation. Temperature transport on the flow with the
            material's k / cp / rho (all required > 0): the SIMPLE fluxes carry
            the convection with the momentum scheme, central diffusion, implicit
            under-relaxation 0.8, the residual target 1e-6; the transient march
            carries it with the same Euler / BDF2 time term. Adds the field
            cell_temperature and the metrics res_t, t_min, t_max,
            heat_rate_<face> [W, into the domain] and heat_flux_<face> [W/m^2]
            per thermal wall, heat_rate_walls. An enclosed case with energy
            needs no moving wall (buoyancy or conduction drives it). Anchors:
            the developed linear profile between two wall temperatures, the
            Brinkman viscous-heating profile, the Graetz Nusselt number 7.541,
            the de Vahl Davis cavity (Nu 1.118 / 2.243 at Ra 1e3 / 1e4),
            transient conduction vs the Fourier series. Slice 2 named: energy
            with a RANS model (the thermal law of the wall), on a periodic axis,
            the incompressible ideal gas. Hashed into the model - forks the
            result key.
          properties:
            buoyancy:
              description: >-
                Boussinesq buoyancy: the body force -g beta (T - T_ref) in the
                momentum equation.
              properties:
                beta:
                  description: >-
                    Thermal expansion coefficient [1/K]; 0 = the material's
                    alpha.
                  type: number
                gravity:
                  description: Gravitational acceleration [m/s^2].
                  properties:
                    x:
                      type: number
                    'y':
                      type: number
                    z:
                      type: number
                  type: object
                t_ref:
                  description: Operating (reference) temperature [K]; 0 = t_init.
                  type: number
              required:
                - gravity
              type: object
            t_init:
              description: Initial temperature [K]; 0 = t_inlet.
              type: number
            t_inlet:
              default: 300
              description: >-
                Inlet temperature [K]; also the initial and reference
                temperature unless t_init / buoyancy.t_ref say otherwise.
              type: number
            viscous_heating:
              default: false
              description: >-
                The viscous dissipation mu Phi as a temperature source (the
                Brinkman term).
              type: boolean
            walls:
              description: >-
                Thermal wall conditions; a wall without one is adiabatic. The
                inlet carries t_inlet, the outlet is zero-gradient.
              items:
                properties:
                  h:
                    description: 'convection: the heat transfer coefficient [W/(m^2 K)].'
                    type: number
                  kind:
                    enum:
                      - temperature
                      - heat_flux
                      - convection
                    type: string
                  q:
                    description: >-
                      heat_flux: the flux into the domain [W/m^2] (0 =
                      adiabatic).
                    type: number
                  region:
                    description: >-
                      Wall face (x_min..z_max); not the inlet / outlet, not an
                      empty (2D) face.
                    type: string
                  t:
                    description: 'temperature: the fixed wall temperature [K].'
                    type: number
                  t_inf:
                    description: 'convection: the free-stream temperature [K].'
                    type: number
                required:
                  - region
                  - kind
                type: object
              type: array
          type: object
        fans:
          description: >-
            O7.2: fan faces (additive tag 28) - Fluent's fan: a plane of faces
            imposing the curve's pressure rise, explicit where the curve rises
            with v and a face resistance where it falls (the pressure-velocity
            coupling sees the slope), the adjacent cells' gradient excluding the
            rise like the porous jump's drop. Anchors: the rise across the plane
            is the curve at the plug velocity to 1e-9; the fan-system operating
            point against a radiator loss from a total-pressure inlet is the
            balance quadratic's root. The OpenFOAM referee writes the fan as a
            `fan` baffle with the curve as a jump table. Structured core, steady
            single-phase; the polyhedral core, the transient march, the gas and
            the second phase are named (O7.2 slice 2).
          items:
            properties:
              axis:
                enum:
                  - x
                  - 'y'
                  - z
                type: string
              bbox:
                description: >-
                  The faces the plane covers (centres inside the box); absent =
                  the whole plane.
                items:
                  type: number
                maxItems: 6
                minItems: 6
                type: array
              coeffs:
                description: >-
                  The fan curve's coefficients [Pa, Pa.s/m, Pa.s^2/m^2]: the
                  pressure RISE dp = c0 + c1 v + c2 v^2 on the signed normal
                  velocity v along +axis.
                items:
                  type: number
                maxItems: 3
                minItems: 3
                type: array
              position:
                description: >-
                  The plane's position along the axis [m] - on a grid line of
                  the box.
                type: number
            required:
              - axis
              - position
              - coeffs
            type: object
          type: array
        far_field:
          description: >-
            O5: the pressure far-field boundary (additive tag 20) - the free
            stream classified against the face's outward normal: an inflow face
            is a velocity inlet at M a(T) along the direction (`energy.t_inlet`
            must be the free-stream temperature), an outflow or tangential face
            a pressure boundary at p. Needs the gas; with no velocity inlet the
            far field is the inflow and the outlet the other face.
          properties:
            direction:
              description: The flow direction (normalised by the solver).
              properties:
                x:
                  type: number
                'y':
                  type: number
                z:
                  type: number
              type: object
            mach:
              description: The free-stream Mach number.
              type: number
            p:
              description: The free-stream static pressure [Pa, absolute].
              type: number
            region:
              description: An axis face (x_min..z_max) that is not the inlet / outlet.
              type: string
            t:
              description: The free-stream static temperature [K].
              type: number
          required:
            - region
            - p
            - mach
            - t
            - direction
          type: object
        gas:
          description: >-
            O5: the ideal gas p = rho R T (additive tag 18) - compressible flow
            on the pressure-based coupled solver: needs `coupling: {kind:
            coupled}` and the energy equation (`energy.t_inlet` the inflow
            temperature); `p_ref` is the outlet's ABSOLUTE static pressure. The
            momentum operator is assembled on the mass fluxes, the continuity
            row carries the compressibility implicitly (F = rho phi + phi psi
            dp, psi = 1/(R T)), the energy equation is the total-enthalpy form.
            Slice 1 is subsonic and laminar: a supersonic inlet, RANS, periodic
            axes, buoyancy and the total-pressure inlet with the gas are typed
            O5.2; the polyhedral core is O5 slice 2. The result carries
            `cell_density` and `cell_mach` and the metrics rho_min / rho_max /
            mach_max / mass_flow_in / mass_flow_out.
          properties:
            gamma:
              description: 'The ratio of specific heats (air: 1.4).'
              type: number
            mu:
              description: 'The dynamic viscosity [Pa s] (air at 300 K: 1.85e-5).'
              type: number
            p_operating:
              description: >-
                The operating pressure [Pa] the document's gauge pressures are
                measured against: the solver's absolute pressures come back as
                (p - p_operating) / rho_material, the kinematic gauge form every
                reader expects. 0 = absolute throughout.
              type: number
            pr:
              description: >-
                The Prandtl number (air: 0.71); k = mu c_p / Pr, c_p = gamma R /
                (gamma - 1).
              type: number
            r:
              description: 'The specific gas constant R [J/(kg K)] (air: 287.05).'
              type: number
          required:
            - r
            - gamma
            - mu
            - pr
          type: object
        geometry:
          $ref: '#/components/schemas/GeometryIn'
        init_from:
          description: >-
            S6: the warm start - the result_id of an earlier CFD run whose cell
            fields (cell_velocity, cell_pressure, cell_temperature,
            face_flux_box) become this solve's `initial: cells` (Fluent's
            read-data / interpolate). The cell count must be this case's; the
            fields are hashed into the case, so the key forks - never a silent
            byte fork. Not with `initial`.
          type: string
        initial:
          description: >-
            O1: the initial field - `{"kind": "uniform", "u": {"x", "y", "z"}}`
            or `{"kind": "taylor_green", "u0", "k"}` (u = u0 cos(kx) sin(ky), v
            = -u0 sin(kx) cos(ky), the exact decaying solution on a periodic box
            whose side is a multiple of 2 pi / k). Absent = at rest. The initial
            velocity is projected onto the discretely divergence-free space
            before the march.
          properties:
            k:
              type: number
            kind:
              enum:
                - uniform
                - taylor_green
              type: string
            u:
              properties:
                x:
                  type: number
                'y':
                  type: number
                z:
                  type: number
              type: object
            u0:
              type: number
          type: object
        inlet:
          description: >-
            Duct family: inlet face + uniform velocity. Omit together with
            `outlet` for an enclosed moving-wall flow (then `walls` is
            required).
          properties:
            region:
              description: Axis face-set name (x_min..z_max).
              type: string
            velocity:
              description: Uniform inlet velocity [m/s] (nonzero).
              items:
                type: number
              maxItems: 3
              minItems: 3
              type: array
          required:
            - region
            - velocity
          type: object
        inlet_profile:
          description: >-
            O13: the velocity inlet's profile - the speed piecewise-linear in
            one face-centre coordinate (a Fluent point / line profile,
            OpenFOAM's fixedProfile); `inlet.velocity`'s magnitude is ignored
            while set. Anchor: the developed discrete profile fed back makes
            every column of the duct identical from the first cell. Hashed (tag
            14).
          properties:
            axis:
              description: >-
                The coordinate the speed varies with: 0 = x, 1 = y, 2 = z (not
                the inlet's own axis).
              type: integer
            direction:
              description: The flow direction {x, y, z} (normalised).
              type: object
            points:
              description: >-
                (coordinate [m], speed [m/s]) pairs, coordinates strictly
                increasing; the end values hold outside.
              items:
                items:
                  type: number
                maxItems: 2
                minItems: 2
                type: array
              type: array
          required:
            - axis
            - points
            - direction
          type: object
        material:
          $ref: '#/components/schemas/Material'
          description: Must carry nu_fluid > 0 (kinematic viscosity, m^2/s).
        mesh_motion:
          description: >-
            O18.b slice 2: the mesh motion of one time step (the ALE march on
            the polyhedral core) — the mesh blob holds the positions after the
            step; the convection runs relative to the mesh flux the swept face
            volumes give; one Euler step per request
          properties:
            nodes_prev:
              description: >-
                the nodes' positions before the step, x y z per node in the
                mesh's node order (3 n values)
              items:
                type: number
              type: array
          required:
            - nodes_prev
          type: object
        mesh_opts:
          $ref: '#/components/schemas/MeshOpts'
        mode:
          enum:
            - auto
            - sync
            - async
          type: string
        mrf:
          description: >-
            O7: the rotating reference frame (additive tag 23) over the WHOLE
            domain - the relative-velocity formulation: the momentum gains the
            Coriolis term -2 Omega x u, the centrifugal potential 1/2 |Omega x
            r|^2 is carried by a reduced pressure and restored on the result;
            the walls are at rest in the frame. Steady, single-phase,
            incompressible in slice 1; an MRF sub-zone with its frozen-rotor
            interface and the sliding mesh name O7.2. Anchor: the closed
            rotating box is at rest with the exact centrifugal pressure.
          properties:
            axis:
              description: The rotation axis (normalised by the solver).
              properties:
                x:
                  type: number
                'y':
                  type: number
                z:
                  type: number
              type: object
            bbox:
              description: >-
                O7.2: the frame as a SUB-ZONE - the cells whose centre lies in
                [x0, y0, z0, x1, y1, z1] turn, the rest is at rest (additive;
                absent = the whole domain). Solved in the absolute-velocity form
                (OpenFOAM's MRF: the zone's faces convect with the relative
                flux, its cells carry Omega x u, the boundary patches are
                non-rotating, the velocity reported is absolute); the metric
                mrf_zone_swept_flux is the swept flux through an interface that
                is not normal to the axis (the frozen rotor's mass defect, 0
                when it is). Structured core only in O7.2 slice 1; the
                polyhedral core refuses typed.
              items:
                type: number
              maxItems: 6
              minItems: 6
              type: array
            omega:
              description: The rotational velocity [rad/s].
              type: number
            origin:
              description: A point on the axis.
              properties:
                x:
                  type: number
                'y':
                  type: number
                z:
                  type: number
              type: object
          required:
            - omega
            - axis
          type: object
        outlet:
          description: >-
            Duct family: outlet face + reference pressure. Required iff `inlet`
            is present.
          properties:
            p_ref:
              default: 0
              description: Kinematic reference pressure fixed on the outlet [m^2/s^2].
              type: number
            region:
              description: Axis face-set name, the opposite face of the inlet's axis.
              type: string
          required:
            - region
          type: object
        periodic:
          description: >-
            O1: periodic axes - the two faces of the axis are one interior face
            (>= 2 cells; no inlet / outlet / moving wall on them). An enclosed
            periodic box with an `initial` field is a valid case (the
            Taylor-Green vortex).
          items:
            enum:
              - x
              - 'y'
              - z
            type: string
          type: array
        porous:
          description: >-
            O7: porous zones (additive tag 22) - the Darcy-Forchheimer sink S_i
            = -(mu D_i + 1/2 rho C_i |u|) u_i on the cells whose centre lies in
            the box, implicit on the momentum diagonal (the anisotropic
            remainder deferred; the Rhie-Chow d sees the resistance). Anchor:
            Ergun's plane channel carries dp/dx = nu D U + 1/2 C U^2 to 1e-6.
            The porous-jump face and the polyhedral core name O7.2 / O7 slice 2.
          items:
            properties:
              bbox:
                description: '[x0, y0, z0, x1, y1, z1]; absent = the whole domain.'
                items:
                  type: number
                maxItems: 6
                minItems: 6
                type: array
              inertial:
                description: The inertial resistance C2 per axis [1/m].
                properties:
                  x:
                    type: number
                  'y':
                    type: number
                  z:
                    type: number
                type: object
              viscous:
                description: The viscous resistance 1/K per axis [1/m2].
                properties:
                  x:
                    type: number
                  'y':
                    type: number
                  z:
                    type: number
                type: object
            required:
              - viscous
            type: object
          type: array
        porous_jumps:
          description: >-
            O7 slice 7: porous jumps (Fluent's porous jump) - a plane of
            interior faces with the pressure drop dp = (mu / alpha v + 1/2 C2
            rho v^2) thickness on the face's normal velocity, applied as a face
            resistance in the pressure-velocity coupling (the adjacent cells'
            pressure gradients exclude it). The structured core's SIMPLE and
            transient march carry it; the polyhedral core, the coupled solver,
            the gas, the VOF march, the lattice arm and both oracles refuse it
            typed. Hashed into the model (additive tag 27).
          items:
            properties:
              axis:
                enum:
                  - x
                  - 'y'
                  - z
                type: string
              bbox:
                description: >-
                  The faces the jump covers (centres inside the box); absent =
                  the whole plane.
                items:
                  type: number
                maxItems: 6
                minItems: 6
                type: array
              c2:
                default: 0
                description: The pressure-jump coefficient C2 [1/m].
                type: number
              permeability:
                description: The face permeability alpha [m^2].
                type: number
              position:
                description: >-
                  The plane's position along the axis [m] - on a grid line of
                  the box.
                type: number
              thickness:
                description: The medium's thickness [m].
                type: number
            required:
              - axis
              - position
              - permeability
              - thickness
            type: object
          type: array
        pressure_inlet:
          description: >-
            O13: a TOTAL-pressure inlet replacing `inlet` (needs `outlet`, u_in
            zero). The face static pressure follows Bernoulli from the current
            face-mean inflow (p_f = p0 - 1/2 u^2), the inflow velocity is the
            flux's normal component (OpenFOAM's totalPressure +
            pressureInletOutletVelocity), the flow rate is what the pressure
            difference drives; both cores. Anchor: the velocity-inlet duct's
            measured inlet total pressure fed back reproduces its flow rate
            within 2 %. Hashed into the model (tag 13).
          properties:
            p_total:
              description: Kinematic total pressure [m^2/s^2] (gauge total pressure / rho).
              type: number
            region:
              description: The inlet face (x_min..z_max) - opposite the outlet.
              type: string
          required:
            - region
            - p_total
          type: object
        quality:
          description: >-
            Mesh-density preset along the longest edge (draft L/5, standard L/8
            = default, fine L/16). An explicit mesh_opts.element_size wins.
            Primitive/csg geometry only.
          enum:
            - draft
            - standard
            - fine
          type: string
        radiation:
          description: >-
            O7: the P1 radiation model (additive tag 25) on the steady energy
            solve - the incident radiation G from div(Gamma grad G) - a G = -4 a
            sigma T^4 with Marshak's wall condition, the energy source a (G - 4
            sigma T^4) linearised (16 a sigma T^3 implicit); the result carries
            `cell_incident_radiation` and the radiative wall heat rates
            rad_heat_rate_<face>. Anchor: the gray slab between black plates at
            radiative equilibrium carries q / sigma (T1^4 - T2^4) = 1 / (1 + 3
            tau / 4). S2S and discrete ordinates name O7.2; Rosseland, DTRM,
            Monte Carlo and the solar load O7.b.
          properties:
            absorption:
              description: The absorption coefficient a [1/m] (> 0).
              type: number
            emissivity:
              description: >-
                The wall emissivities per box face (x_min, x_max, y_min, y_max,
                z_min, z_max); default 1.
              items:
                type: number
              maxItems: 6
              minItems: 6
              type: array
            model:
              description: >-
                O7.2: the radiation model - p1 (the default) or s2s, the
                surface-to-surface model on a transparent fluid: the box's wall
                faces exchange by their view factors (Hottel's crossed strings
                in 2D, exact; 3x3 Gauss quadrature with row closure in 3D), the
                radiosity system solved with the fixed-temperature walls
                emitting and every other wall reradiating (adiabatic); the net
                radiative heat rate per box face is reported as
                rad_heat_rate_<face>, the wall-adjacent cells' irradiation as
                cell_incident_radiation; absorption is not read. Anchors: the
                long 2D cavity against the three-surface closed form (within 1
                %) and the infinite-plate law at the plates' centres; the cube
                against the lumped form with F12 0.19982. The enclosure must be
                closed by walls (openings, symmetry planes, flux walls, the
                transient march, the polyhedral core and the OpenFOAM viewFactor
                referee are named, O7.2 slice 2).
              enum:
                - p1
                - s2s
              type: string
            scattering:
              description: The scattering coefficient [1/m].
              type: number
          required:
            - absorption
          type: object
        radiators:
          description: >-
            O7.2: radiator faces (additive tag 29) - Fluent's radiator: the
            pressure drop 1/2 rho k_L(v) v^2 as a face resistance and the heat
            h(v) (t_rad - T_up) [W/m^2] into the downstream cell (explicit).
            Anchors: the drop and the temperature lift h (t_rad - T_up) / (rho
            c_p U) in plug flow to 1e-9. The OpenFOAM referee writes the loss as
            a `fan` baffle with negative powers 2-4; the heat has no stock
            baffle condition and is named there. Structured core, steady
            single-phase.
          items:
            properties:
              axis:
                enum:
                  - x
                  - 'y'
                  - z
                type: string
              bbox:
                description: >-
                  The faces the plane covers (centres inside the box); absent =
                  the whole plane.
                items:
                  type: number
                maxItems: 6
                minItems: 6
                type: array
              h:
                description: >-
                  The heat-transfer polynomial [W/(m^2 K), W s/(m^3 K), W
                  s^2/(m^4 K)]: q = h(v) (t_rad - T_upstream) into the
                  downstream cell; all zero = no heat (needs the energy equation
                  otherwise).
                items:
                  type: number
                maxItems: 3
                minItems: 3
                type: array
              loss:
                description: >-
                  The loss polynomial [-, s/m, s^2/m^2]: k_L = l0 + l1 |v| + l2
                  v^2; the drop dp = 1/2 rho k_L v^2.
                items:
                  type: number
                maxItems: 3
                minItems: 3
                type: array
              position:
                description: >-
                  The plane's position along the axis [m] - on a grid line of
                  the box.
                type: number
              t_rad:
                description: The radiator's temperature [K].
                type: number
            required:
              - axis
              - position
              - loss
            type: object
          type: array
        reactions:
          description: >-
            O7.2: one-step reactions fuel (+ s oxidizer) -> (1 + s) product
            among the scalars (additive tag 30) - Fluent's finite-rate /
            eddy-dissipation model: the smaller of the Arrhenius and the
            eddy-dissipation rate when both are given, the fuel's consumption
            implicit per cell (the CSTR-in-series form of the upwind march), the
            oxidizer's likewise, the product's explicit, the heat release rho dH
            R into the energy equation. Anchors: the isothermal Arrhenius chain
            in plug flow is the CSTR series to 1e-9; the adiabatic chain reaches
            the coupled fixed point to 1e-6; the eddy-dissipation rate follows
            the solver's own decaying k-epsilon cell by cell. Structured core,
            steady single-phase; the polyhedral core, the transient march, the
            gas, the second phase and the OpenFOAM referee (reactingFoam) are
            named (O7.2 slice 2).
          items:
            properties:
              arrhenius:
                description: >-
                  The finite rate [A, beta, E_a (J/kmol)]: R = A T^beta exp(-E_a
                  / (R_u T)) Y_F (x Y_O with an oxidizer) [1/s].
                items:
                  type: number
                maxItems: 3
                minItems: 3
                type: array
              edm:
                description: >-
                  The eddy-dissipation rate [A_e, B_e] (Fluent's 4, 0.5): R =
                  A_e (eps / k) min(Y_F, Y_O / s, B_e Y_P / (1 + s)) on a
                  k-epsilon or SST model.
                items:
                  type: number
                maxItems: 2
                minItems: 2
                type: array
              fuel:
                description: The fuel scalar's index in `scalars`.
                type: integer
              heat_release:
                description: >-
                  The heat of reaction per kg of fuel [J/kg]; nonzero needs the
                  energy equation.
                type: number
              oxidizer:
                type: integer
              product:
                type: integer
              stoich:
                description: >-
                  The stoichiometric oxidizer-to-fuel mass ratio s (0 with no
                  oxidizer).
                type: number
              t_ref:
                description: >-
                  The temperature the Arrhenius rate reads without the energy
                  equation [K].
                type: number
            required:
              - fuel
            type: object
          type: array
        scalars:
          description: >-
            O7: passive scalars / species (additive tag 24) transported by the
            converged flow: upwind convection, diffusion, first-order reactions,
            fixed at the inlet, zero-flux at walls; the results carry
            `cell_scalar_<name>` and `cell_uds_<index>` with the metrics
            res_<name> / <name>_min / <name>_max. Anchor: the A -> B chain in
            plug flow is geometric on the upwind march and tracks e^(-k x / U).
            Mixture properties, multi-step / Arrhenius / eddy-dissipation
            reactions and inlet diffusion name O7.2.
          items:
            properties:
              decay:
                description: A first-order decay rate [1/s], implicit.
                type: number
              diffusivity:
                description: The kinematic diffusivity [m2/s].
                type: number
              init:
                type: number
              inlet:
                type: number
              name:
                type: string
              produced_from:
                description: >-
                  The index of the scalar whose decay produces this one at that
                  rate (A -> B).
                type: integer
              sc_t:
                description: >-
                  O7 slice 14: the turbulent Schmidt number Sc_t (additive;
                  absent or 0 = the molecular diffusivity alone). Under a
                  turbulence model the scalar diffuses with Gamma + nu_t / Sc_t
                  on both cores (Fluent's default 0.7); the OpenFOAM referee
                  writes the function object's alphaD = Gamma / nu and alphaDt =
                  1 / Sc_t on the case's model. Without a turbulence model the
                  term is zero.
                type: number
            required:
              - name
              - diffusivity
            type: object
          type: array
        scheme:
          default: upwind
          description: >-
            Native momentum discretization: `upwind` (first-order, the pinned
            slice-1 default - existing result bytes unchanged) or
            `linear_upwind` (the oracle-matching arm: second-order linearUpwind
            grad(U) convection + simpleFoam's laminar dev2 transpose stress
            term). Hashed into the model - forks the result key. O1 adds
            `limited_linear_upwind`: the linearUpwind deferred correction under
            the van Leer TVD limiter (bounded second order) with the dev2 term.
            O1 slice 3 adds `quick` (the kappa = 1/2 quadratic upwind face
            value, unlimited; the OpenFOAM oracle's QUICK, the seat's quick) and
            `bounded_central` (central differencing inside the NVD monotone
            band, upwind outside - the LES scheme; the OpenFOAM oracle twins it
            with the plain central `linear`, the Fluent referee refuses it
            outside LES). O1 slice 4 adds `barth_jespersen` and
            `venkatakrishnan` (second-order upwind under the gradient limiter
            per cell and component - monotone; the OpenFOAM oracle's cellLimited
            / cellLimited<Venkatakrishnan> on grad(U); the seat's standard
            limiter for the first, the differentiable one refused) and `muscl`
            (Fluent's third-order MUSCL blend, theta = 1/8 central + 7/8
            second-order upwind; the OpenFOAM oracle's TVD MUSCL, the seat's
            third-order-muscl).
          enum:
            - upwind
            - linear_upwind
            - limited_linear_upwind
            - quick
            - bounded_central
            - barth_jespersen
            - venkatakrishnan
            - muscl
          type: string
        solid_zones:
          description: >-
            O2: conjugate heat transfer - solid zones inside the domain
            (materials 1.. with `box:` material_regions; the fluid is the
            `remainder`). Needs `energy`; the case solves on the POLYHEDRAL
            core: the solid cells are blocked for the flow (u = 0, p = 0, every
            fluid-solid face a no-slip wall) and ordinary cells for the energy
            equation with the harmonic face conductivity (the implicit coupled
            wall). Adds the metric solid_cells. Anchor: the channel under a
            conducting slab - the series-resistance profile and interface
            temperature exact. The OpenFOAM oracle names chtMultiRegionFoam as
            slice 2.
          items:
            properties:
              box:
                description: >-
                  [x0, y0, z0, x1, y1, z1] - the elements whose centre lies
                  inside belong to the zone.
                items:
                  type: number
                maxItems: 6
                minItems: 6
                type: array
              material:
                description: The zone's material (k / cp / rho; nu_fluid is forced to 0).
                type: object
            required:
              - material
              - box
            type: object
          type: array
        solver:
          $ref: '#/components/schemas/SolverBlock'
        solver_version:
          description: >-
            Pin a solver id: default empty = the pinned OpenFOAM v2412 oracle
            (env-gated WSL install); "native-cfd" = the native deterministic
            FVM+SIMPLE stack (required for moving-wall / enclosed cases).
          type: string
        sources:
          description: >-
            O13: volumetric sources (tag 15). A momentum source drives a
            periodic channel (plane Poiseuille u_max = S H^2 / 8 nu, second
            order under refinement); a heat source in a fluid at rest gives T -
            T0 = q z (H - z) / 2k with the wall heat balancing q V exactly; both
            cores.
          items:
            properties:
              bbox:
                description: >-
                  [x0, y0, z0, x1, y1, z1] - the cells whose centre lies inside;
                  absent = the whole domain.
                items:
                  type: number
                maxItems: 6
                minItems: 6
                type: array
              heat:
                description: Heat source per unit volume [W/m^3] (needs `energy`).
                type: number
              momentum:
                description: >-
                  Momentum source per unit mass {x, y, z} [m/s^2] (a body
                  force).
                type: object
            type: object
          type: array
        storage:
          $ref: '#/components/schemas/StoragePlacement'
        symmetry:
          description: >-
            O13: symmetry planes (axis face names, tag 16): zero normal velocity
            with its diffusion, zero normal gradient of everything else, no flux
            - never the inlet / outlet, a moving or thermal wall, or a periodic
            axis. Anchor: the half channel with a symmetry plane at the
            centreline is the full channel's lower half to 5e-4; both cores.
          items:
            type: string
          type: array
        time:
          description: >-
            O1: a transient solve (PISO / PIMPLE on the SIMPLE core; the inner
            solves converged tightly per step). Absent = the steady solve. Adds
            the field `time_history` (4 components per step: t, mean kinetic
            energy per unit mass, max speed, max CFL) and the metrics steps,
            t_end, cfl_max, dt_min, dt_max, kinetic_energy; the final fields are
            the state at t_end. Hashed into the model (forks the result key).
            Measured on Taylor-Green: second order in space, the coupled time
            order 1.9 (the consistent transient momentum interpolation is O1.b);
            the linear integrator second order (BDF2 Richardson ratio 3.9).
          properties:
            adaptive:
              description: >-
                Adaptive time stepping as a FIXED rule: dt_{n+1} = min(dt *
                growth, dt * target_cfl / cfl_n, max_dt); the march ends at
                end_time. Hashed with the case.
              properties:
                growth:
                  description: Growth cap per step, >= 1 (e.g. 1.2).
                  type: number
                max_dt:
                  type: number
                target_cfl:
                  type: number
              required:
                - target_cfl
                - max_dt
                - growth
              type: object
            coupling:
              description: >-
                `{"kind": "piso", "n_corr": 2}` (default) or `{"kind": "pimple",
                "n_outer": 3, "n_corr": 2}` (SIMPLE-relaxed outer iterations per
                step, the last unrelaxed).
              properties:
                kind:
                  enum:
                    - piso
                    - pimple
                  type: string
                n_corr:
                  type: integer
                n_outer:
                  type: integer
              type: object
            dt:
              description: Time step [s] (the initial step under `adaptive`).
              type: number
            end_time:
              default: 0
              description: End time [s] for the adaptive march.
              type: number
            n_steps:
              description: Number of steps (the cap under `adaptive`).
              type: integer
            scheme:
              default: euler
              description: >-
                Implicit Euler (first order) or BDF2 (second order; the first
                step Euler).
              enum:
                - euler
                - bdf2
              type: string
          required:
            - dt
            - n_steps
          type: object
        turbulence:
          description: >-
            O3: a RANS turbulence model on the case. Lifts the laminar Reynolds
            gate (Re_Dh <= 2000 without it); hashed into the model, so it forks
            the result key. Adds the fields cell_k, cell_epsilon | cell_omega,
            cell_nut, cell_yplus (y* of each wall-adjacent cell, 0 elsewhere),
            cell_wall_shear (kinematic tau_w of wall-adjacent cells) and the
            metrics res_k, res_w, yplus_min/max/mean, wall_shear_mean,
            yplus_warning (1 when any wall-adjacent y* leaves the standard wall
            function's validity [11.53, 300] - the result stands, the warning is
            typed). Native solver only in this release (solver_version:
            "native-cfd"); the OpenFOAM oracle adapter generates the matching
            simpleFoam RAS case.
          properties:
            intensity:
              description: >-
                Inlet turbulence intensity as a fraction of the inlet speed, in
                (0, 1] (e.g. 0.05).
              type: number
            length_scale:
              description: >-
                Inlet turbulent length scale [m]; 0.07 * D_h is the usual
                choice. k = 1.5 (I |u|)^2, epsilon = Cmu^0.75 k^1.5 / l, omega =
                sqrt(k) / (Cmu^0.25 l).
              type: number
            model:
              description: >-
                Standard k-epsilon (Launder-Spalding, standard wall functions),
                Menter k-omega SST (2003 form, blended omega wall function,
                k-based nu_t wall function), O3 slice 2: spalart_allmaras (the
                NASA TMR SA-noft2 form, nu_tilde_inlet = 3 nu, nu_tilde = 0 at
                walls, the wall shear from Spalding's law; runs on the
                polyhedral core - a box case routes there; adds cell_nu_tilde)
                and transition_sst (the Langtry-Menter gamma-Re_theta model on
                the SST, wall-resolved; adds cell_intermittency and
                cell_re_theta_t), and O3.b: les_wale (the WALE sub-grid model on
                the structured transient march - needs `time` and a
                three-dimensional box; the wall resolved). Slice 1 pins the
                standard wall functions (log law, kappa 0.4187, E 9.793, y*_lam
                11.53); `controls.wall_treatment` picks standard | scalable |
                enhanced for the k-based models on the polyhedral core (O3 slice
                2).
              enum:
                - k_epsilon
                - k_omega_sst
                - spalart_allmaras
                - transition_sst
                - les_wale
              type: string
          required:
            - model
            - intensity
            - length_scale
          type: object
        vof:
          description: >-
            O6: the volume-of-fluid two-phase flow (additive tag 21) on the
            transient march (`time` required): one velocity and pressure, the
            secondary phase's volume fraction alpha transported by an explicit
            sub-cycled (CFL 0.25) upwind + interface-compression flux bounded by
            Zalesak's FCT, the mixture density / viscosity in the mass-form
            momentum, gravity and the CSF surface tension as balanced face
            forces (a fluid at rest stays at rest with the exact hydrostatic
            pressure). Slice 1 is the enclosed box (walls / symmetry planes),
            laminar, isothermal, the neutral contact angle; open-channel inlets
            / outlets, a contact angle, turbulence, the energy equation and
            periodic axes name O6.2, the mixture / Eulerian / wet-steam models
            O6.b. The result carries `cell_alpha` and `cell_density`, the
            metrics alpha_volume0 / alpha_volume / alpha_min / alpha_max /
            vof_subcycles and the `vof_extent_history` blob (t, volume, the min
            / max x, y, z of the secondary phase per step).
          properties:
            compression:
              description: >-
                The interface compression coefficient c_alpha (1 = the pinned
                value).
              type: number
            contact_angle:
              description: >-
                The wall contact angle [deg]; slice 1 is the neutral 90 (the
                default).
              type: number
            gravity:
              description: Gravity [m/s2] (zero = none).
              properties:
                x:
                  type: number
                'y':
                  type: number
                z:
                  type: number
              type: object
            mu2:
              description: The secondary phase's dynamic viscosity [Pa s].
              type: number
            regions:
              description: >-
                The boxes [x0, y0, z0, x1, y1, z1] the secondary phase fills at
                t = 0 (a cell belongs by its centre).
              items:
                items:
                  type: number
                maxItems: 6
                minItems: 6
                type: array
              type: array
            rho2:
              description: >-
                The secondary phase's density [kg/m3] (the material is the
                primary phase).
              type: number
            sigma:
              description: The surface tension coefficient [N/m] (0 = none).
              type: number
          required:
            - rho2
            - mu2
            - regions
          type: object
        walls:
          description: >-
            P11 slice 2 moving-wall BCs (the cavity lid). Each wall's lid
            Reynolds |u|*L/nu must stay <= 2000. Enclosed cases (no
            inlet/outlet) need at least one nonzero entry. Native solver only
            (solver_version: "native-cfd") - the OpenFOAM oracle refuses moving
            walls typed.
          items:
            properties:
              frequency:
                default: 0
                description: >-
                  O1: oscillation frequency [Hz] - u_wall(t) = u cos(2 pi f t)
                  (Stokes' second problem). Needs a transient case (`time`); 0 =
                  the fixed wall velocity.
                type: number
              region:
                description: >-
                  Wall face (axis face-set name); must not be the inlet or
                  outlet face, nor an empty (2D) face.
                type: string
              velocity:
                description: >-
                  Tangential wall velocity [m/s] - zero component along the face
                  normal (and along any empty 2D axis), else a typed refusal.
                items:
                  type: number
                maxItems: 3
                minItems: 3
                type: array
            required:
              - region
              - velocity
            type: object
          type: array
        webhook:
          $ref: '#/components/schemas/WebhookSpec'
      required:
        - geometry
        - material
      type: object
    SolveResponse:
      properties:
        cached:
          description: True when served from the result_key cache
          type: boolean
        fields:
          additionalProperties:
            type: string
          description: >-
            Field name -> blob id. displacement: 3 components/node; von_mises:
            1/node. Fetch via /v1/blobs/{id}
          type: object
        kind:
          description: >-
            SC1: `result` on every preset but `preview`; a preview answers the
            PreviewKindResponse shape (result_id null)
          enum:
            - result
            - preview
          type: string
        metrics:
          additionalProperties:
            type: number
          description: max_von_mises [Pa], max_displacement [m], min_fos [-]
          type: object
        provenance:
          $ref: '#/components/schemas/Provenance'
        result_id:
          description: >-
            = result_key (b3:<64-hex>); null (a present null) when kind =
            preview
          type: string
        warnings:
          description: >-
            RC1.F1: typed warnings about the solve's inputs that did not stop
            it, e.g. MESH_QUALITY (degenerate or inverted elements in a snapped
            mesh; see mesh_opts.mesh_pillow). Absent when empty.
          items:
            properties:
              code:
                type: string
              message:
                type: string
            required:
              - code
              - message
            type: object
          type: array
      type: object
    ComputePlacement:
      description: >-
        Per-solve compute placement: a region and a machine class. Unset fields
        inherit the gateway default (/admin/environment). Requires a distributed
        deployment and forces async execution; placement never changes result
        bytes. A placement the deployment runs no pool for is refused (NO_POOL).
      properties:
        machine:
          description: machine class id, e.g. standard-2x, hpc-16x, gpu-l4-4x
          type: string
        provider:
          deprecated: true
          description: 'leave out: a solve is placed by region and machine'
          type: string
        region:
          description: a region id from /v1/catalog/compute (`regions`)
          type: string
      type: object
    GeometryIn:
      description: Exactly one of primitive | csg | mesh_blob | brep_blob | assembly
      properties:
        assembly:
          description: >-
            Assembly of part instances meshed into ONE welded body with per-part
            node sets (part:{id}) for S5 per-part scoping. Envelope:
            axis-aligned box parts under exact translation; exactly-coincident
            conforming faces weld node-identically; overlapping, non-conforming,
            or disconnected parts are typed refusals (no contact mechanics).
          items:
            properties:
              at:
                default:
                  - 0
                  - 0
                  - 0
                description: Exact translation [m] placing the part
                items:
                  type: number
                maxItems: 3
                minItems: 3
                type: array
              box:
                description: >-
                  Axis-aligned box at the origin, meters (the assembly meshing
                  envelope)
                properties:
                  lx:
                    type: number
                  ly:
                    type: number
                  lz:
                    type: number
                required:
                  - lx
                  - ly
                  - lz
                type: object
              id:
                description: >-
                  Unique part instance id; results tag the part:{id} node set
                  with it
                type: string
            required:
              - id
              - box
            type: object
          type: array
        brep_blob:
          description: 'BlobId of an uploaded CAD file: STL, or STEP on occt-enabled builds'
          type: string
        csg:
          $ref: '#/components/schemas/CsgNode'
        mesh_blob:
          description: BlobId of an uploaded SSMESH1 mesh
          type: string
        primitive:
          description: >-
            Exactly one of box | cylinder | sphere (curved primitives are meshed
            by the native B-rep kernel)
          properties:
            box:
              description: Axis-aligned box at the origin, meters
              properties:
                lx:
                  type: number
                ly:
                  type: number
                lz:
                  type: number
              required:
                - lx
                - ly
                - lz
              type: object
            cylinder:
              description: Right circular cylinder, axis +z
              properties:
                h:
                  type: number
                r:
                  type: number
              required:
                - r
                - h
              type: object
            sphere:
              description: Sphere centered at the origin
              properties:
                r:
                  type: number
              required:
                - r
              type: object
          type: object
      type: object
    Material:
      properties:
        cp:
          description: >-
            Specific heat capacity [J/(kg K)] (P5 transient thermal); omit or 0
            otherwise.
          type: number
        e:
          description: Young's modulus [Pa]
          example: 210000000000
          type: number
        hardening:
          description: >-
            Linear isotropic hardening modulus H [Pa] (P9.2 plasticity):
            post-yield uniaxial tangent modulus is E*H/(E+H); omit or 0 for
            perfectly plastic. Yield uses the yield field.
          example: 2000000000
          type: number
        hardening_af_gamma:
          description: >-
            Armstrong-Frederick dynamic-recovery coefficient gamma
            (dimensionless; P9.4 ratcheting): back stress evolves as beta_dot =
            (2/3)*H_kin*eps_p_dot - gamma*beta*p_dot, saturating at the uniaxial
            equivalent X_inf = H_kin/gamma, so unsymmetric stress cycles ratchet
            instead of arresting. Needs hardening_kin > 0 when nonzero; omit or
            0 for linear (Prager) kinematic hardening.
          example: 300
          type: number
        hardening_kin:
          description: >-
            Linear kinematic hardening modulus H_kin [Pa] (P9.3 cyclic
            plasticity): Prager back-stress translation of the yield surface -
            the Bauschinger effect on load reversal. Combines additively with
            hardening (identical monotonic response at the same total modulus;
            only reversal differs). Omit or 0 for none.
          example: 1500000000
          type: number
        id:
          example: steel
          type: string
        k:
          description: >-
            Thermal conductivity [W/(m·K)]; required (> 0) for thermal solves.
            Omitted/0 keeps pre-thermal model hashes unchanged.
          example: 45
          type: number
        nu:
          description: Poisson ratio (0 <= nu < 0.5)
          example: 0.3
          type: number
        rho:
          description: Density [kg/m^3]
          example: 7850
          type: number
        s_end:
          description: >-
            Endurance limit [Pa]: corrected amplitudes at or below it accumulate
            zero damage (P12 fatigue); omit or 0 for no cutoff.
          type: number
        s_ult:
          description: >-
            Ultimate tensile strength [Pa] (P12 fatigue, Goodman mean-stress
            denominator); omit or 0 otherwise.
          example: 400000000
          type: number
        sigma:
          description: >-
            Electrical conductivity [S/m] (the P3 Poisson coefficient); omit or
            0 for non-electro solves.
          type: number
        sigma_table:
          description: >-
            F11.b: the electrical conductivity against temperature, (T [K],
            sigma [S/m]) rows ascending (linear, clamped). Set on a
            thermal-electric solve it closes the loop electric -> Joule heat ->
            temperature -> conductivity (a Picard fixed point, metrics
            coupling_passes / coupling_residual, the per-element `conductivity`
            field); omit for the one-way solve. Additive on the canonical
            encoding (tag 25).
          example:
            - - 300
              - 10000
            - - 400
              - 20000
          items:
            items:
              type: number
            maxItems: 2
            minItems: 2
            type: array
          type: array
        sn_a:
          description: >-
            Basquin S-N coefficient A [Pa]: corrected amplitude S_ar = A*N^b at
            N cycles (P12 fatigue); required (> 0) for fatigue solves.
          example: 900000000
          type: number
        sn_b:
          description: >-
            Basquin S-N exponent b (< 0; P12 fatigue); required for fatigue
            solves.
          example: -0.1
          type: number
        strain_life:
          description: >-
            F10.b: the strain-life parameters the Fatigue Tool's Strain Life
            analysis reads - the Coffin-Manson-Basquin curve eps_a = sigma_f/E
            (2N)^b + eps_f (2N)^c and the cyclic Ramberg-Osgood curve eps =
            sigma/E + (sigma/k)^(1/n) (Neuber's rule takes the elastic stress to
            the local state; k = n = 0 keeps the cyclic curve elastic). Omit for
            stress life only; additive on the canonical encoding (tag 24).
          properties:
            b:
              description: Fatigue strength exponent b (< 0).
              example: -0.092
              type: number
            c:
              description: Fatigue ductility exponent c (< 0 when eps_f > 0).
              example: -0.445
              type: number
            eps_f:
              description: Fatigue ductility coefficient eps'_f (>= 0).
              example: 0.26
              type: number
            k:
              description: Cyclic strength coefficient K' [Pa]; 0 = elastic cyclic curve.
              example: 1258000000
              type: number
            'n':
              description: Cyclic strain hardening exponent n'; 0 = elastic cyclic curve.
              example: 0.208
              type: number
            sigma_f:
              description: Fatigue strength coefficient sigma'_f [Pa] (> 0).
              example: 948000000
              type: number
          required:
            - sigma_f
            - b
            - eps_f
            - c
          type: object
        yield:
          description: Yield strength [Pa]; used for min_fos
          example: 250000000
          type: number
      required:
        - id
        - e
        - nu
        - rho
        - yield
      type: object
    MeshOpts:
      properties:
        element_order:
          default: 1
          description: 1 = hex8, 2 = hex20 (C3D20-matched second-order elements)
          type: integer
        element_size:
          description: >-
            Target element size [m]; 0 = auto (~8 elements along the longest
            edge)
          type: number
        mesh_adapt:
          description: >-
            O12: CELL-level adaption boxes - every cell whose centre lies inside
            a box splits into eight children (levels 1..=2); the interfaces to
            unrefined neighbours carry hanging nodes, which the polyhedral
            topology reconciles into many-faced polyhedra, so the case solves on
            the O4 polyhedral core. The cfd domain only (the finite-element
            solvers need conforming meshes - typed 422 elsewhere); applied after
            every other mesh option. Absent keeps the params byte-identical;
            present forks the result key.
          items:
            properties:
              levels:
                default: 1
                description: >-
                  Refinement levels 1..=2 (each level splits the marked cells
                  into eight).
                type: integer
              max:
                description: Box upper corner [x, y, z] in mesh coordinates
                items:
                  type: number
                maxItems: 3
                minItems: 3
                type: array
              min:
                description: Box lower corner [x, y, z] in mesh coordinates
                items:
                  type: number
                maxItems: 3
                minItems: 3
                type: array
            required:
              - min
              - max
            type: object
          type: array
        mesh_conform:
          default: none
          description: >-
            K3d boundary conformance: "snap" projects the voxel mesh's surface
            nodes onto the exact B-rep boundary (opt-in; forks the result key).
            Absent/"none" keeps the plain voxel mesh byte-identical. "snap2"
            adds curved hex20 midsides (boundary-face edge midside nodes on the
            exact surface/edge curves; on healed imports, on the healed
            tessellation itself, whose chord sagitta is the honest accuracy
            floor).
          enum:
            - none
            - snap
            - snap2
          type: string
        mesh_layers:
          description: >-
            K3d boundary-fitted layers (slice 6): split the outermost element
            slab(s) along axis into geometrically graded sub-layers, thinnest at
            the wall (t1 = H*(g-1)/(g^n-1)), BEFORE the boundary snap. Requires
            mesh_conform "snap"|"snap2" and primitive geometry. Composes with
            mesh_refine (band refine first, then wall layers). Absent keeps the
            params hash and mesh byte-identical; present forks the result key.
          properties:
            axis:
              enum:
                - x
                - 'y'
                - z
              type: string
            first_height:
              description: >-
                O19.2 slice 2: the wall cell thickness [m] instead of a growth
                (the last-ratio / aspect-ratio offset methods) -- the mesher
                solves the growth per slab so the layers fill it, typed 422 when
                that growth leaves 1.0..=4.0; absent keeps the key
              exclusiveMinimum: 0
              type: number
            growth:
              description: >-
                Thickness ratio between successive layers; 1.0 = uniform (typed
                422 outside 1.0..=4.0)
              maximum: 4
              minimum: 1
              type: number
            layers:
              description: Sub-layers per boundary slab (typed 422 outside 2..=8)
              maximum: 8
              minimum: 2
              type: integer
            side:
              enum:
                - low
                - high
                - both
              type: string
          required:
            - axis
            - side
            - layers
            - growth
          type: object
        mesh_layers_more:
          description: >-
            O19.2: boundary-fitted layers on FURTHER axes, each graded after
            mesh_layers (the first axis) on the same tensor grid; every axis
            once; the box / csg routes (an imported mesh is named); absent keeps
            the key
          items:
            properties:
              axis:
                enum:
                  - x
                  - 'y'
                  - z
                type: string
              first_height:
                description: >-
                  O19.2 slice 2: the wall cell thickness [m] instead of a growth
                  (the last-ratio / aspect-ratio offset methods) -- the mesher
                  solves the growth per slab so the layers fill it, typed 422
                  when that growth leaves 1.0..=4.0; absent keeps the key
                exclusiveMinimum: 0
                type: number
              growth:
                description: >-
                  Thickness ratio between successive layers; 1.0 = uniform
                  (typed 422 outside 1.0..=4.0)
                maximum: 4
                minimum: 1
                type: number
              layers:
                description: Sub-layers per boundary slab (typed 422 outside 2..=8)
                maximum: 8
                minimum: 2
                type: integer
              side:
                enum:
                  - low
                  - high
                  - both
                type: string
            required:
              - axis
              - side
              - layers
              - growth
            type: object
          type: array
        mesh_midside_recovery:
          default: false
          description: >-
            K3d thin-cell slice: snap2 midside recovery on graded grids —
            failing thin cells prune only their fold-making midsides (largest
            displacement first) instead of reverting all, so the rest keep their
            exact on-surface placement. Requires mesh_conform "snap2" AND
            mesh_layers (typed 422 otherwise). Absent/false keeps the params
            hash and mesh byte-identical; true forks the result key.
          type: boolean
        mesh_octree:
          description: >-
            K3d octree slice: 2:1 balanced octree-structured refinement — the
            marked box's cells halve levels times in ALL THREE axes (conforming
            tensor transitions, balancing halo) BEFORE the boundary snap.
            Requires mesh_conform "snap"|"snap2"; does not compose with
            mesh_refine/mesh_layers (typed 422 — the multi-spec policy is a
            named residual). Absent keeps the params hash and mesh
            byte-identical; present forks the result key.
          properties:
            axis_levels:
              description: >-
                RC1.F1: refinement levels per axis [x, y, z] in place of
                `levels` in all three, e.g. [1, 1, 0] to refine only the axes a
                fillet varies along. Present forks the result key.
              items:
                minimum: 0
                type: integer
              maxItems: 3
              minItems: 3
              type: array
            levels:
              description: Halving rounds applied to the box (typed 422 outside 1..=3)
              maximum: 3
              minimum: 1
              type: integer
            max:
              description: Box upper corner [x, y, z] in mesh coordinates
              items:
                type: number
              maxItems: 3
              minItems: 3
              type: array
            min:
              description: Box lower corner [x, y, z] in mesh coordinates
              items:
                type: number
              maxItems: 3
              minItems: 3
              type: array
          required:
            - min
            - max
            - levels
          type: object
        mesh_pillow:
          default: false
          description: >-
            RC1.F1: one layer of hexes under the snapped faces (mesh_conform
            "snap"|"snap2"), its inner nodes smoothed, so a snapped fillet keeps
            no inverted or degenerate element. With mesh_octree the box is
            voxelized at the fine pitch. Refused typed where the layer cannot
            fit (a base grid off the part's flat faces with an octree box).
            Absent or false keeps the mesh and the key; true forks the result
            key. Without it, a snapped mesh with bad elements solves as before
            and its result carries mesh_degenerate_elements,
            mesh_min_scaled_jacobian and a MESH_QUALITY warning.
          type: boolean
        mesh_refine:
          description: >-
            K3d local refinement (slice 5): split every element layer the band
            touches into factor sub-bricks along axis BEFORE the boundary snap.
            Requires mesh_conform "snap"|"snap2" and primitive geometry
            (csg/mesh/brep refuse typed 422). Absent keeps the params hash and
            mesh byte-identical; present forks the result key.
          properties:
            axis:
              enum:
                - x
                - 'y'
                - z
              type: string
            band:
              description: '[min, max] in mesh coordinates'
              items:
                type: number
              maxItems: 2
              minItems: 2
              type: array
            factor:
              description: Sub-bricks per element along the axis (typed 422 outside 2..=4)
              maximum: 4
              minimum: 2
              type: integer
          required:
            - axis
            - band
            - factor
          type: object
        mesh_tets:
          default: false
          description: >-
            F4.b: tetrahedral elements — every brick of the mesh is split into
            six tets (the fixed body diagonal) and the structural / thermal
            solves assemble tet4 (element_order 1) or tet10 (element_order 2,
            midsides solver-internal); the mesh blob stays the brick mesh (same
            nodes, same sets). Absent/false keeps the params hash
            byte-identical; true forks the result key. The Tetrahedrons mesh
            Method lowers to it.
          type: boolean
        stress_recovery:
          default: centroid
          description: >-
            AS16: `extrapolated` adds the `von_mises_extrapolated` field: the
            von Mises stress recovered from the integration points — each
            element's 2×2×2 Gauss-point stress extrapolated (trilinearly) to its
            corners and averaged at shared nodes, so a surface bending stress is
            read at the surface — beside the element-centre `von_mises`
            (unchanged). Asked or not, a hex8 or hex20 solve (its corner field)
            reports that stress's peak as `max_von_mises_extrapolated` and
            stands `min_fos` on it (`min_fos_centroid` is the element-centre
            factor). Absent or `centroid` keeps the params byte-identical;
            `extrapolated` forks the result key.
          enum:
            - centroid
            - extrapolated
          type: string
      type: object
    SolverBlock:
      description: >-
        SC1: the `solver` block — HOW the equations are solved, never what the
        problem is. Absent, `preset: reference`, or a block equal to the
        domain's reference hashes as ABSENT (every pre-existing result key
        untouched); any keyed field forks the result key and the response names
        the `reference_key` the same body produces under `preset: reference`. A
        preset expands at request time to concrete fields (versioned:
        balanced@1, fast@1 …); explicit fields override the expansion field by
        field; two bodies that expand to the same block share a key (the preset
        NAME never enters the bytes). `device` and `reference` never enter the
        bytes. An arm this build or domain cannot serve is a typed 400
        SOLVER_REFUSED naming its unit — never a silent fallback. `preview` is a
        setting, not a result: the same body routes to the V tier and answers
        `kind: preview` with `result_id: null`.
      properties:
        device:
          description: who computes — never in the key (byte-exact device arms only; SC5)
          enum:
            - cpu
            - cuda
          type: string
        eigen:
          description: >-
            SC10.b: the eigen cases' `n_modes` as an ALIAS (modal, buckling,
            response spectrum, random vibration) under the same alias law as
            `nonlinear` (agree = one control and the same key, disagree =
            SOLVER_CONFLICT); a non-eigen domain refuses the block; never in the
            canonical bytes.
          properties:
            modes:
              maximum: 20
              minimum: 1
              type: integer
          type: object
        element:
          description: >-
            SC10.b: `mesh_opts.element_order` as an ALIAS (1 = hex8, 2 = hex20):
            lowered onto the mesh options when the request left the order at its
            default (the same key as spelling it there), SOLVER_CONFLICT when
            both are spelled and disagree.
          properties:
            order:
              enum:
                - 1
                - 2
              type: integer
          type: object
        linear:
          description: >-
            the linear solver family. SC1 arms: `pcg` forces the sparse PCG path
            under the dense ceiling on structural / thermal / electrostatics /
            thermal_structural / thermal_electric; on the CFD case `amg-pcg`
            (reference) | `pcg` (+ precond jacobi) select the pressure solver.
            SC2 arms on `nonlinear_static` and the `dynamic` case's nonlinear
            march: `amg-pcg` forces the sparse Newton route under the dense
            ceiling (above it that route IS the reference — the truth path's
            last dense wall is gone), `newton-krylov` runs it with the
            Eisenstat–Walker forcing term. The rest name their unit (SC2 slice 2
            / SC10). Y4.b (2026-10-15): `ams-gmres` on em_driven - restarted
            GMRES under the auxiliary-space (Hiptmair-Xu) preconditioner on the
            sparse cell pattern, the arm past the banded factor's cap (the IEEE
            1528 grids finer than 7.5 mm); a forked key, the banded LDLT the
            reference; metrics iterative_iterations / iterative_max.
          enum:
            - auto
            - direct
            - pcg
            - amg-pcg
            - bicgstab
            - minres
            - newton-krylov
            - ams-gmres
          type: string
        max_iters:
          description: >-
            the iteration cap (CFD: controls.max_iterations; the PCG families'
            100000 is keyed with SC10); on the nonlinear marches the sparse
            Newton route's PCG cap (reference 100000, keyed when it differs)
          type: integer
        nonlinear:
          description: >-
            SC10 slice 2: the Newton march's controls as ALIASES of the case's
            own fields (`n_increments`, `newton.max_iters` / `rtol` /
            `line_search`) - byte-identical: the gateway lowers each onto the
            case, a disagreement with the case's spelling is a typed 400
            SOLVER_CONFLICT, and the sub-block never enters the canonical bytes
            (an agreeing alias is the same result_id). Valid on
            `nonlinear_static` only.
          properties:
            increments:
              minimum: 1
              type: integer
            line_search:
              type: boolean
            max_iters:
              minimum: 1
              type: integer
            rtol:
              exclusiveMinimum: 0
              type: number
          type: object
        operator:
          description: >-
            assembled = the reference (the upper-CSR stiffness / conductivity);
            SC4 matrix-free on structural / thermal / thermal_structural (needs
            the iterative arm: `linear: pcg` under the dense ceiling): nothing
            assembled — the mesh's DISTINCT brick kernels (one on a uniform box;
            a handful on an octree mesh) applied element by element, memory ~10×
            down, block-Jacobi / Jacobi from the kernels' diagonals, a fixed
            summation order (thread-invariant; forks the key);
            `linear_operator_kernels` in metrics; SC4 slice 2: a distorted
            element (snapped / CSG-cut meshes) is applied as a CELL — its
            inverse Jacobian and detJ at the eight Gauss points, Bᵀ D B on the
            fly (`linear_operator_cells`); `precision: f32 | mixed` ride the
            operator through its fp32 kernel twins (the mixed arm's floor-aware
            stop included); prescribed displacements and springs ride it too;
            connections (SC4.b) and the device operator (SC5) do not yet.
          enum:
            - assembled
            - matrix-free
          type: string
        precision:
          description: >-
            f64 = the reference; SC3 on structural / thermal /
            thermal_structural (needs the iterative arm: `linear: pcg` under the
            dense ceiling): f32 = the fp32 kernels (f32 storage and vectors, f64
            chunked reductions — thread-invariant; reaches a relative residual
            of 1e-6 at most, so a tighter tolerance refuses typed; the achieved
            f64 residual in metrics `linear_residual_rel`), mixed = iterative
            refinement (the fp32 kernels solve the increment on the f64 defect,
            the f64 update, repeated to the f64 tolerance — an f64-accurate
            answer from fp32 kernels; `linear_refinements` and
            `linear_residual_rel` in metrics; a refinement that fails to halve
            the residual refuses typed); on the CFD case f32 = the S4 arm
            (forks). electrostatics / thermal_electric: SC3 slice 2.
          enum:
            - f64
            - f32
            - mixed
          type: string
        precond:
          description: >-
            the preconditioner; the reference is block-jacobi (3-dof) / jacobi
            (scalar) / amg (CFD pressure). Keyed variants land with SC10.
          enum:
            - none
            - jacobi
            - block-jacobi
            - ilu0
            - amg
          type: string
        preset:
          description: >-
            reference = today's bytes (the absence of an option); balanced = an
            f64 result on a keyed path (SC1: PCG at 1e-6 on the FEA families,
            looser residuals on the CFD case); fast = the fastest arm the
            machine serves (SC1: = balanced on the FEA families until SC3/SC4;
            f32 + looser residuals on the CFD case); preview = the V tier, kind:
            preview, result_id: null
          enum:
            - reference
            - balanced
            - fast
            - preview
          type: string
        reduction:
          description: >-
            reduced-order models (SC8). Slice 1: `{kind: modal, modes: N}` on
            the harmonic sweep — the response in the span of the N retained
            mass-normalised modes (q_j = φ_jᵀ f / (ω_j² − ω² + iω(α + β ω_j²))),
            forks the key, with its certificate in metrics: `reduction_f_max_hz`
            (the sweep's f_end must stay under 80 % of it — typed otherwise),
            `reduction_static_capture` (Σ (φ_jᵀ f)² / ω_j² over fᵀ K⁻¹ f — the
            fraction of the static load's strain energy the retained modes
            carry; 1 = the full basis),
            `reduction_effective_mass_ratio_{x,y,z}`; the error against the full
            sweep is measured under `reference: await`. The transient march,
            craig-bampton (F12's substructuring) and the hex20 sweep are slice
            2; pod slice 3. Slice 2 (2026-10-15): `{kind: modal | craig-bampton,
            modes: N, interface}` on the dynamic march - the Newmark step in the
            retained subspace with the static-capture certificate in
            `provenance.solver.report` (error <= 2(1 - capture) + 0.02 pinned on
            the bar).
          properties:
            interface:
              description: >-
                SC8 slice 2: the Craig-Bampton interface set on the transient
                march - `loaded` keeps the loaded nodes' dofs as the boundary
                set (capture 1.000 on the bar), `constrained` the supports';
                `none` is the modal arm. Spelled at its reference it never
                enters the key.
              enum:
                - none
                - loaded
                - constrained
              type: string
            kind:
              enum:
                - none
                - modal
                - craig-bampton
                - pod
              type: string
            modes:
              type: integer
          type: object
        reference:
          description: >-
            what else is computed beside a forked answer: none (default) returns
            the reference_key only; background queues the reference solve after
            the answer returns; await solves both and the answer's provenance
            carries the measured error. Never in the key; needs a synchronous
            solve.
          enum:
            - none
            - background
            - await
          type: string
        relaxation:
          description: >-
            the CFD case's under-relaxation (aliases controls.urf_momentum /
            urf_pressure, reference 0.7 / 0.3)
          properties:
            momentum:
              type: number
            pressure:
              type: number
          type: object
        sim:
          description: >-
            the rigid-body sub-block with the vendor-mapped names (SC6 / SC7).
            PGS is the reference. SC6 slice 1 (live, each forking the rollout
            through its frames): `early_out` — a relative residual tolerance on
            the contact rows (stop the impulse loop once the largest
            normal-impulse change of an iteration falls under early_out × the
            largest accumulated normal impulse; 0 = the reference's fixed count;
            `solver_iterations` on the rollout is the evidence),
            `position_iters` — positional correction passes after the
            integration (0 = none), `cone: elliptic` — the accumulated tangent
            pair projected onto the circular cone instead of the pyramidal box,
            `iters` — aliases the scene's `solver_iters` (equal = the same
            control, different = a typed conflict). SC7 slice 1 (live): `method:
            xpbd` — the position-based march (contacts as non-penetration rows
            with positional static friction and a velocity pass for restitution
            and dynamic friction, ball / distance joints as rigid attachment
            rows, substep-native, fixed row order; composes with none of the PGS
            loop's controls or the warm start; revolute / prismatic / fixed
            joints under it are SC7 slice 2, soft bodies slice 2, `method:
            projective` slice 3). SC6 slice 2: `method: tgs` (substep-split),
            `contact: soft {solref, solimp}`, `integrator: implicit-fast`.
          properties:
            cone:
              enum:
                - pyramidal
                - elliptic
              type: string
            contact:
              properties:
                friction:
                  description: >-
                    SC6.b: the friction rows' law — rigid (the default: Coulomb
                    rows bounded by mu lambda_n) or soft (MuJoCo's regularised
                    friction: the rows take the normal row's impedance on their
                    effective mass and the -b v damping target, so a loaded
                    contact creeps at a_t (1 - h b) / b). soft needs kind soft.
                  enum:
                    - rigid
                    - soft
                  type: string
                kind:
                  type: string
                solimp:
                  items:
                    type: number
                  type: array
                solref:
                  items:
                    type: number
                  type: array
              type: object
            early_out:
              type: number
            integrator:
              enum:
                - semi-implicit
                - implicit-fast
                - rk4
              type: string
            iters:
              type: integer
            method:
              enum:
                - pgs
                - tgs
                - xpbd
                - projective
              type: string
            position_iters:
              type: integer
          type: object
        time:
          description: >-
            SC10 slice 2: the transient march's controls as ALIASES of the
            case's `n_steps` / `t_end` / `newmark_beta` + `newmark_gamma` under
            the same alias law as `nonlinear` (agree = the same key, disagree =
            SOLVER_CONFLICT), plus `restart_from`. Valid on `dynamic` only.
          properties:
            newmark:
              description: '[beta, gamma]'
              items:
                type: number
              maxItems: 2
              minItems: 2
              type: array
            restart_from:
              description: >-
                a cached dynamic result_id whose final displacement and velocity
                become this march's start state (the O9 `initial_state` restart,
                lowered before the block); the state's values carry the key, the
                name does not; a non-dynamic key, a request with its own start
                state or a non-dynamic domain refuse typed.
              type: string
            steps:
              minimum: 1
              type: integer
            t_end:
              exclusiveMinimum: 0
              type: number
          type: object
        tolerance:
          description: >-
            the iterative arm's relative residual: on the PCG families ‖r‖ ≤ tol
            ‖b‖ (reference 1e-12; enters the key only when it differs; a keyed
            tolerance on a model the ceiling routes to dense Cholesky refuses
            typed — set linear: pcg); on the CFD case t lowers to
            controls.residual_p = t, residual_u = t / 10 (reference 1e-5); on
            the nonlinear marches (nonlinear_static, the dynamic case's
            nonlinear march) the sparse Newton route's linear relative residual
            on the AMG-PCG's normalised residual (reference 1e-12; a keyed value
            on a model the ceiling routes to dense Cholesky refuses typed — set
            linear: amg-pcg)
          type: number
        warm_start:
          description: >-
            SC1 slice 2 (speed-ladder rung 1): seed the PCG from a cached result
            on the SAME mesh — the one `warm_start_key` names, else the nearest
            (the most recent succeeded run of the same solver and domain on this
            mesh carrying the seed field; typed when none exists: a warm start
            never falls back to a cold one). structural / thermal_structural
            seed from a displacement, thermal from a temperature, electrostatics
            from a potential, thermal_electric from the potential then the
            temperature (SC1 slice 3; the prescribed / spring / connection cases
            and the radiation fixed point take the seed too); needs the
            iterative arm (`linear: pcg` under the dense ceiling — a seed on the
            dense route refuses typed). Forks the key: the seed key enters the
            bytes.
          type: boolean
        warm_start_key:
          description: >-
            SC1 slice 2: the result key the warm start seeds from
            (`b3:<64-hex>`). Set by the engine to the nearest cached key when
            absent; given explicitly it must be a cached result of this solver
            and domain on this mesh (typed otherwise). Reported in
            provenance.solver.expanded; the same body seeded from two keys is
            two keys.
          type: string
      type: object
    StoragePlacement:
      description: >-
        Per-solve storage placement, beside `compute`: where this solve's blobs
        (the model document, the mesh, the fields, the log, the trace) are
        written. Placement never changes result bytes or the `result_key`; the
        run record and the provenance carry the instance id, and a verify
        re-solve writes to the same place. A read by key (`GET /v1/blobs/{id}`)
        finds the bytes in whichever instance holds them.
      properties:
        blobs:
          description: >-
            A blob storage instance id (`si_…`, `GET /v1/storage.instances`).
            Omitted = the org's default (`PUT /v1/storage.defaults`), else the
            engine's own store. 404 `STORAGE_NOT_FOUND` when your org may not
            use it, 409 `STORAGE_READ_ONLY` when it is retired.
          type: string
      type: object
    WebhookSpec:
      description: >-
        SD5: a signed webhook on an async job's completion — one POST of the
        finished job record to `url` with `x-eddy-signature: blake3=<hex>` (a
        keyed BLAKE3 MAC over the body, the key derived from `secret`),
        `x-eddy-job` and `x-eddy-event` (done | error); three attempts with
        backoff, logged on the job record under `webhook`. A sync solve answers
        inline and carries no webhook.
      properties:
        secret:
          description: >-
            The shared secret the signature is keyed with; empty = the empty key
            (treat as unsigned).
          type: string
        url:
          type: string
      required:
        - url
      type: object
    Provenance:
      properties:
        model_hash:
          type: string
        report_uri:
          type: string
        result_key:
          type: string
        runtime_profile:
          type: string
        solver:
          $ref: '#/components/schemas/SolverProvenance'
        solver_build_hash:
          type: string
        solver_id:
          type: string
        solver_version:
          type: string
        storage:
          description: >-
            The blob storage instance (`si_…`) the run's blobs were written to;
            absent when they are in the engine's own store.
          type: string
      type: object
    ErrorEnvelope:
      properties:
        error:
          properties:
            code:
              enum:
                - INVALID_GEOMETRY
                - MESH_FAILED
                - SOLVE_DIVERGED
                - RESOURCE_LIMIT
                - UNKNOWN_SOLVER
                - UNAUTHORIZED
                - FORBIDDEN
                - NOT_FOUND
                - STORE_ERROR
                - INTERNAL
                - INVALID_KEY_NAME
                - RATE_LIMITED
                - LIVE_RATE
                - SESSION_LIMIT
                - SCOPE_DENIED
                - CREDITS_EXHAUSTED
                - INVALID_LIMITS
              type: string
            message:
              type: string
          type: object
      type: object
    CsgNode:
      description: >-
        Boolean composition of primitives (K-track kernel). A leaf wraps a
        primitive; an operation composes two subtrees. Evaluated by exact
        analytic point classification — deterministic by construction. Max depth
        16.
      examples:
        - a:
            prim:
              box:
                lx: 1
                ly: 0.6
                lz: 0.1
          b:
            prim:
              cylinder:
                h: 0.1
                r: 0.1
          op: difference
      oneOf:
        - description: 'Leaf: a primitive solid'
          properties:
            prim:
              description: >-
                Same shape as geometry.primitive: exactly one of box | cylinder
                | sphere
              type: object
          required:
            - prim
          type: object
        - description: 'Operation: a OP b (difference = a minus b)'
          properties:
            a:
              $ref: '#/components/schemas/CsgNode'
            b:
              $ref: '#/components/schemas/CsgNode'
            op:
              enum:
                - union
                - difference
                - intersection
              type: string
          required:
            - op
            - a
            - b
          type: object
    SolverProvenance:
      description: 'SC1: present when the request carried a `solver` block.'
      properties:
        determinism:
          enum:
            - any-machine
            - same-device-class
            - none
          type: string
        expanded:
          $ref: '#/components/schemas/SolverBlock'
          description: every field resolved for the domain
        forks_key:
          type: boolean
        preset:
          description: the preset tag with its version, e.g. balanced@1
          type: string
        reference_error:
          additionalProperties:
            $ref: '#/components/schemas/FieldError'
          description: field-wise error against the cached reference
          type: object
        reference_key:
          description: >-
            the key of the same body under preset reference — a content address,
            present before the reference has run
          type: string
        reference_status:
          enum:
            - reference
            - none
            - cached
            - queued
          type: string
        report:
          description: >-
            SC10 slice 1: the solver report — `log` (the worker's route line
            with its iteration counts), `linear_iterations` (parsed from it),
            `counts` (every iteration / residual / refinement / reduction metric
            the solve recorded); per-iteration histories and the streamed form
            are slice 2
          properties:
            counts:
              additionalProperties:
                type: number
              type: object
            linear_iterations:
              type: number
            log:
              type: string
          type: object
        requested:
          $ref: '#/components/schemas/SolverBlock'
          description: >-
            the block as normalised at the gateway (the preset, the keyed
            fields, the carriers, the resolved domain)
      type: object
    FieldError:
      properties:
        max_abs:
          type: number
        max_rel:
          description: max |a − r| / max |r|
          type: number
        rel_l2:
          description: ‖a − r‖₂ / ‖r‖₂
          type: number
      type: object
  responses:
    TypedError:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
      description: Typed error — never a bare 500
  securitySchemes:
    apiKey:
      description: Required when the deployment sets SS_REQUIRE_AUTH=1
      in: header
      name: x-api-key
      type: apiKey

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.