Go to the documentation of this file.
41 #ifndef displacementMethod_H
42 #define displacementMethod_H
virtual void setControlField(const vectorField &controlField)=0
virtual void setMotionField(const pointVectorField &pointMovement)=0
Set motion filed related to model based on given motion.
Abstract base class for displacement methods, which are a set or wrapper classes allowing to change t...
const labelList & patchIDs_
IDs of the patches to be moved.
virtual void boundControlField(vectorField &controlField)
scalar getMaxDisplacement() const
Get max displacement.
autoPtr< motionSolver > & getMotionSolver()
Get access to motionSolver.
autoPtr< motionSolver > motionPtr_
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
TypeName("displacementMethod")
Runtime type information.
Macros for easy insertion into run-time selection tables.
Mesh data needed to do the Finite Volume discretisation.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
virtual ~displacementMethod()=default
Destructor.
Macros to ease declaration of run-time selection tables.
void update()
Update mesh.
static autoPtr< displacementMethod > New(fvMesh &mesh, const labelList &patchIDs)
Return a reference to the selected turbulence model.
declareRunTimeSelectionTable(autoPtr, displacementMethod, dictionary,(fvMesh &mesh, const labelList &patchIDs),(mesh, patchIDs))