OpenFOAM
4.1
The OpenFOAM Foundation
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
applications
solvers
combustion
chemFoam
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
}
integratedHeat
scalar integratedHeat
Definition:
readInitialConditions.H:102
Foam::volScalarField
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Definition:
volFieldsFwd.H:52
thermo
psiReactionThermo & thermo
Definition:
createFields.H:31
u0
scalar u0
Definition:
readInitialConditions.H:98
constProp
word constProp(initialConditions.lookup("constantProperty"))
rho
rho
Definition:
readInitialConditions.H:96
p
volScalarField & p
Definition:
createFieldRefs.H:4
h0
scalar h0
Definition:
readInitialConditions.H:86
Generated by
1.8.11