Removed unneeded lib dependency from mdInitialise
[foam-extend-3.2.git] / applications / solvers / multiphase / compressibleInterFoam / readControls.H
blob7e23354f47faf454cde356329b7bae37d39b2cd9
1    #include "readPISOControls.H"
2    #include "readTimeControls.H"
4     label nAlphaCorr
5     (
6         readLabel(piso.lookup("nAlphaCorr"))
7     );
9     label nAlphaSubCycles
10     (
11         readLabel(piso.lookup("nAlphaSubCycles"))
12     );
14     if (nAlphaSubCycles > 1 && nOuterCorr != 1)
15     {
16         FatalErrorIn(args.executable())
17             << "Sub-cycling alpha is only allowed for PISO, "
18                "i.e. when the number of outer-correctors = 1"
19             << exit(FatalError);
20     }