OpenFOAM: API Guide
v2112
The open source CFD toolbox
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
}
max
Y[inertIndex] max(0.0)
thermo
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
p
volScalarField & p
Definition:
createFieldRefs.H:8
psi
const volScalarField & psi
Definition:
createFieldRefs.H:1
T
const volScalarField & T
Definition:
createFieldRefs.H:2
mu
const volScalarField & mu
Definition:
createFieldRefs.H:4
inviscid
bool inviscid(true)
applications
solvers
compressible
rhoCentralFoam
createFieldRefs.H
Generated by
1.9.5
OPENFOAM® is a registered
trademark
of OpenCFD Ltd.