36 const word fvMeshTopoChangerTypeName
41 Info<<
"Selecting fvMeshTopoChanger " 42 << fvMeshTopoChangerTypeName <<
endl;
48 fvMeshConstructorTablePtr_
51 if (!fvMeshConstructorTablePtr_)
54 <<
"fvMeshTopoChangers table is empty" 58 fvMeshConstructorTable::iterator cstrIter =
59 fvMeshConstructorTablePtr_->find(fvMeshTopoChangerTypeName);
61 if (cstrIter == fvMeshConstructorTablePtr_->end())
64 <<
"Unknown fvMeshTopoChanger type " 65 << fvMeshTopoChangerTypeName <<
nl <<
nl 66 <<
"Valid fvMeshTopoChangers are :" << endl
67 << fvMeshConstructorTablePtr_->sortedToc()
91 IOobject::READ_IF_PRESENT,
101 if (dict.
found(
"topoChanger"))
103 return New(mesh, dict.
subDict(
"topoChanger"));
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
autoPtr< CompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const viscosity &viscosity)
bool headerOk()
Read header (uses typeGlobalFile to find file) and check.
errorManipArg< error, int > exit(error &err, const int errNo=1)
A list of keyword definitions, which are a keyword followed by any number of values (e...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Templated form of IOobject providing type information for file reading and header type checking...
Ostream & endl(Ostream &os)
Add newline and flush stream.
virtual const fileName & dbDir() const
Override the objectRegistry dbDir for a single-region case.
const Time & time() const
Return the top-level database.
dlLibraryTable libs
Table of loaded dynamic libraries.
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
static autoPtr< fvMeshTopoChanger > New(fvMesh &, const dictionary &dict)
Select, construct and return the fvMeshTopoChanger.
A class for handling words, derived from string.
const word & constant() const
Return constant name.
bool open(const fileName &libName, const bool verbose=true)
Open the named library, optionally with warnings if problems occur.
Mesh data needed to do the Finite Volume discretisation.
Dummy fvMeshTopoChanger which does not move the mesh points.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.