Merge branch 'master' of ssh://git.code.sf.net/p/foam-extend/foam-extend-3.2
[foam-extend-3.2.git] / applications / solvers / multiphase / compressibleInterFoam / readControls.H
blob0c8d35532cf45e9e637b1a16e585d44a882417a1
1    #include "readPISOControls.H"
2    #include "readTimeControls.H"
4     label nAlphaSubCycles
5     (
6         readLabel(piso.lookup("nAlphaSubCycles"))
7     );
9     if (nAlphaSubCycles > 1 && nOuterCorr != 1)
10     {
11         FatalErrorIn(args.executable())
12             << "Sub-cycling alpha is only allowed for PISO, "
13                "i.e. when the number of outer-correctors = 1"
14             << exit(FatalError);
15     }