43 dynamicMotionSolverListFvMesh,
49 dynamicMotionSolverListFvMesh,
57 Foam::dynamicMotionSolverListFvMesh::dynamicMotionSolverListFvMesh
94 IOdictionary
dict(ioDict);
99 const dictionary& solvertDict =
dict.
subDict(
"solvers");
101 motionSolvers_.setSize(solvertDict.size());
103 for (
const entry& dEntry : solvertDict)
110 io.
rename(dEntry.dict().dictName());
112 IOdictionary IOsolverDict
125 motionSolvers_.setSize(i);
129 motionSolvers_.setSize(1);
141 return init(doInit,
true);
162 for (
auto& ms : motionSolvers_)
171 if (motionSolvers_.size())
176 for (label i = 1; i < motionSolvers_.size(); i++)
readOption readOpt() const noexcept
Get the read option.
virtual void rename(const word &newName)
Rename the object.
virtual bool update()
Update the mesh for both mesh motion and topology change.
virtual bool movePoints()
Do what is necessary if the mesh has moved.
virtual bool init(const bool doInit)
Initialise all non-demand-driven data.
virtual bool init(const bool doInit)
Initialise all non-demand-driven data.
static autoPtr< motionSolver > New(const polyMesh &)
Select constructed from polyMesh.
Ignore writing from objectRegistry::writeObject()
GeometricField< vector, fvPatchField, volMesh > volVectorField
const dictionary & subDict(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a sub-dictionary.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
Macros for easy insertion into run-time selection tables.
bool found(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find an entry (const access) with the given keyword.
virtual const pointField & points() const
Return raw points.
writeOption writeOpt() const noexcept
Get the write option.
vectorField pointField
pointField is a vectorField.
IOobject io("surfaceFilmProperties", mesh.time().constant(), mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, false)
virtual void mapFields(const mapPolyMesh &mpm)
Map all fields in time using given map. Triggered by topo change.
defineTypeNameAndDebug(combustionModel, 0)
addToRunTimeSelectionTable(decompositionMethod, kahipDecomp, dictionary)
~dynamicMotionSolverListFvMesh()
Destructor.
Abstract base class for geometry and/or topology changing fvMesh.
Automatically write from objectRegistry::writeObject()
void correctBoundaryConditions()
Correct boundary field.
Defines the attributes of an object for which implicit objectRegistry management is supported...
virtual void mapFields(const mapPolyMesh &mpm)
Map all fields in time using given map.