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