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

Public Member Functions

 TypeName ("translation")
 
 DAMotionTranslation (const dynamicFvMesh &mesh, const DAOption &daOption)
 
virtual ~DAMotionTranslation ()
 
virtual void correct ()
 update the cell displacement More...
 
- Public Member Functions inherited from DAMotion
 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 ()
 
vector getForce (const dynamicFvMesh &mesh)
 calculate the force More...
 

Protected Attributes

scalar amplitude_
 amplitude of the translation oscillation More...
 
scalar frequency_
 frequency of the translation oscillation More...
 
scalar phase_
 phase of the translation oscillation More...
 
vector direction_ = vector::zero
 direction of the translation oscillation More...
 
- Protected Attributes inherited from DAMotion
const dynamicFvMesh & mesh_
 fvMesh More...
 
const DAOptiondaOption_
 DAOption object. More...
 
wordList patchNames_
 patch names for the moving body More...
 

Additional Inherited Members

- Static Public Member Functions inherited from DAMotion
static autoPtr< DAMotionNew (const dynamicFvMesh &mesh, const DAOption &daOption)
 

Detailed Description

Definition at line 26 of file DAMotionTranslation.H.

Constructor & Destructor Documentation

◆ DAMotionTranslation()

DAMotionTranslation ( const dynamicFvMesh &  mesh,
const DAOption daOption 
)

◆ ~DAMotionTranslation()

virtual ~DAMotionTranslation ( )
inlinevirtual

Definition at line 53 of file DAMotionTranslation.H.

Member Function Documentation

◆ TypeName()

TypeName ( "translation"  )

◆ correct()

void correct ( )
virtual

update the cell displacement

Implements DAMotion.

Definition at line 37 of file DAMotionTranslation.C.

References DAMotionTranslation::amplitude_, DAMotionTranslation::direction_, forAll(), DAMotionTranslation::frequency_, DAMotion::mesh_, DAMotion::patchNames_, and DAMotionTranslation::phase_.

Here is the call graph for this function:

Member Data Documentation

◆ amplitude_

scalar amplitude_
protected

amplitude of the translation oscillation

Definition at line 32 of file DAMotionTranslation.H.

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

◆ frequency_

scalar frequency_
protected

frequency of the translation oscillation

Definition at line 35 of file DAMotionTranslation.H.

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

◆ phase_

scalar phase_
protected

phase of the translation oscillation

Definition at line 38 of file DAMotionTranslation.H.

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

◆ direction_

vector direction_ = vector::zero
protected

direction of the translation oscillation

Definition at line 41 of file DAMotionTranslation.H.

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


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