57Foam::dynamicMotionSolverListFvMesh::dynamicMotionSolverListFvMesh
103 motionSolvers_.setSize(solverDict.size());
105 for (
const entry& dEntry : solverDict)
112 io.rename(dEntry.dict().dictName());
127 motionSolvers_.setSize(i);
131 motionSolvers_.setSize(1);
143 return init(doInit,
true);
164 for (
auto& ms : motionSolvers_)
173 if (motionSolvers_.size())
178 for (label i = 1; i < motionSolvers_.size(); i++)
189 Uptr->correctBoundaryConditions();
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
void correctBoundaryConditions()
Correct boundary field.
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
@ NO_REGISTER
Do not request registration (bool: false).
@ NO_READ
Nothing to be read.
@ MUST_READ
Reading required.
@ NO_WRITE
Ignore writing from objectRegistry::writeObject().
@ AUTO_WRITE
Automatically write from objectRegistry::writeObject().
Defines the attributes of an object for which implicit objectRegistry management is supported,...
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
const dictionary * findDict(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a sub-dictionary pointer if present (and it is a dictionary) otherwise return nullptr...
Abstract base class for geometry and/or topology changing fvMesh.
virtual bool init(const bool doInit)
Initialise all non-demand-driven data.
Dynamic mesh able to handle multiple motion solvers. NOTE: If the word entry "solvers" is not found i...
virtual bool init(const bool doInit)
Initialise all non-demand-driven data.
virtual bool update()
Update the mesh for both mesh motion and topology change.
virtual void mapFields(const mapPolyMesh &mpm)
Map all fields in time using given map. Triggered by topo change.
~dynamicMotionSolverListFvMesh()
Destructor.
A keyword and a list of tokens is an 'entry'.
virtual bool movePoints()
Avoid masking surfaceInterpolation method.
const Time & time() const
Return the top-level database.
virtual void mapFields(const mapPolyMesh &mpm)
Map all fields in time using given map.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
static autoPtr< motionSolver > New(const polyMesh &)
Select constructed from polyMesh.
Type * getObjectPtr(const word &name, const bool recursive=false) const
Return non-const pointer to the object of the given Type, using a const-cast to have it behave like a...
virtual const pointField & points() const
Return raw points.
const dictionary & solverDict(const word &name) const
The solver controls dictionary for the given field. Same as solversDict().subDict(....
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
Different types of constants.
GeometricField< vector, fvPatchField, volMesh > volVectorField
vectorField pointField
pointField is a vectorField.