All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
createPorousZones.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.UPtrList<porosityModel>::size())
7  {
8  // nUCorrectors for pressureImplicitPorosity
9  nUCorr = simple.dict().lookupOrDefault<int>("nUCorrectors", 0);
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  }
Switch pressureImplicitPorosity(false)
Ostream & endl(Ostream &os)
Add newline and flush stream.
Definition: Ostream.H:251
IOporosityModelList pZones(mesh)
dynamicFvMesh & mesh
int nUCorr
messageStream Info
simpleControl simple(mesh)