EaEqn.H
Go to the documentation of this file.
1{
2 volScalarField& hea = thermo.he();
3
4 fvScalarMatrix EaEqn
5 (
6 fvm::ddt(rho, hea) + mvConvection->fvmDiv(phi, hea)
7 + fvc::ddt(rho, K) + fvc::div(phi, K)
8 + (
9 hea.name() == "ea"
10 ? fvc::div
11 (
12 fvc::absolute(phi/fvc::interpolate(rho), U),
13 p,
14 "div(phiv,p)"
15 )
16 : -dpdt
17 )
18 - fvm::laplacian(turbulence->alphaEff(), hea)
19 + fvOptions(rho, hea)
20 );
21
22 EaEqn.relax();
23
24 fvOptions.constrain(EaEqn);
25
26 EaEqn.solve();
27
28 fvOptions.correct(hea);
29
30 thermo.correct();
31}
CGAL::Exact_predicates_exact_constructions_kernel K
fvScalarMatrix EaEqn(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)+betav *fvOptions(rho, hea))
tmp< fv::convectionScheme< scalar > > mvConvection(fv::convectionScheme< scalar >::New(mesh, fields, phi, mesh.divScheme("div(phi,Yi_h)")))
fv::options & fvOptions
surfaceScalarField & phi
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
U
Definition: pEqn.H:72
volScalarField & p
volScalarField & dpdt
compressible::turbulenceModel & turbulence
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Definition: volFieldsFwd.H:82