67ab0b5abd
- in FOAM library updated containers backported PackedBoolList, hashedWordList, nullObject, wordRe, backported functions to backported int32 support backported tableReaders backported Function1, TimeFunction1 backported dynamicCode (for codedBCs, ...) -- needs to be mapped out advanced error macros (FatalIOErrorInFunction, ...) -- needs to be mapped out backported IOobject::MUST_READ_IF_MODIFIED and added IOobject::READ_IF_PRESENT_IF_MODIFIED (only in FO) - in postProcessing backported IO FOs (partialWrite, removeRegisteredObject, writeDictionary, writeRegisteredObject) backported field FOs (fieldCoordinateSystemTransform, fieldValues, nearWallFields, processorField, readFields, regionSizeDistribution, streamLine, wallBoundedStreamLine) backported fvTools FOs (calcFvcDiv, calcFvcGrad, calcMag) backported jobControl FOs (abortCalculation) backported utilities FOs (ourantNo, Lambda2, Peclet, Q, codedFunctionObject, pressureTools, residuals, scalarTransport, setTimeStep, timeActivatedFileUpdate, turbulenceFields, vorticity, wallShearStress)
22 lines
551 B
C++
22 lines
551 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_IF_MODIFIED,
|
|
IOobject::NO_WRITE
|
|
)
|
|
);
|
|
|
|
dimensionedScalar Pr = dimensionedScalar("Pr", dimless, 1.0);
|
|
|
|
if (thermophysicalProperties.found("Pr"))
|
|
{
|
|
Pr = dimensionedScalar(thermophysicalProperties.lookup("Pr"));
|
|
}
|