Skip to content
Snippets Groups Projects
readControls.H 462 B
Newer Older
    #include "readTimeControls.H"
    label nAlphaCorr(readLabel(pimple.dict().lookup("nAlphaCorr")));
    label nAlphaSubCycles(readLabel(pimple.dict().lookup("nAlphaSubCycles")));
    if (nAlphaSubCycles > 1 && pimple.nCorrPIMPLE() != 1)
            << "Sub-cycling alpha is only allowed for PISO operation, "
               "i.e. when the number of outer-correctors = 1"
            << exit(FatalError);
    }