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