FreeFOAM The Cross-Platform CFD Toolkit
readThermophysicalProperties.H
Go to the documentation of this file.
1 Info<< "Reading thermophysicalProperties\n" << endl;
2 
3 // Pr defined as a separate constant to enable calculation of k, currently
4 // inaccessible through thermo
5 IOdictionary thermophysicalProperties
6 (
7  IOobject
8  (
9  "thermophysicalProperties",
10  runTime.constant(),
11  mesh,
12  IOobject::MUST_READ,
13  IOobject::NO_WRITE
14  )
15 );
16 
18 
19 if (thermophysicalProperties.found("Pr"))
20 {
21  Pr = thermophysicalProperties.lookup("Pr");
22 }
23 
24 // ************************ vim: set sw=4 sts=4 et: ************************ //