TEqn.H
Go to the documentation of this file.
1 //Solve the Momentum equation
2 if (solveScalarT)
3 {
5  (
6  fvm::ddt(T)
7  + fvm::div(phi,T)
8  - fvm::laplacian(DT,T)
9  )
10  ==
11  fvOptions(T)
12  );
13 
14  TEqn.relax();
15  fvOptions.constrain(TEqn);
16  solve(TEqn);
17  fvOptions.correct(T);
18 }
19 
phi
surfaceScalarField & phi
Definition: setRegionFluidFields.H:8
Foam::fvc::div
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
Definition: fvcDiv.C:47
Foam::fvc::laplacian
tmp< GeometricField< Type, fvPatchField, volMesh > > laplacian(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
Definition: fvcLaplacian.C:45
solve
TEqn solve()
Foam::fvScalarMatrix
fvMatrix< scalar > fvScalarMatrix
Definition: fvMatricesFwd.H:42
TEqn
fvScalarMatrix TEqn(fvm::div(phi, T) - fvm::laplacian(alphaEff, T)==radiation->ST(rhoCpRef, T)+fvOptions(T))
T
const volScalarField & T
Definition: createFields.H:25
Foam::fvc::ddt
tmp< GeometricField< Type, fvPatchField, volMesh > > ddt(const dimensioned< Type > dt, const fvMesh &mesh)
Definition: fvcDdt.C:45
fvOptions
fv::options & fvOptions
Definition: setRegionFluidFields.H:16