Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Solver manual

This manual describes every analysis FieldCraft solves with its own solvers: what each one computes, the equations and algorithms behind it, its parameters and output, how it is verified and where its limits are. Each page follows the same order: synopsis, parameters, theory, algorithm, output, verification, limitations, implementation and references.

Analyses

A step’s procedure decides which solver runs it. solve.run solves every step in order; each solve.* command solves one.

ProcedureCommandSolverPrecisionPage
staticsolve.staticSparse direct, crates/solverf64, CPULinear static
coupled_temperature_displacementsolve.staticSparse direct, crates/solverf64, CPUHeat transfer
frequencysolve.frequencyEigenvalue solver, crates/solverf64, CPUNatural frequencies
bucklesolve.buckleEigenvalue solver, crates/solverf64, CPULinear buckling
heat_transfersolve.heatSparse direct, crates/solverf64, CPUHeat transfer
nonlinear_staticsolve.nonlinearNewton iterations, crates/solverf64, CPUNonlinear static
explicit_dynamicsolve.explicitCentral differences, crates/explicitf64, CPUExplicit dynamics
fluidsolve.fluidLattice Boltzmann, crates/lbm, crates/lbm-gpuf64 on the CPU, f32 on the GPULattice Boltzmann flow

The structural pages that apply to several procedures: elements, materials, contact, constraints and connectors and linear solvers. The fluid pages: collision operators, boundary conditions, turbulence, large-eddy simulation, heat transfer, fans and vents, free surface, steady state and averaging, the GPU backend and fluid results.

Conventions

  • Units. The model, the solvers and their results are in SI. Command parameters, replies, forms and decks convert through the model’s display units (Units).
  • Determinism. The same model gives the same result bit for bit on every platform for the CPU solvers, whatever the thread count. The GPU backend is deterministic on a given device and is checked against the CPU within a stated tolerance.
  • Bounded work. Every iterative algorithm has explicit caps on iterations, increments and size, and reports when it stops early. A solve that cannot proceed returns an error that names the cause and leaves the model unchanged.
  • Verification. Every capability is checked three ways: against theory (closed-form solutions and patch tests), against experiments, and against published benchmarks. Once a result matches its reference within the stated tolerance it is frozen as a fixture, so a later change that moves it fails CI (Verification and validation, Oracle results).
  • Sources. Every method is implemented from the published papers each page cites, collected in the solver literature.