1 #include "readPISOControls.H"
2 #include "readTimeControls.H"
6 readLabel(piso.lookup("nAlphaSubCycles"))
9 if (nAlphaSubCycles > 1 && nOuterCorr != 1)
11 FatalErrorIn(args.executable())
12 << "Sub-cycling alpha is only allowed for PISO, "
13 "i.e. when the number of outer-correctors = 1"
17 bool correctPhi = true;
18 if (piso.found("correctPhi"))
20 correctPhi = Switch(piso.lookup("correctPhi"));
23 bool checkMeshCourantNo = false;
24 if (piso.found("checkMeshCourantNo"))
26 checkMeshCourantNo = Switch(piso.lookup("checkMeshCourantNo"));