Go to the documentation of this file.
59 Info<<
"Selecting dynamicFvMesh " << modelType <<
endl;
61 const_cast<Time&
>(io.
time()).libs().open
65 IOobjectConstructorTablePtr_
68 if (!IOobjectConstructorTablePtr_)
71 <<
"dynamicFvMesh table is empty"
75 auto cstrIter = IOobjectConstructorTablePtr_->cfind(modelType);
77 if (!cstrIter.found())
84 *IOobjectConstructorTablePtr_
104 <<
"Operating in 'dry-run' mode: case will run for 1 time step. "
105 <<
"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,...
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
const word & name() const
Return name.
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
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.
const objectRegistry & db() const
Return the local objectRegistry.
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
messageStream Info
Information stream (uses stdout - output is on the master only)
Adjust endTime to stop immediately w/o writing.
static word outputPrefix
Directory prefix.
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.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
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.