Go to the documentation of this file.
59 Info<<
"Selecting dynamicFvMesh " << modelType <<
endl;
65 IOobjectConstructorTablePtr_
68 if (!IOobjectConstructorTablePtr_)
71 <<
"dynamicFvMesh table is empty"
75 auto* doInitCtor = doInitConstructorTable(modelType);
79 <<
"Constructing dynamicFvMesh with explicit initialisation"
92 auto* ctorPtr = IOobjectConstructorTable(modelType);
101 *IOobjectConstructorTablePtr_
109 <<
"Constructing staticFvMesh with explicit initialisation" <<
endl;
130 <<
"Operating in 'dry-run' mode: case will run for 1 time step. "
131 <<
"All checks assumed OK on a clean exit" <<
endl;
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
Defines the attributes of an object for which implicit objectRegistry management is supported,...
Foam::autoPtr< Foam::fvMesh > meshPtr(nullptr)
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for handling words, derived from Foam::string.
static autoPtr< dynamicFvMesh > New(const IOobject &io)
Select, construct and return the dynamicFvMesh.
static word defaultRegion
Return the default region name.
static bool allowConstructFromLargerSize
Permit read construct from a larger size.
static word timeName(const scalar t, const int precision=precision_)
virtual stopAtControls stopAt() const
Return the stop control information.
Extract command arguments and options from the supplied argc and argv parameters.
Ostream & endl(Ostream &os)
Add newline and flush stream.
const Time & time() const
Return Time associated with the objectRegistry.
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
int dryRun() const noexcept
Return the dry-run flag.
messageStream Info
Information stream (stdout output on master, null elsewhere)
Adjust endTime to stop immediately w/o writing.
static word outputPrefix
Directory prefix.
dlLibraryTable & libs() const
Mutable access to the loaded dynamic libraries.
bool open(bool verbose=true)
errorManipArg< error, int > exit(error &err, const int errNo=1)
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.
static autoPtr< dynamicFvMesh > New(const IOobject &io)
Return a reference to the selected simplified mesh.
const word & name() const noexcept
Return name.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
#define DebugInfo
Report an information message using Foam::Info.
adjust endTime to stop immediately w/ writing
const word & constant() const
Return constant name.
Foam::argList args(argc, argv)
bool found(const word &optName) const
Return true if the named option is found.
const objectRegistry & db() const noexcept
Return the local objectRegistry.