Files
openfoam/applications/solvers/heatTransfer/chtMultiRegionFoam/readPIMPLEControls.H
2011-03-21 14:24:48 +00:00

10 lines
344 B
C

// We do not have a top-level mesh. Construct the fvSolution for
// the runTime instead.
runTime.readOpt() = IOobject::MUST_READ_IF_MODIFIED;
fvSolution solutionDict(runTime);
const dictionary& pimple = solutionDict.subDict("PIMPLE");
const int nOuterCorr =
pimple.lookupOrDefault<int>("nOuterCorrectors", 1);