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


Public Member Functions | |
| TypeName ("pLaplacianMotionSolver") | |
| Runtime type information. More... | |
| displacementMethodpLaplacianMotionSolver (fvMesh &mesh, const labelList &patchIDs) | |
| Construct from components. More... | |
| virtual | ~displacementMethodpLaplacianMotionSolver ()=default |
| Destructor. More... | |
| virtual bool | preferPointField () const |
| Whether the motion solver prefers a point of a vol field as input. More... | |
| void | setMotionField (const pointVectorField &pointMovement) |
| Set motion filed related to model based on given motion. More... | |
| void | setMotionField (const volVectorField &cellMovement) |
| Set motion filed related to model based on given motion. More... | |
| void | setControlField (const vectorField &controlField) |
| Set control field as a vectorField. For methods working with parameters (RBF etc) More... | |
| void | setControlField (const scalarField &controlField) |
| Set control field as a vectorField. For methods working with parameters (RBF etc) More... | |
Public Member Functions inherited from displacementMethod | |
| TypeName ("displacementMethod") | |
| Runtime type information. More... | |
| declareRunTimeSelectionTable (autoPtr, displacementMethod, dictionary,(fvMesh &mesh, const labelList &patchIDs),(mesh, patchIDs)) | |
| displacementMethod (fvMesh &mesh, const labelList &patchIDs) | |
| Construct from components. More... | |
| virtual | ~displacementMethod ()=default |
| Destructor. More... | |
| virtual void | boundControlField (vectorField &controlField) |
| Bound control field in certain directions etc. For methods working with parameters (RBF etc) does nothing by default. More... | |
| autoPtr< motionSolver > & | getMotionSolver () |
| Get access to motionSolver. More... | |
| scalar | getMaxDisplacement () const |
| Get max displacement. More... | |
| void | setPatchIDs (const labelList &patchIDs) |
| Set parametertised patch IDs. More... | |
| void | update () |
| Update mesh. More... | |
Protected Attributes | |
| pointVectorField & | pointMotionU_ |
| volVectorField & | cellMotionU_ |
| bool | resetFields_ |
Protected Attributes inherited from displacementMethod | |
| fvMesh & | mesh_ |
| labelList | patchIDs_ |
| IDs of the patches to be moved. More... | |
| autoPtr< motionSolver > | motionPtr_ |
| scalar | maxDisplacement_ |
| bool | preferPointField_ |
| Whether the motion solver prefers a point of a vol field as input. More... | |
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. More... | |
Wrapper class for the pLaplacian motion solver.
Definition at line 48 of file displacementMethodpLaplacianMotionSolver.H.
| displacementMethodpLaplacianMotionSolver | ( | fvMesh & | mesh, |
| const labelList & | patchIDs | ||
| ) |
Construct from components.
Definition at line 44 of file displacementMethodpLaplacianMotionSolver.C.
|
virtualdefault |
Destructor.
| TypeName | ( | "pLaplacianMotionSolver" | ) |
Runtime type information.
|
virtual |
Whether the motion solver prefers a point of a vol field as input.
Reimplemented from displacementMethod.
Definition at line 76 of file displacementMethodpLaplacianMotionSolver.C.
|
virtual |
Set motion filed related to model based on given motion.
Implements displacementMethod.
Definition at line 83 of file displacementMethodpLaplacianMotionSolver.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), Foam::gMax(), Foam::mag(), Foam::max(), and Foam::Zero.

|
virtual |
Set motion filed related to model based on given motion.
Implements displacementMethod.
Definition at line 133 of file displacementMethodpLaplacianMotionSolver.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), Foam::gMax(), Foam::mag(), Foam::max(), and Foam::Zero.

|
virtual |
Set control field as a vectorField. For methods working with parameters (RBF etc)
Implements displacementMethod.
Definition at line 163 of file displacementMethodpLaplacianMotionSolver.C.
References NotImplemented.
|
virtual |
Set control field as a vectorField. For methods working with parameters (RBF etc)
Implements displacementMethod.
Definition at line 172 of file displacementMethodpLaplacianMotionSolver.C.
References NotImplemented.
|
protected |
Definition at line 56 of file displacementMethodpLaplacianMotionSolver.H.
|
protected |
Definition at line 58 of file displacementMethodpLaplacianMotionSolver.H.
|
protected |
Definition at line 60 of file displacementMethodpLaplacianMotionSolver.H.