FreeFOAM The Cross-Platform CFD Toolkit
readFluidMultiRegionSIMPLEControls.H
Go to the documentation of this file.
1  dictionary simple = fluidRegions[i].solutionDict().subDict("SIMPLE");
2 
3  int nNonOrthCorr = 0;
4  if (simple.found("nNonOrthogonalCorrectors"))
5  {
6  nNonOrthCorr = readInt(simple.lookup("nNonOrthogonalCorrectors"));
7  }
8 
9  bool momentumPredictor = true;
10  if (simple.found("momentumPredictor"))
11  {
12  momentumPredictor = Switch(simple.lookup("momentumPredictor"));
13  }
14 
15  bool fluxGradp = false;
16  if (simple.found("fluxGradp"))
17  {
18  fluxGradp = Switch(simple.lookup("fluxGradp"));
19  }
20 
21  bool transonic = false;
22  if (simple.found("transonic"))
23  {
24  transonic = Switch(simple.lookup("transonic"));
25  }