TEqn.H
Go to the documentation of this file.
1 {
2  alphat = turbulence->nut()/Prt;
3  alphat.correctBoundaryConditions();
4 
5  volScalarField alphaEff("alphaEff", turbulence->nu()/Pr + alphat);
6 
8  (
9  fvm::div(phi, T)
11  ==
12  fvOptions(T)
13  );
14 
15  TEqn.relax();
16 
17  fvOptions.constrain(TEqn);
18 
19  TEqn.solve();
20 
21  fvOptions.correct(T);
22 
23  rhok = 1.0 - beta*(T - TRef);
24 }
dimensionedScalar Pr("Pr", dimless, laminarTransport)
fvScalarMatrix TEqn(fvm::ddt(T)+fvm::div(phi, T)-fvm::laplacian(alphaEff, T)==radiation->ST(rhoCpRef, T)+fvOptions(T))
volScalarField alphaEff("alphaEff", turbulence->nu()/Pr+alphat)
dimensionedScalar beta("beta", dimless/dimTemperature, laminarTransport)
tmp< GeometricField< Type, fvPatchField, volMesh > > laplacian(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
Definition: fvcLaplacian.C:45
autoPtr< compressible::turbulenceModel > turbulence
Definition: createFields.H:23
dimensionedScalar Prt("Prt", dimless, laminarTransport)
const volScalarField & T
Definition: createFields.H:25
rhok
Definition: TEqn.H:27
fv::IOoptionList & fvOptions
fvMatrix< scalar > fvScalarMatrix
Definition: fvMatricesFwd.H:42
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Definition: volFieldsFwd.H:52
surfaceScalarField & phi
dimensionedScalar TRef("TRef", dimTemperature, laminarTransport)
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
Definition: fvcDiv.C:47