The OpenFOAM Foundation
EaEqn.H
Go to the documentation of this file.
1 {
2  volScalarField& hea = thermo.he();
3
5  (
6  betav*fvm::ddt(rho, hea) + mvConvection->fvmDiv(phi, hea)
8  + (
9  hea.name() == "ea"
10  ? fvc::div
11  (
13  p,
14  "div(phiv,p)"
15  )
16  : -betav*dpdt
17  )
18  - fvm::laplacian(Db, hea)
19  );
20
21  thermo.correct();
22 }
volScalarField & dpdt
CGAL::Exact_predicates_exact_constructions_kernel K
const volScalarField & betav
tmp< GeometricField< Type, fvPatchField, volMesh > > laplacian(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
Definition: fvcLaplacian.C:45
tmp< surfaceScalarField > interpolate(const RhoType &rho)
tmp< GeometricField< Type, fvPatchField, volMesh > > ddt(const dimensioned< Type > dt, const fvMesh &mesh)
Definition: fvcDdt.C:45
solve(betav *fvm::ddt(rho, hea)+mvConvection->fvmDiv(phi, hea)+betav *fvc::ddt(rho, K)+fvc::div(phi, K)+( hea.name()=="ea" ?fvc::div ( phi/fvc::interpolate(rho), p, "div(phiv,p)" ) :-betav *dpdt )-fvm::laplacian(Db, hea))
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Definition: volFieldsFwd.H:52
volScalarField & p
Definition: createFields.H:51
volScalarField Db("Db", turbulence->muEff())
surfaceScalarField & phi
tmp< fv::convectionScheme< scalar > > mvConvection(fv::convectionScheme< scalar >::New( mesh, fields, phi, mesh.divScheme("div(phi,Yi_h)") ))
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
Definition: fvcDiv.C:47
psiReactionThermo & thermo
Definition: createFields.H:32