Initial commit for version 2.0.x patch release
[OpenFOAM-2.0.x.git] / applications / utilities / postProcessing / velocityField / Mach / readThermodynamicProperties.H
blob4e19adaae48e5d432cde086746bd2472899eab33
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 R
16     (
17         thermodynamicProperties.lookup("R")
18     );
20     dimensionedScalar Cv
21     (
22         thermodynamicProperties.lookup("Cv")
23     );