Equations of State and Caloric Models
Formulation convention. NeuralFlow evaluates thermodynamic material states primarily from pressure and temperature. The equations below reproduce the active ideal-gas, stiffened-gas and constant-density closures used by the current carrier and homogeneous-VOF material-state paths.
Thermodynamic state and notation
For a fluid material, the primitive thermodynamic state is described by static pressure
The total specific energy stored by the compressible finite-volume formulation is
For pressure-based derivatives used in the coupled Jacobian, NeuralFlow requires the thermodynamic sensitivities
Ideal-gas EOS
For a single ideal-gas material with molecular weight
The density derivatives are therefore
The caloric relation is evaluated through the configured heat capacity. In the ideal-gas path,
For a calorically perfect ideal gas with constant heat capacities and a zero sensible-energy reference, this reduces to
The acoustic speed used by the material closure is
Stiffened-gas EOS
The stiffened-gas model introduces a pressure offset
The currently validated NeuralFlow stiffened-gas material state requires constant
The pressure-temperature form of the EOS is
NeuralFlow also exposes the equivalent density/internal-energy form
With the current constant-
This identity is important for liquids modeled as weakly compressible stiffened gases: the pressure offset contributes to internal energy even when
The exact density derivatives used by the material-state Jacobian are
Because NeuralFlow defines
The stiffened-gas sound speed follows from the shifted thermodynamic pressure,
The admissible state must satisfy
Constant-density incompressible closure
For the constant-density material model, density is a material constant rather than a thermodynamic unknown:
The material caloric path sets
No finite physical acoustic speed is manufactured from this closure. NeuralFlow therefore uses the artificial-compressibility formulation for a carrier or homogeneous mixture that is entirely constant density.
Heat-capacity and enthalpy models
For a constant heat capacity, the active material evaluator uses
For a polynomial range
The corresponding integrated enthalpy evaluator is
Outside the complete tabulated temperature interval, the current property path clamps evaluation to the nearest endpoint rather than extrapolating the polynomial indefinitely.
Total-state relations
For ideal and stiffened gases the total temperature relation used by the material model is
For an ideal gas, the isentropic total-pressure relation is
For a stiffened gas the same relation is applied to the shifted pressure:
The entropy-like isentropic invariant used by the material class has the common form
for a stiffened gas, with
Primitive-to-conservative thermodynamic Jacobian
For a compact compressible carrier state
For the total-energy density,
These relations explain why a thermodynamic model in NeuralFlow is more than a density formula: consistent derivatives propagate directly into the fully coupled implicit block.
Embedding the EOS in homogeneous VOF
Every VOF constituent is evaluated at the common
At fixed phase mass fractions, the mixture density sensitivities are
With
This uses the constituent EOS derivatives directly; NeuralFlow does not obtain
Model selection and admissibility
The compressible material-state path accepts ideal-gas and stiffened-gas closures; constant-density materials use the artificial-compressibility branch when the complete active carrier/VOF composition is incompressible. The dilute Eulerian particle phase has a separate pressureless/regularized formulation and should not be interpreted as another carrier thermodynamic EOS.
Before a material state is accepted, density, heat capacities and thermodynamic derivatives are required to be finite and physically admissible. This validation is especially important for stiffened-gas states because a numerically positive static pressure alone does not guarantee