FreeFOAM The Cross-Platform CFD Toolkit
readControls.H
Go to the documentation of this file.
3 
4  label nAlphaCorr
5  (
6  readLabel(piso.lookup("nAlphaCorr"))
7  );
8 
9  label nAlphaSubCycles
10  (
11  readLabel(piso.lookup("nAlphaSubCycles"))
12  );
13 
14  if (nAlphaSubCycles > 1 && nOuterCorr != 1)
15  {
17  << "Sub-cycling alpha is only allowed for PISO, "
18  "i.e. when the number of outer-correctors = 1"
19  << exit(FatalError);
20  }
21 
22 // ************************ vim: set sw=4 sts=4 et: ************************ //