Loading...
Searching...
No Matches
EEqn.H
Go to the documentation of this file.
1{
3
4 fvScalarMatrix EEqn
5 (
6 fvm::ddt(rho, he) + mvConvection->fvmDiv(phi, he)
7 + fvc::ddt(rho, K) + fvc::div(phi, K)
8 + (
9 he.name() == "e"
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(), he)
19 ==
20 Qdot
21 + fvOptions(rho, he)
22 );
23
24 if (MRF.active())
25 {
26 EEqn += fvc::div(MRF.phi(), p);
27 }
28
29 EEqn.relax();
30
31 fvOptions.constrain(EEqn);
32
33 EEqn.solve();
34
35 fvOptions.correct(he);
36
37 thermo.correct();
38
39 Info<< "min/max(T) = "
40 << min(T).value() << ", " << max(T).value() << endl;
41}
CGAL::Exact_predicates_exact_constructions_kernel K
volScalarField & he
Definition YEEqn.H:52
tmp< fv::convectionScheme< scalar > > mvConvection(fv::convectionScheme< scalar >::New(mesh, fields, phi, mesh.divScheme("div(phi,Yi_h)")))
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)==Qdot+radiation->Sh(thermo, he)+parcels.Sh(he)+surfaceFilm.Sh()+fvOptions(rho, he))
fv::options & fvOptions
IOMRFZoneList & MRF
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
const volScalarField & T
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)==Qdot+fvOptions(rho, he))
volScalarField & dpdt
compressible::turbulenceModel & turbulence
GeometricField< scalar, fvPatchField, volMesh > volScalarField
scalar Qdot