OpenFOAM logo
The Open Source CFD Toolbox
  Programmer’s C++ Doxygen OpenCFD Solutions Contact OpenFOAM

readSIMPLEControls.H

Go to the documentation of this file.
00001     dictionary simple = mesh.solutionDict().subDict("SIMPLE");
00002 
00003     int nNonOrthCorr = 0;
00004     if (simple.found("nNonOrthogonalCorrectors"))
00005     {
00006         nNonOrthCorr = readInt(simple.lookup("nNonOrthogonalCorrectors"));
00007     }
00008 
00009     bool momentumPredictor = true;
00010     if (simple.found("momentumPredictor"))
00011     {
00012         momentumPredictor = Switch(simple.lookup("momentumPredictor"));
00013     }
00014 
00015     bool fluxGradp = false;
00016     if (simple.found("fluxGradp"))
00017     {
00018         fluxGradp = Switch(simple.lookup("fluxGradp"));
00019     }
00020 
00021     bool transSonic = false;
00022     if (simple.found("transSonic"))
00023     {
00024         transSonic = Switch(simple.lookup("transSonic"));
00025     }
Copyright © 2000-2007 OpenCFD Ltd