hEqn.H
Go to the documentation of this file.
1 {
2  volScalarField& h = thermo.he();
3 
4  if (constProp == "volume")
5  {
6  h[0] = u0 + p[0]/rho[0] + integratedHeat;
7  }
8  else
9  {
10  h[0] = h0 + integratedHeat;
11  }
12 
13  thermo.correct();
14 }
scalar integratedHeat
rhoReactionThermo & thermo
Definition: createFields.H:28
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Definition: volFieldsFwd.H:52
scalar u0
const word constProp(initialConditions.lookup("constantProperty"))
volScalarField & p
const scalar h0