OpenFOAM
7
The OpenFOAM Foundation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
hEqn.H
Go to the documentation of this file.
1
if
(
constProp
!=
"temperature"
)
2
{
3
volScalarField
&
h
=
thermo
.he();
4
5
if
(
constProp
==
"volume"
)
6
{
7
h[0] =
u0
+
p
[0]/
rho
[0] +
integratedHeat
;
8
}
9
else
10
{
11
h[0] =
h0
+
integratedHeat
;
12
}
13
14
thermo
.correct();
15
}
rho
rho
Definition:
readInitialConditions.H:91
integratedHeat
scalar integratedHeat
Definition:
readInitialConditions.H:97
thermo
rhoReactionThermo & thermo
Definition:
createFields.H:28
Foam::volScalarField
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Definition:
volFieldsFwd.H:52
u0
scalar u0
Definition:
readInitialConditions.H:93
constProp
const word constProp(initialConditions.lookup("constantProperty"))
h
volScalarField & h
Planck constant.
Definition:
setRegionSolidFields.H:27
p
volScalarField & p
Definition:
createFieldRefs.H:12
h0
const scalar h0
Definition:
readInitialConditions.H:81
applications
solvers
combustion
chemFoam
hEqn.H
Generated by
1.8.13