solidDiffusionNo.H
Go to the documentation of this file.
1scalar DiNum = -GREAT;
2
3{
4 tmp<volScalarField> magKappa;
5 if (thermo.isotropic())
6 {
7 magKappa = thermo.kappa();
8 }
9 else
10 {
11 magKappa = mag(thermo.Kappa());
12 }
13
14 tmp<volScalarField> tcp = thermo.Cp();
15 const volScalarField& cp = tcp();
16
17 tmp<volScalarField> trho = thermo.rho();
18 const volScalarField& rho = trho();
19
20 DiNum = max
21 (
22 solidRegionDiffNo
23 (
24 mesh,
25 runTime,
26 rho*cp,
27 magKappa()
28 ),
29 DiNum
30 );
31}
Y[inertIndex] max(0.0)
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
dynamicFvMesh & mesh
engineTime & runTime
tmp< volScalarField > tcp
tmp< volScalarField > trho
scalar DiNum
const volScalarField & rho
const volScalarField & cp