FreeFOAM The Cross-Platform CFD Toolkit
readPIMPLEControls.H
Go to the documentation of this file.
1  dictionary pimple = mesh.solutionDict().subDict("PIMPLE");
2 
3  int nOuterCorr(readInt(pimple.lookup("nOuterCorrectors")));
4  int nCorr(readInt(pimple.lookup("nCorrectors")));
5 
7  pimple.lookupOrDefault<int>("nNonOrthogonalCorrectors", 0);
8 
10  pimple.lookupOrDefault<Switch>("momentumPredictor", true);
11 
12  bool transonic =
13  pimple.lookupOrDefault<Switch>("transonic", false);