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;
135 if (
args.dryRun() ||
args.found(
"dry-run-write"))
138 <<
"Operating in 'dry-run' mode: case will run for 1 time step. "
139 <<
"All checks assumed OK on a clean exit" <<
endl;
145 if (
args.found(
"dry-run-write"))
static bool allowConstructFromLargerSize
Permit read construct from a larger size.
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
@ NO_REGISTER
Do not request registration (bool: false).
@ MUST_READ
Reading required.
@ NO_WRITE
Ignore writing from objectRegistry::writeObject().
Defines the attributes of an object for which implicit objectRegistry management is supported,...
bool typeHeaderOk(const bool checkType=true, const bool search=true, const bool verbose=true)
Read header (respects is_globalIOobject trait) and check its info. A void type suppresses trait and t...
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
@ saNoWriteNow
Adjust endTime to stop immediately w/o writing.
@ saWriteNow
adjust endTime to stop immediately w/ writing
Extract command arguments and options from the supplied argc and argv parameters.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
static autoPtr< dynamicFvMesh > New(const IOobject &io)
Select, construct and return the dynamicFvMesh.
static word outputPrefix
Directory prefix.
static const word & regionName(const word ®ion)
The mesh region name or word::null if polyMesh::defaultRegion.
static word defaultRegion
Return the default region name.
static autoPtr< dynamicFvMesh > New(const IOobject &io)
Return a reference to the selected simplified mesh.
A class for handling words, derived from Foam::string.
Foam::autoPtr< Foam::dynamicFvMesh > meshPtr
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
#define DebugInfo
Report an information message using Foam::Info.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh > > &tf1, const word &name, const dimensionSet &dimensions, const bool initCopy=false)
Global function forwards to reuseTmpDimensionedField::New.
messageStream Info
Information stream (stdout output on master, null elsewhere).
Ostream & endl(Ostream &os)
Add newline and flush stream.
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
errorManipArg< error, int > exit(error &err, const int errNo=1)
Foam::argList args(argc, argv)