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

Public Member Functions

 TypeName ("translationCoupled")
 
 DAMotionTranslationCoupled (const dynamicFvMesh &mesh, const DAOption &daOption)
 
virtual ~DAMotionTranslationCoupled ()
 
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 M_
 mass of the object More...
 
scalar C_
 spring damping coefficient More...
 
scalar K_
 spring stiffness constant More...
 
scalar forceScale_
 scaling factor for force More...
 
vector direction_ = vector::zero
 spring oscillation direction More...
 
scalar y_
 location for the current step More...
 
scalar V_
 velocity for the current step More...
 
scalar y0_
 location from the previous step More...
 
scalar V0_
 velocity from the previous step More...
 
scalar t_
 the simulation time based on dT and it should be same as the runtime 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 42 of file DAMotionTranslationCoupled.H.

Constructor & Destructor Documentation

◆ DAMotionTranslationCoupled()

DAMotionTranslationCoupled ( const dynamicFvMesh &  mesh,
const DAOption daOption 
)

◆ ~DAMotionTranslationCoupled()

virtual ~DAMotionTranslationCoupled ( )
inlinevirtual

Definition at line 87 of file DAMotionTranslationCoupled.H.

Member Function Documentation

◆ TypeName()

TypeName ( "translationCoupled"  )

◆ correct()

void correct ( )
virtual

Member Data Documentation

◆ M_

scalar M_
protected

◆ C_

scalar C_
protected

◆ K_

scalar K_
protected

◆ forceScale_

scalar forceScale_
protected

◆ direction_

vector direction_ = vector::zero
protected

spring oscillation direction

Definition at line 60 of file DAMotionTranslationCoupled.H.

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

◆ y_

scalar y_
protected

location for the current step

Definition at line 63 of file DAMotionTranslationCoupled.H.

Referenced by DAMotionTranslationCoupled::correct().

◆ V_

scalar V_
protected

velocity for the current step

Definition at line 66 of file DAMotionTranslationCoupled.H.

Referenced by DAMotionTranslationCoupled::correct().

◆ y0_

scalar y0_
protected

location from the previous step

Definition at line 69 of file DAMotionTranslationCoupled.H.

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

◆ V0_

scalar V0_
protected

velocity from the previous step

Definition at line 72 of file DAMotionTranslationCoupled.H.

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

◆ t_

scalar t_
protected

the simulation time based on dT and it should be same as the runtime

Definition at line 75 of file DAMotionTranslationCoupled.H.

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


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