Initial commit for version 2.0.x patch release
[OpenFOAM-2.0.x.git] / applications / solvers / compressible / rhoCentralFoam / readThermophysicalProperties.H
blobf9e309ffec9372161a3b1828003d49c67cd8861d
1 Info<< "Reading thermophysicalProperties\n" << endl;
3 // Pr defined as a separate constant to enable calculation of k, currently
4 // inaccessible through thermo
5 IOdictionary thermophysicalProperties
7     IOobject
8     (
9         "thermophysicalProperties",
10         runTime.constant(),
11         mesh,
12         IOobject::MUST_READ_IF_MODIFIED,
13         IOobject::NO_WRITE
14     )
17 dimensionedScalar Pr
19     dimensionedScalar::lookupOrDefault
20     (
21         "Pr",
22         thermophysicalProperties,
23         1.0
24     )