Wrapper class for the velocityLaplacian motion solver. More...
Public Member Functions | |
TypeName ("laplacianMotionSolver") | |
Runtime type information. More... | |
displacementMethodlaplacianMotionSolver (fvMesh &mesh, const labelList &patchIDs) | |
Construct from components. More... | |
virtual | ~displacementMethodlaplacianMotionSolver ()=default |
Destructor. 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) |
void | setControlField (const scalarField &controlField) |
![]() | |
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) |
autoPtr< motionSolver > & | getMotionSolver () |
Get access to motionSolver. More... | |
scalar | getMaxDisplacement () const |
Get max displacement. More... | |
void | update () |
Update mesh. More... | |
Protected Attributes | |
pointVectorField & | pointMotionU_ |
volVectorField & | cellMotionU_ |
bool | resetFields_ |
![]() | |
fvMesh & | mesh_ |
const labelList & | patchIDs_ |
IDs of the patches to be moved. More... | |
autoPtr< motionSolver > | motionPtr_ |
scalar | maxDisplacement_ |
Additional Inherited Members | |
![]() | |
static autoPtr< displacementMethod > | New (fvMesh &mesh, const labelList &patchIDs) |
Return a reference to the selected turbulence model. More... | |
Wrapper class for the velocityLaplacian motion solver.
Definition at line 53 of file displacementMethodlaplacianMotionSolver.H.
displacementMethodlaplacianMotionSolver | ( | fvMesh & | mesh, |
const labelList & | patchIDs | ||
) |
Construct from components.
Definition at line 52 of file displacementMethodlaplacianMotionSolver.C.
|
virtualdefault |
Destructor.
TypeName | ( | "laplacianMotionSolver" | ) |
Runtime type information.
|
virtual |
Set motion filed related to model based on given motion.
Implements displacementMethod.
Definition at line 103 of file displacementMethodlaplacianMotionSolver.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), Foam::gMax(), Foam::mag(), Foam::max(), and VectorSpace< Vector< scalar >, scalar, 3 >::zero.
|
virtual |
Set motion filed related to model based on given motion.
Implements displacementMethod.
Definition at line 149 of file displacementMethodlaplacianMotionSolver.C.
References NotImplemented.
|
virtual |
Set control field as a vectorField. For methods working with parameters (RBF etc)
Implements displacementMethod.
Definition at line 179 of file displacementMethodlaplacianMotionSolver.C.
References NotImplemented.
|
virtual |
Set control field as a vectorField. For methods working with parameters (RBF etc)
Implements displacementMethod.
Definition at line 188 of file displacementMethodlaplacianMotionSolver.C.
References NotImplemented.
|
protected |
Definition at line 61 of file displacementMethodlaplacianMotionSolver.H.
|
protected |
Definition at line 63 of file displacementMethodlaplacianMotionSolver.H.
|
protected |
Definition at line 65 of file displacementMethodlaplacianMotionSolver.H.