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
psiChemistryModel & chemistry
Definition: createFields.H:29
solve
rhoEqn solve()
Y
Y[inertIndex]
Definition: YEqn.H:51
Foam::volScalarField
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Definition: volFieldsFwd.H:52
mesh
dynamicFvMesh & mesh
Definition: createDynamicFvMesh.H:18
rho
rho
Definition: pEqn.H:3
Foam::fvc::ddt
tmp< GeometricField< Type, fvPatchField, volMesh > > ddt(const dimensioned< Type > dt, const fvMesh &mesh)
Definition: fvcDdt.C:45
forAll
forAll(Y, i)
Definition: YEqn.H:18