OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

readPISOControls.H

Go to the documentation of this file.
00001     dictionary piso = mesh.solutionDict().subDict("PISO");
00002 
00003     int nCorr(readInt(piso.lookup("nCorrectors")));
00004 
00005     int nNonOrthCorr =
00006         piso.lookupOrDefault<int>("nNonOrthogonalCorrectors", 0);
00007 
00008     bool momentumPredictor =
00009         piso.lookupOrDefault<Switch>("momentumPredictor", true);
00010 
00011     bool transonic =
00012         piso.lookupOrDefault<Switch>("transonic", false);
00013 
00014     int nOuterCorr =
00015         piso.lookupOrDefault<int>("nOuterCorrectors", 1);
Copyright © 2000-2009 OpenCFD Ltd