MoDeNa  1.0
Software framework facilitating sequential multi-scale modelling
readControls.H
Go to the documentation of this file.
1 
6  #include "readTimeControls.H"
8  label nAlphaCorr(readLabel(pimple.dict().lookup("nAlphaCorr")));
9 
10  label nAlphaSubCycles(readLabel(pimple.dict().lookup("nAlphaSubCycles")));
11 
12  if (nAlphaSubCycles > 1 && pimple.nCorrPIMPLE() != 1)
13  {
14  FatalErrorIn(args.executable())
15  << "Sub-cycling alpha is only allowed for PISO operation, "
16  "i.e. when the number of outer-correctors = 1"
17  << exit(FatalError);
18  }
19 ///@endcond