Wrapper class for the velocityLaplacian motion solver. More...
#include <displacementMethodvelocityLaplacian.H>


Public Member Functions | |
| TypeName ("velocityLaplacian") | |
| Runtime type information. | |
| displacementMethodvelocityLaplacian (fvMesh &mesh, const labelList &patchIDs) | |
| Construct from components. | |
| virtual | ~displacementMethodvelocityLaplacian ()=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). | |
| 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. | |
| virtual void | boundControlField (vectorField &controlField) |
| Bound control field in certain directions etc. For methods working with parameters (RBF etc) does nothing by default. | |
| 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. | |
Protected Attributes | |
| pointVectorField & | pointMotionU_ |
| volVectorField & | cellMotionU_ |
| bool | resetFields_ |
| Protected Attributes inherited from displacementMethod | |
| fvMesh & | mesh_ |
| labelList | patchIDs_ |
| IDs of the patches to be moved. | |
| autoPtr< motionSolver > | motionPtr_ |
| scalar | maxDisplacement_ |
| bool | preferPointField_ |
| Whether the motion solver prefers a point of a vol field as input. | |
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. | |
Wrapper class for the velocityLaplacian motion solver.
Definition at line 50 of file displacementMethodvelocityLaplacian.H.
Construct from components.
Definition at line 45 of file displacementMethodvelocityLaplacian.C.
References cellMotionU_, mesh, displacementMethod::motionPtr_, patchIDs, pointMotionU_, Foam::refCast(), and resetFields_.

|
virtualdefault |
Destructor.
|
virtual |
Set motion filed related to model based on given motion.
Implements displacementMethod.
Definition at line 100 of file displacementMethodvelocityLaplacian.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), cellMotionU_, Foam::gMax(), Foam::mag(), Foam::max(), displacementMethod::maxDisplacement_, displacementMethod::patchIDs_, pointMotionU_, resetFields_, and VectorSpace< Form, Cmpt, Ncmpts >::zero.

|
virtual |
Set motion filed related to model based on given motion.
Implements displacementMethod.
Definition at line 146 of file displacementMethodvelocityLaplacian.C.
References NotImplemented.
|
virtual |
Set control field as a vectorField. For methods working with parameters (RBF etc).
Implements displacementMethod.
Definition at line 177 of file displacementMethodvelocityLaplacian.C.
References NotImplemented.
|
virtual |
Set control field as a vectorField. For methods working with parameters (RBF etc).
Implements displacementMethod.
Definition at line 186 of file displacementMethodvelocityLaplacian.C.
References NotImplemented.
|
protected |
Definition at line 58 of file displacementMethodvelocityLaplacian.H.
Referenced by displacementMethodvelocityLaplacian(), and setMotionField().
|
protected |
Definition at line 60 of file displacementMethodvelocityLaplacian.H.
Referenced by displacementMethodvelocityLaplacian(), and setMotionField().
|
protected |
Definition at line 62 of file displacementMethodvelocityLaplacian.H.
Referenced by displacementMethodvelocityLaplacian(), and setMotionField().