createZones.H
Go to the documentation of this file.
1  IOporosityModelList pZones(mesh);
2  Switch pressureImplicitPorosity(false);
3 
4  // nUCorrectors used for pressureImplicitPorosity
5  int nUCorr = 0;
6  if (pZones.active())
7  {
8  // nUCorrectors for pressureImplicitPorosity
9  simple.dict().readIfPresent("nUCorrectors", nUCorr);
10 
11  if (nUCorr > 0)
12  {
14  Info<< "Using pressure implicit porosity" << endl;
15  }
16  else
17  {
18  Info<< "Using pressure explicit porosity" << endl;
19  }
20  }
int nUCorr
Definition: createZones.H:5
messageStream Info
IOporosityModelList pZones(mesh)
dynamicFvMesh & mesh
Ostream & endl(Ostream &os)
Add newline and flush stream.
Definition: Ostream.H:251
Switch pressureImplicitPorosity(false)
const dictionary & simple