37 typeIOobject<IOdictionary> io
49 <<
"Constructing porosity model list from " << io.
name() <<
endl;
57 <<
"No porosity models present" <<
endl;
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
IOporosityModelList(const fvMesh &mesh)
Construct from mesh.
virtual bool read()
Read dictionary.
virtual const fileName & name() const
Return the name of the stream.
static const word & constant()
Return constant name.
Mesh data needed to do the Finite Volume discretisation.
const Time & time() const
Return the top-level database.
List container for porosity models.
bool read(const dictionary &dict)
Read dictionary.
virtual bool read()
Read object.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
Ostream & endl(Ostream &os)
Add newline and flush stream.
Ostream & indentOrNl(Ostream &os)
Indent stream or add newline if indent level == 0.