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