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 
16 (
17  "rho0",
18  dimDensity,
19  thermodynamicProperties
20 );
21 
23 (
24  "p0",
26  thermodynamicProperties
27 );
28 
30 (
31  "psi",
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)
Definition: Ostream.H:381
Foam::dimCompressibility
const dimensionSet dimCompressibility
Foam::Info
messageStream Info
Foam::dimensionedScalar
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
Definition: dimensionedScalarFwd.H:36
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