|
|
|
readControls.HGo to the documentation of this file.00001 #include "readPISOControls.H" 00002 #include "readTimeControls.H" 00003 00004 label nAlphaCorr 00005 ( 00006 readLabel(piso.lookup("nAlphaCorr")) 00007 ); 00008 00009 label nAlphaSubCycles 00010 ( 00011 readLabel(piso.lookup("nAlphaSubCycles")) 00012 ); 00013 00014 if (nAlphaSubCycles > 1 && nOuterCorr != 1) 00015 { 00016 FatalErrorIn(args.executable()) 00017 << "Sub-cycling alpha is only allowed for PISO, " 00018 "i.e. when the number of outer-correctors = 1" 00019 << exit(FatalError); 00020 } |