ITHACA-FV
2023.1
Loading...
Searching...
No Matches
src
ITHACA_FOMPROBLEMS
UnsteadyNSTTurb
TEqn.H
Go to the documentation of this file.
1
// Solve temperature equation
2
{
3
alphat
=
turbulence
->nut() /
Prt
;
4
alphat
.correctBoundaryConditions();
5
volScalarField
alphaEff
(
"alphaEff"
,
nu
/
Pr
+
alphat
);
6
7
fvScalarMatrix
TEqn
8
(
9
fvm::ddt(
T
)
10
+ fvm::div(
phi
,
T
)
11
- fvm::laplacian(
alphaEff
,
T
)
12
);
13
TEqn
.relax();
14
TEqn
.solve();
15
16
}
alphaEff
volScalarField alphaEff("alphaEff", turbulence->nu()/Pr+alphat)
T
volScalarField & T
Definition
createT.H:46
TEqn
fvScalarMatrix & TEqn
Definition
TEqn.H:15
alphat
volScalarField & alphat
Definition
createConstants.H:235
nu
dimensionedScalar & nu
Definition
readConstants.H:30
Prt
dimensionedScalar & Prt
Definition
readConstants.H:48
Pr
dimensionedScalar & Pr
Definition
readConstants.H:39
phi
surfaceScalarField & phi
Definition
createFields.H:68
turbulence
turbulence
Definition
createFields.H:88
Generated by
1.11.0