Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
DAMotion Class Referenceabstract
Inheritance diagram for DAMotion:
Inheritance graph
[legend]
Collaboration diagram for DAMotion:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("DAMotion")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, DAMotion, dictionary,(const dynamicFvMesh &mesh, const DAOption &daOption),(mesh, daOption))
 
 DAMotion (const dynamicFvMesh &mesh, const DAOption &daOption)
 
virtual ~DAMotion ()
 
virtual void correct ()=0
 update the cell displacement More...
 
vector getForce (const dynamicFvMesh &mesh)
 calculate the force More...
 

Static Public Member Functions

static autoPtr< DAMotionNew (const dynamicFvMesh &mesh, const DAOption &daOption)
 

Protected Attributes

const dynamicFvMesh & mesh_
 fvMesh More...
 
const DAOptiondaOption_
 DAOption object. More...
 
wordList patchNames_
 patch names for the moving body More...
 

Detailed Description

Definition at line 29 of file DAMotion.H.

Constructor & Destructor Documentation

◆ DAMotion()

DAMotion ( const dynamicFvMesh &  mesh,
const DAOption daOption 
)

Definition at line 22 of file DAMotion.C.

◆ ~DAMotion()

virtual ~DAMotion ( )
inlinevirtual

Definition at line 80 of file DAMotion.H.

Member Function Documentation

◆ TypeName()

TypeName ( "DAMotion"  )

Runtime type information.

◆ declareRunTimeSelectionTable()

declareRunTimeSelectionTable ( autoPtr  ,
DAMotion  ,
dictionary  ,
(const dynamicFvMesh &mesh, const DAOption &daOption ,
(mesh, daOption  
)

◆ New()

autoPtr< DAMotion > New ( const dynamicFvMesh &  mesh,
const DAOption daOption 
)
static

Definition at line 32 of file DAMotion.C.

References daOption(), and mesh.

Referenced by DAPimpleDyMFoam::solvePrimal().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ correct()

virtual void correct ( )
pure virtual

update the cell displacement

Implemented in DAMotionTranslationCoupled, DAMotionTranslation, and DAMotionDummy.

◆ getForce()

vector getForce ( const dynamicFvMesh &  mesh)

calculate the force

Definition at line 72 of file DAMotion.C.

References forAll(), mesh, p, DAMotion::patchNames_, and U.

Referenced by DAMotionTranslationCoupled::correct().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ mesh_

const dynamicFvMesh& mesh_
protected

fvMesh

Definition at line 41 of file DAMotion.H.

Referenced by DAMotionTranslation::correct(), and DAMotionTranslationCoupled::correct().

◆ daOption_

const DAOption& daOption_
protected

◆ patchNames_

wordList patchNames_
protected

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