OpenFOAM: API Guide
v2112
The open source CFD toolbox
YEqn.H
Go to the documentation of this file.
1
{
2
forAll
(
Y
, specieI)
3
{
4
volScalarField
& Yi =
Y
[specieI];
5
6
solve
7
(
8
fvm::ddt(
rho
, Yi) -
chemistry
.RR(specieI),
9
mesh
.solver(
"Yi"
)
10
);
11
}
12
}
chemistry
BasicChemistryModel< psiReactionThermo > & chemistry
Definition:
createFieldRefs.H:1
Y
PtrList< volScalarField > & Y
Definition:
createFieldRefs.H:7
mesh
dynamicFvMesh & mesh
Definition:
createDynamicFvMesh.H:6
Foam::volScalarField
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Definition:
volFieldsFwd.H:82
rho
rho
Definition:
readInitialConditions.H:88
solve
CEqn solve()
forAll
#define forAll(list, i)
Loop across all elements in list.
Definition:
stdFoam.H:333
applications
solvers
combustion
chemFoam
YEqn.H
Generated by
1.9.5
OPENFOAM® is a registered
trademark
of OpenCFD Ltd.