1 #include "readTimeControls.H"
3 label nAlphaCorr(readLabel(pimple.dict().lookup("nAlphaCorr")));
5 label nAlphaSubCycles(readLabel(pimple.dict().lookup("nAlphaSubCycles")));
7 if (nAlphaSubCycles > 1 && pimple.nOuterCorr() != 1)
9 FatalErrorIn(args.executable())
10 << "Sub-cycling alpha is only allowed for PISO, "
11 "i.e. when the number of outer-correctors = 1"
16 pimple.dict().lookupOrDefault<Switch>("correctPhi", true);
18 bool checkMeshCourantNo =
19 pimple.dict().lookupOrDefault<Switch>("checkMeshCourantNo", false);