OpenFOAM
9
The OpenFOAM Foundation
createFieldRefs.H
Go to the documentation of this file.
1
volScalarField
&
p
=
thermo
.p();
2
const
volScalarField
& T =
thermo
.T();
3
const
volScalarField
& psi =
thermo
.psi();
4
const
volScalarField
& mu =
thermo
.mu();
5
6
bool
inviscid
(
true
);
7
if
(
max
(mu.primitiveField()) > 0.0)
8
{
9
inviscid
=
false
;
10
}
thermo
fluidReactionThermo & thermo
Definition:
createFields.H:28
Foam::max
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
Foam::volScalarField
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Definition:
volFieldsFwd.H:57
inviscid
bool inviscid(true)
p
volScalarField & p
Definition:
createFieldRefs.H:5
applications
solvers
compressible
rhoCentralFoam
createFieldRefs.H
Generated by
1.8.13