ENH: autoLayerDriver: better layering information message
[OpenFOAM-2.0.x.git] / applications / solvers / incompressible / simpleFoam / porousSimpleFoam / createPorousZones.H
blobe4614b7063469dc05af8911a540300939c1c3a96
1     porousZones pZones(mesh);
2     Switch pressureImplicitPorosity(false);
4     // nUCorrectors used for pressureImplicitPorosity
5     int nUCorr = 0;
6     if (pZones.size())
7     {
8         // nUCorrectors for pressureImplicitPorosity
9         nUCorr = simple.dict().lookupOrDefault<int>("nUCorrectors", 0);
11         if (nUCorr > 0)
12         {
13             pressureImplicitPorosity = true;
14             Info<< "Using pressure implicit porosity" << endl;
15         }
16         else
17         {
18             Info<< "Using pressure explicit porosity" << endl;
19         }
20     }