Loading...
Searching...
No Matches
displacementMethodvolumetricBSplinesMotionSolver Class Reference

Wrapper class for the volumetricBSplinesMotionSolver motion solver. More...

#include <displacementMethodvolumetricBSplinesMotionSolver.H>

Inheritance diagram for displacementMethodvolumetricBSplinesMotionSolver:
Collaboration diagram for displacementMethodvolumetricBSplinesMotionSolver:

Public Member Functions

 TypeName ("volumetricBSplinesMotionSolver")
 Runtime type information.
 displacementMethodvolumetricBSplinesMotionSolver (fvMesh &mesh, const labelList &patchIDs)
 Construct from components.
virtual ~displacementMethodvolumetricBSplinesMotionSolver ()=default
 Destructor.
void setMotionField (const pointVectorField &pointMovement)
 Set motion filed related to model based on given motion.
void setMotionField (const volVectorField &cellMovement)
 Set motion filed related to model based on given motion.
void setControlField (const vectorField &controlField)
 Set control field as a vectorField. For methods working with parameters (RBF etc).
void setControlField (const scalarField &controlField)
 Set control field as a vectorField. For methods working with parameters (RBF etc).
void boundControlField (vectorField &controlField)
 Bound control field in certain directions etc. For methods working with parameters (RBF etc).
Public Member Functions inherited from displacementMethod
 TypeName ("displacementMethod")
 Runtime type information.
 declareRunTimeSelectionTable (autoPtr, displacementMethod, dictionary,(fvMesh &mesh, const labelList &patchIDs),(mesh, patchIDs))
 displacementMethod (fvMesh &mesh, const labelList &patchIDs)
 Construct from components.
virtual ~displacementMethod ()=default
 Destructor.
virtual bool preferPointField () const
 Whether the motion solver prefers a point of a vol field as input.
autoPtr< motionSolver > & getMotionSolver ()
 Get access to motionSolver.
scalar getMaxDisplacement () const
 Get max displacement.
void setPatchIDs (const labelList &patchIDs)
 Set parametertised patch IDs.
void update ()
 Update mesh.

Additional Inherited Members

Static Public Member Functions inherited from displacementMethod
static autoPtr< displacementMethod > New (fvMesh &mesh, const labelList &patchIDs)
 Return a reference to the selected turbulence model.
Protected Attributes inherited from displacementMethod
fvMeshmesh_
labelList patchIDs_
 IDs of the patches to be moved.
autoPtr< motionSolvermotionPtr_
scalar maxDisplacement_
bool preferPointField_
 Whether the motion solver prefers a point of a vol field as input.

Detailed Description

Constructor & Destructor Documentation

◆ displacementMethodvolumetricBSplinesMotionSolver()

displacementMethodvolumetricBSplinesMotionSolver ( fvMesh & mesh,
const labelList & patchIDs )

Construct from components.

Definition at line 43 of file displacementMethodvolumetricBSplinesMotionSolver.C.

References mesh, and patchIDs.

◆ ~displacementMethodvolumetricBSplinesMotionSolver()

virtual ~displacementMethodvolumetricBSplinesMotionSolver ( )
virtualdefault

Destructor.

Member Function Documentation

◆ TypeName()

TypeName ( "volumetricBSplinesMotionSolver" )

Runtime type information.

References mesh, and patchIDs.

◆ setMotionField() [1/2]

void setMotionField ( const pointVectorField & pointMovement)
virtual

Set motion filed related to model based on given motion.

Implements displacementMethod.

Definition at line 56 of file displacementMethodvolumetricBSplinesMotionSolver.C.

References NotImplemented.

◆ setMotionField() [2/2]

void setMotionField ( const volVectorField & cellMovement)
virtual

Set motion filed related to model based on given motion.

Implements displacementMethod.

Definition at line 65 of file displacementMethodvolumetricBSplinesMotionSolver.C.

References NotImplemented.

◆ setControlField() [1/2]

void setControlField ( const vectorField & controlField)
virtual

Set control field as a vectorField. For methods working with parameters (RBF etc).

Implements displacementMethod.

Definition at line 74 of file displacementMethodvolumetricBSplinesMotionSolver.C.

References displacementMethod::motionPtr_, and Foam::refCast().

Here is the call graph for this function:

◆ setControlField() [2/2]

void setControlField ( const scalarField & controlField)
virtual

Set control field as a vectorField. For methods working with parameters (RBF etc).

Implements displacementMethod.

Definition at line 87 of file displacementMethodvolumetricBSplinesMotionSolver.C.

References NotImplemented.

◆ boundControlField()

void boundControlField ( vectorField & controlField)
virtual

Bound control field in certain directions etc. For methods working with parameters (RBF etc).

Reimplemented from displacementMethod.

Definition at line 96 of file displacementMethodvolumetricBSplinesMotionSolver.C.

References displacementMethod::motionPtr_, and Foam::refCast().

Here is the call graph for this function:

The documentation for this class was generated from the following files: