34 namespace fvMeshMovers
48 velocityMotionCorrection_(mesh,
dict())
68 return motion().solidBody();
74 mesh().movePoints(motionPtr_->newPoints());
75 velocityMotionCorrection_.update();
83 motionPtr_->topoChange(map);
89 motionPtr_->mapMesh(map);
98 motionPtr_->distribute(map);
106 return motionPtr_->write();
Macros for easy insertion into run-time selection tables.
Abstract base class for fvMesh movers.
virtual bool solidBody() const
Is this motion solid body? Delegate to the motion solver.
~motionSolver()
Destructor.
virtual void topoChange(const polyTopoChangeMap &)
Update corresponding to the given map.
virtual void distribute(const polyDistributionMap &)
Update corresponding to the given distribution map.
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.
motionSolver(fvMesh &mesh)
Construct from fvMesh.
const Foam::motionSolver & motion() const
Return the motionSolver.
Mesh data needed to do the Finite Volume discretisation.
Virtual base class for mesh motion solver.
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.
autoPtr< CompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const viscosity &viscosity)
defineTypeNameAndDebug(none, 0)
addToRunTimeSelectionTable(fvMeshMover, none, fvMesh)
void write(std::ostream &os, const bool binary, List< floatScalar > &fField)
Write floats ascii or binary.