OpenFOAM logo
Open Source CFD Toolkit

readSIMPLEControls.H

Go to the documentation of this file.
00001     const 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     }
For further information go to www.openfoam.org