mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +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.
12 lines
344 B
C
12 lines
344 B
C
const dictionary& simple = mesh.solutionDict().subDict("SIMPLE");
|
|
|
|
const int nNonOrthCorr =
|
|
simple.lookupOrDefault<int>("nNonOrthogonalCorrectors", 0);
|
|
|
|
const bool momentumPredictor =
|
|
simple.lookupOrDefault("momentumPredictor", true);
|
|
|
|
const bool transonic =
|
|
simple.lookupOrDefault("transonic", false);
|
|
|