77 IOobject(pointDisplacement,
"pointDisplacement"),
88 const word& solverTypeName,
95 Info<<
"Selecting motion solver: " << solverTypeName <<
endl;
101 displacementConstructorTablePtr_
104 if (!displacementConstructorTablePtr_)
107 <<
"solver table is empty" 111 auto* ctorPtr = displacementConstructorTable(solverTypeName);
120 *displacementConstructorTablePtr_
124 return autoPtr<displacementMotionSolver>
Virtual base class for displacement motion solver.
dlLibraryTable & libs() const noexcept
Mutable access to the loaded dynamic libraries.
displacementMotionSolver(const displacementMotionSolver &)=delete
No copy construct.
errorManipArg< error, int > exit(error &err, const int errNo=1)
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Ostream & endl(Ostream &os)
Add newline and flush stream.
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.
const Time & time() const
Return the top-level database.
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
Mesh representing a set of points created from polyMesh.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
A class for handling words, derived from Foam::string.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
defineTypeNameAndDebug(combustionModel, 0)
pointField points0(pointIOField(IOobject("points", mesh.time().constant(), polyMesh::meshSubDir, mesh, IOobject::MUST_READ, IOobject::NO_WRITE, IOobject::NO_REGISTER)))
Virtual base class for displacement motion solvers, where the point motion is relative to a set of fi...
static autoPtr< displacementMotionSolver > New(const word &solverTypeName, const polyMesh &, const IOdictionary &, const pointVectorField &pointDisplacement, const pointIOField &points0)
Select constructed from polyMesh, dictionary and components.
messageStream Info
Information stream (stdout output on master, null elsewhere)
Mesh consisting of general polyhedral cells.
bool open(bool verbose=true)
Open named, but unopened libraries. These names will normally have been added with the append() metho...
Defines the attributes of an object for which implicit objectRegistry management is supported...
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
A primitive field of type <T> with automated input and output.
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...