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