EEqn.H
Go to the documentation of this file.
1 {
3  (
4  fvm::ddt(rho, e) + fvm::div(phi, e)
5  + fvc::ddt(rho, K) + fvc::div(phi, K)
6  + fvc::div(fvc::absolute(phi/fvc::interpolate(rho), U), p, "div(phiv,p)")
7  - fvm::laplacian(turbulence->alphaEff(), e)
8  ==
9  fvOptions(rho, e)
10  );
11 
12  EEqn.relax();
13 
14  fvOptions.constrain(EEqn);
15 
16  EEqn.solve();
17 
18  fvOptions.correct(e);
19 
20  thermo.correct();
21 }
autoPtr< compressible::turbulenceModel > turbulence
Definition: createFields.H:23
surfaceScalarField & phi
fvMatrix< scalar > fvScalarMatrix
Definition: fvMatricesFwd.H:42
U
Definition: pEqn.H:83
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
Definition: fvcDiv.C:47
fvScalarMatrix EEqn(fvm::ddt(rho, he)+mvConvection->fvmDiv(phi, he)+fvc::ddt(rho, K)+fvc::div(phi, K)+(he.name()=="e"?fvc::div(fvc::absolute(phi/fvc::interpolate(rho), U), p,"div(phiv,p)"):-dpdt)-fvm::laplacian(turbulence->alphaEff(), he)==reaction->Sh()+fvOptions(rho, he))
tmp< surfaceScalarField > interpolate(const RhoType &rho)
tmp< GeometricField< Type, fvPatchField, volMesh > > laplacian(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
Definition: fvcLaplacian.C:45
CGAL::Exact_predicates_exact_constructions_kernel K
fv::options & fvOptions
tmp< GeometricField< Type, fvPatchField, volMesh > > ddt(const dimensioned< Type > dt, const fvMesh &mesh)
Definition: fvcDdt.C:45
psiReactionThermo & thermo
Definition: createFields.H:31
const dimensionedScalar e
Elementary charge.
Definition: doubleFloat.H:78
tmp< surfaceScalarField > absolute(const tmp< surfaceScalarField > &tphi, const volVectorField &U)
Return the given relative flux in absolute form.
Definition: fvcMeshPhi.C:188
volScalarField & p