OpenFOAM: API Guide
v2006
The open source CFD toolbox
readThermodynamicProperties.H
Go to the documentation of this file.
1
Info
<<
"Reading thermodynamicProperties\n"
<<
endl
;
2
3
IOdictionary thermodynamicProperties
4
(
5
IOobject
6
(
7
"thermodynamicProperties"
,
8
runTime
.constant(),
9
mesh
,
10
IOobject::MUST_READ_IF_MODIFIED,
11
IOobject::NO_WRITE
12
)
13
);
14
15
dimensionedScalar
rho0
16
(
17
"rho0"
,
18
dimDensity
,
19
thermodynamicProperties
20
);
21
22
dimensionedScalar
p0
23
(
24
"p0"
,
25
dimPressure
,
26
thermodynamicProperties
27
);
28
29
dimensionedScalar
psi
30
(
31
"psi"
,
32
dimCompressibility
,
33
thermodynamicProperties
34
);
35
36
// Density offset, i.e. the constant part of the density
37
dimensionedScalar
rhoO(
"rhoO"
,
rho0
-
psi
*
p0
);
runTime
engineTime & runTime
Definition:
createEngineTime.H:13
Foam::dimPressure
const dimensionSet dimPressure
Foam::dimDensity
const dimensionSet dimDensity
Foam::endl
Ostream & endl(Ostream &os)
Add newline and flush stream.
Definition:
Ostream.H:350
Foam::dimCompressibility
const dimensionSet dimCompressibility
Foam::Info
messageStream Info
Information stream (uses stdout - output is on the master only)
Foam::dimensionedScalar
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
Definition:
dimensionedScalarFwd.H:43
mesh
dynamicFvMesh & mesh
Definition:
createDynamicFvMesh.H:6
rho0
scalar rho0
Definition:
readInitialConditions.H:89
p0
const volScalarField & p0
Definition:
EEqn.H:36
psi
const volScalarField & psi
Definition:
createFieldRefs.H:1
applications
solvers
compressible
sonicFoam
sonicLiquidFoam
readThermodynamicProperties.H
Generated by
1.8.17
OPENFOAM® is a registered
trademark
of OpenCFD Ltd.