mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
15 lines
215 B
C
15 lines
215 B
C
{
|
|
volScalarField& h = thermo.he();
|
|
|
|
if (constProp == "volume")
|
|
{
|
|
h[0] = u0 + p[0]/rho[0] + integratedHeat;
|
|
}
|
|
else
|
|
{
|
|
h[0] = h0 + integratedHeat;
|
|
}
|
|
|
|
thermo.correct();
|
|
}
|