Skip to main content

Perfect fluid

Density, ρ\rho [kg/m3^3]

ρ=ρ0+pRT\rho = \rho_0 + \frac{p}{R T}

Entropy, SS [J/kg/K ]

S=Rln(ppstd)S = -R \ln \left( \frac{p}{p_{\std}} \right)

Compressibility, ψ\psi [s2^2/m2^2]

ψ=1RT\psi = \frac{1}{R T}

Usage

The perfectFluid equation of state is specified as:

equationOfState
{
R <scalar>;
rho0 <scalar>;
}

Where

  • R : Fluid constant [J/kg/K]
  • rho0 : Reference density [kg/m3^3]

Further information

Source code