BUG: UListIO: byteSize overflowing on really big faceLists
[OpenFOAM-2.0.x.git] / applications / solvers / compressible / sonicFoam / sonicLiquidFoam / readThermodynamicProperties.H
blob82f3655f4650f7cc4e4ae6f5627d6aebdd806c81
1     Info<< "Reading thermodynamicProperties\n" << endl;
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     );
15     dimensionedScalar rho0
16     (
17         thermodynamicProperties.lookup("rho0")
18     );
20     dimensionedScalar p0
21     (
22         thermodynamicProperties.lookup("p0")
23     );
25     dimensionedScalar psi
26     (
27         thermodynamicProperties.lookup("psi")
28     );
30     // Density offset, i.e. the constant part of the density
31     dimensionedScalar rhoO("rhoO", rho0 - psi*p0);