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);
const dimensionSet dimPressure
const dimensionSet dimCompressibility
scalar rho0
messageStream Info
dynamicFvMesh & mesh
const dimensionSet dimDensity
Ostream & endl(Ostream &os)
Add newline and flush stream.
Definition: Ostream.H:251
const volScalarField & psi
Definition: createFields.H:24
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.