34 namespace fvMeshMovers
68 dict.optionalTypeDict(pointMeshMoverName_)
84 return pointMeshMoverPtr_();
90 return pointMeshMoverPtr_->solidBodyMotion();
109 pointMeshMoverPtr_->topoChange(map);
115 pointMeshMoverPtr_->mapMesh(map);
124 pointMeshMoverPtr_->distribute(map);
132 return pointMeshMoverPtr_->write();
Macros for easy insertion into run-time selection tables.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Abstract base class for fvMesh movers.
Wrapper class so that a pointMeshMover can be instantiated to move an fvMesh.
const Foam::pointMeshMover & mover() const
Return the pointMeshMover.
virtual void topoChange(const polyTopoChangeMap &)
Update corresponding to the given map.
virtual void distribute(const polyDistributionMap &)
Update corresponding to the given distribution map.
~pointMeshMover()
Destructor.
virtual void mapMesh(const polyMeshMap &)
Update from another mesh using the given map.
virtual bool write(const bool write=true) const
Write the motion solver state.
virtual bool update()
Update the mesh for both mesh motion and topology change.
virtual bool solidBodyMotion() const
Is this motion solid body? Delegate to the motion solver.
pointMeshMover(fvMesh &mesh, const dictionary &dict)
Construct from fvMesh.
Mesh data needed to do the Finite Volume discretisation.
virtual tmp< scalarField > movePoints(const pointField &)
Move points, returns volumes swept by faces in motion.
void preChange()
Prepare for a mesh change.
Abstract base class for pointMesh movers.
Class containing mesh-to-mesh mapping information after a mesh distribution where we send parts of me...
Class containing mesh-to-mesh mapping information.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
Template function which returns the un-mangled name of a given type. Useful for types which do not ha...
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
defineTypeNameAndDebug(none, 0)
addToRunTimeSelectionTable(fvMeshMover, none, fvMesh)
addBackwardCompatibleToRunTimeSelectionTable(fvMeshMover, pointMeshMover, fvMesh, motionSolver, "motionSolver")
void write(std::ostream &os, const bool binary, List< floatScalar > &fField)
Write floats ascii or binary.
tmp< DimensionedField< TypeR, GeoMesh, Field > > New(const tmp< DimensionedField< TypeR, GeoMesh, Field >> &tdf1, const word &name, const dimensionSet &dimensions)