db7fac3f24
git-svn-id: https://openfoam-extend.svn.sourceforge.net/svnroot/openfoam-extend/trunk/Core/OpenFOAM-1.5-dev@1731 e4e07f05-0c2f-0410-a05a-b8ba57e0c909
22 lines
539 B
C++
22 lines
539 B
C++
Info<< "Reading thermophysicalProperties\n" << endl;
|
|
|
|
// Pr defined as a separate constant to enable calculation of k, currently
|
|
// inaccessible through thermo
|
|
IOdictionary thermophysicalProperties
|
|
(
|
|
IOobject
|
|
(
|
|
"thermophysicalProperties",
|
|
runTime.constant(),
|
|
mesh,
|
|
IOobject::MUST_READ,
|
|
IOobject::NO_WRITE
|
|
)
|
|
);
|
|
|
|
dimensionedScalar Pr = dimensionedScalar("Pr", dimless, 1.0);
|
|
|
|
if (thermophysicalProperties.found("Pr"))
|
|
{
|
|
Pr = dimensionedScalar(thermophysicalProperties.lookup("Pr"));
|
|
}
|