Public Member Functions | Protected Attributes | List of all members
displacementMethodelasticityMotionSolver Class Reference

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

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

Public Member Functions

 TypeName ("elasticityMotionSolver")
 
 displacementMethodelasticityMotionSolver (fvMesh &mesh, const labelList &patchIDs)
 
virtual ~displacementMethodelasticityMotionSolver ()=default
 
void setMotionField (const pointVectorField &pointMovement)
 
void setMotionField (const volVectorField &cellMovement)
 
void setControlField (const vectorField &controlField)
 
void setControlField (const scalarField &controlField)
 
- Public Member Functions inherited from displacementMethod
 TypeName ("displacementMethod")
 
 declareRunTimeSelectionTable (autoPtr, displacementMethod, dictionary,(fvMesh &mesh, const labelList &patchIDs),(mesh, patchIDs))
 
 displacementMethod (fvMesh &mesh, const labelList &patchIDs)
 
virtual ~displacementMethod ()=default
 
virtual void boundControlField (vectorField &controlField)
 
autoPtr< motionSolver > & getMotionSolver ()
 
scalar getMaxDisplacement () const
 
void update ()
 

Protected Attributes

pointVectorFieldpointMotionU_
 
volVectorFieldcellMotionU_
 
bool resetFields_
 
- Protected Attributes inherited from displacementMethod
fvMeshmesh_
 
const labelListpatchIDs_
 
autoPtr< motionSolvermotionPtr_
 
scalar maxDisplacement_
 

Additional Inherited Members

- Static Public Member Functions inherited from displacementMethod
static autoPtr< displacementMethodNew (fvMesh &mesh, const labelList &patchIDs)
 

Detailed Description

Wrapper class for the elasticityMotionSolver motion solver.

Source files

Definition at line 49 of file displacementMethodelasticityMotionSolver.H.

Constructor & Destructor Documentation

◆ displacementMethodelasticityMotionSolver()

displacementMethodelasticityMotionSolver ( fvMesh mesh,
const labelList patchIDs 
)

Definition at line 46 of file displacementMethodelasticityMotionSolver.C.

◆ ~displacementMethodelasticityMotionSolver()

virtual ~displacementMethodelasticityMotionSolver ( )
virtualdefault

Member Function Documentation

◆ TypeName()

TypeName ( "elasticityMotionSolver"  )

◆ setMotionField() [1/2]

void setMotionField ( const pointVectorField pointMovement)
virtual

◆ setMotionField() [2/2]

void setMotionField ( const volVectorField cellMovement)
virtual

Implements displacementMethod.

Definition at line 158 of file displacementMethodelasticityMotionSolver.C.

References GeometricField::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

Implements displacementMethod.

Definition at line 188 of file displacementMethodelasticityMotionSolver.C.

References NotImplemented.

◆ setControlField() [2/2]

void setControlField ( const scalarField controlField)
virtual

Implements displacementMethod.

Definition at line 197 of file displacementMethodelasticityMotionSolver.C.

References NotImplemented.

Member Data Documentation

◆ pointMotionU_

pointVectorField& pointMotionU_
protected

Definition at line 57 of file displacementMethodelasticityMotionSolver.H.

◆ cellMotionU_

volVectorField& cellMotionU_
protected

Definition at line 59 of file displacementMethodelasticityMotionSolver.H.

◆ resetFields_

bool resetFields_
protected

Definition at line 61 of file displacementMethodelasticityMotionSolver.H.


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