34 namespace fvMeshMovers
52 velocityMotionCorrection_(
mesh,
dict)
72 return motion().solidBody();
79 velocityMotionCorrection_.update();
87 motionPtr_->topoChange(map);
93 motionPtr_->mapMesh(map);
102 motionPtr_->distribute(map);
110 return motionPtr_->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.
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, const dictionary &dict)
Construct from fvMesh.
const Foam::motionSolver & motion() const
Return the motionSolver.
Mesh data needed to do the Finite Volume discretisation.
virtual tmp< scalarField > movePoints(const pointField &)
Move points, returns volumes swept by faces in motion.
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.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
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.