displacementMethodelasticityMotionSolver Class Reference

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

Inheritance diagram for displacementMethodelasticityMotionSolver:
[legend]
Collaboration diagram for displacementMethodelasticityMotionSolver:
[legend]

Public Member Functions

 TypeName ("elasticityMotionSolver")
 Runtime type information. More...
 
 displacementMethodelasticityMotionSolver (fvMesh &mesh, const labelList &patchIDs)
 Construct from components. More...
 
virtual ~displacementMethodelasticityMotionSolver ()=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)
 
- 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)
 
autoPtr< motionSolver > & getMotionSolver ()
 Get access to motionSolver. More...
 
scalar getMaxDisplacement () const
 Get max displacement. More...
 
void update ()
 Update mesh. More...
 

Protected Attributes

pointVectorFieldpointMotionU_
 
volVectorFieldcellMotionU_
 
bool resetFields_
 
- Protected Attributes inherited from displacementMethod
fvMeshmesh_
 
const labelListpatchIDs_
 IDs of the patches to be moved. More...
 
autoPtr< motionSolvermotionPtr_
 
scalar maxDisplacement_
 

Additional Inherited Members

- Static Public Member Functions inherited from displacementMethod
static autoPtr< displacementMethodNew (fvMesh &mesh, const labelList &patchIDs)
 Return a reference to the selected turbulence model. More...
 

Detailed Description

Constructor & Destructor Documentation

◆ displacementMethodelasticityMotionSolver()

displacementMethodelasticityMotionSolver ( fvMesh mesh,
const labelList patchIDs 
)

Construct from components.

Definition at line 53 of file displacementMethodelasticityMotionSolver.C.

◆ ~displacementMethodelasticityMotionSolver()

virtual ~displacementMethodelasticityMotionSolver ( )
virtualdefault

Destructor.

Member Function Documentation

◆ TypeName()

TypeName ( "elasticityMotionSolver"  )

Runtime type information.

◆ setMotionField() [1/2]

void setMotionField ( const pointVectorField pointMovement)
virtual

Set motion filed related to model based on given motion.

Implements displacementMethod.

Definition at line 104 of file displacementMethodelasticityMotionSolver.C.

References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), forAll, Foam::gMax(), Foam::mag(), Foam::max(), Foam::foamVersion::patch, points, and VectorSpace< Vector< scalar >, scalar, 3 >::zero.

Here is the call graph for this function:

◆ setMotionField() [2/2]

void setMotionField ( const volVectorField cellMovement)
virtual

Set motion filed related to model based on given motion.

Implements displacementMethod.

Definition at line 165 of file displacementMethodelasticityMotionSolver.C.

References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), forAll, Foam::gMax(), Foam::mag(), and Foam::max().

Here is the call graph for this function:

◆ 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 195 of file displacementMethodelasticityMotionSolver.C.

References NotImplemented.

◆ 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 204 of file displacementMethodelasticityMotionSolver.C.

References NotImplemented.

Member Data Documentation

◆ pointMotionU_

pointVectorField& pointMotionU_
protected

Definition at line 61 of file displacementMethodelasticityMotionSolver.H.

◆ cellMotionU_

volVectorField& cellMotionU_
protected

Definition at line 63 of file displacementMethodelasticityMotionSolver.H.

◆ resetFields_

bool resetFields_
protected

Definition at line 65 of file displacementMethodelasticityMotionSolver.H.


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