Removed unnecessary return statement
[foam-extend-3.2.git] / applications / solvers / compressible / rhoCentralFoam / readThermophysicalProperties.H
blobadc9ec4d1bd85e94a0ed4885dcfcf063cd8cf13f
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,
13         IOobject::NO_WRITE
14     )
17 dimensionedScalar Pr = dimensionedScalar("Pr", dimless, 1.0);
19 if (thermophysicalProperties.found("Pr"))
21     Pr = dimensionedScalar(thermophysicalProperties.lookup("Pr"));