mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
- both versions handle the same input words. Only need the <Switch> version when the destination variable is also a Switch and we need to output the word later.
18 lines
507 B
C
18 lines
507 B
C
const dictionary& piso = fluidRegions[i].solutionDict().subDict("PISO");
|
|
|
|
const int nOuterCorr =
|
|
piso.lookupOrDefault<int>("nOuterCorrectors", 1);
|
|
|
|
const int nCorr =
|
|
piso.lookupOrDefault<int>("nCorrectors", 1);
|
|
|
|
const int nNonOrthCorr =
|
|
piso.lookupOrDefault<int>("nNonOrthogonalCorrectors", 0);
|
|
|
|
const bool momentumPredictor =
|
|
piso.lookupOrDefault("momentumPredictor", true);
|
|
|
|
const bool transonic =
|
|
piso.lookupOrDefault("transonic", false);
|
|
|