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 }
CGAL::Exact_predicates_exact_constructions_kernel K
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)
autoPtr< compressible::turbulenceModel > turbulence
Definition: createFields.H:23
tmp< GeometricField< Type, fvPatchField, volMesh > > ddt(const dimensioned< Type > dt, const fvMesh &mesh)
Definition: fvcDdt.C:45
fv::IOoptionList & fvOptions
fvMatrix< scalar > fvScalarMatrix
Definition: fvMatricesFwd.H:42
tmp< surfaceScalarField > absolute(const tmp< surfaceScalarField > &tphi, const volVectorField &U)
Return the given relative flux in absolute form.
Definition: fvcMeshPhi.C:187
volScalarField & p
Definition: createFields.H:51
const dimensionedScalar e
Elementary charge.
Definition: doubleFloat.H:78
surfaceScalarField & phi
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)==rho *(U &g)+reaction->Sh()+fvOptions(rho, he))
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
Definition: fvcDiv.C:47
psiReactionThermo & thermo
Definition: createFields.H:32
U
Definition: pEqn.H:82