Public Member Functions | List of all members
Newmark Class Reference

Newmark 2nd-order time-integrator for 6DoF solid-body motion. More...

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

Public Member Functions

 TypeName ("Newmark")
 Runtime type information. More...
 
 Newmark (rigidBodyMotion &body, const dictionary &dict)
 Construct for the given body from dictionary. More...
 
virtual ~Newmark ()
 Destructor. More...
 
virtual void solve (const scalarField &tau, const Field< spatialVector > &fx)
 Integrate the rigid-body motion for one time-step. More...
 
- Public Member Functions inherited from rigidBodySolver
 TypeName ("rigidBodySolver")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, rigidBodySolver, dictionary,(rigidBodyMotion &body, const dictionary &dict),(body, dict))
 
 rigidBodySolver (rigidBodyMotion &body)
 
virtual ~rigidBodySolver ()
 Destructor. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from rigidBodySolver
static autoPtr< rigidBodySolverNew (rigidBodyMotion &body, const dictionary &dict)
 
- Protected Member Functions inherited from rigidBodySolver
rigidBodyModelStatestate ()
 Return the motion state. More...
 
scalarFieldq ()
 Return the current joint position and orientation. More...
 
scalarFieldqDot ()
 Return the current joint quaternion. More...
 
scalarFieldqDdot ()
 Return the current joint acceleration. More...
 
scalar deltaT () const
 Return the current time-step. More...
 
const rigidBodyModelStatestate0 () const
 Return the previous motion state. More...
 
const scalarFieldq0 () const
 Return the current joint position and orientation. More...
 
const scalarFieldqDot0 () const
 Return the current joint quaternion. More...
 
const scalarFieldqDdot0 () const
 Return the current joint acceleration. More...
 
scalar deltaT0 () const
 Return the previous time-step. More...
 
void correctQuaternionJoints ()
 Correct the quaternion joints based on the current change in q. More...
 
- Protected Attributes inherited from rigidBodySolver
rigidBodyMotionmodel_
 The rigid-body model. More...
 

Detailed Description

Newmark 2nd-order time-integrator for 6DoF solid-body motion.

Reference:

    Newmark, N. M. (1959).
    A method of computation for structural dynamics.
    Journal of the Engineering Mechanics Division, 85(3), 67-94.

Example specification in dynamicMeshDict:

solver
{
    type    Newmark;
    gamma   0.5;    // Velocity integration coefficient
    beta    0.25;   // Position integration coefficient
}
Source files

Definition at line 69 of file Newmark.H.

Constructor & Destructor Documentation

Newmark ( rigidBodyMotion body,
const dictionary dict 
)

Construct for the given body from dictionary.

Definition at line 47 of file Newmark.C.

~Newmark ( )
virtual

Destructor.

Definition at line 67 of file Newmark.C.

References Newmark::solve().

Here is the call graph for this function:

Member Function Documentation

TypeName ( "Newmark"  )

Runtime type information.

void solve ( const scalarField tau,
const Field< spatialVector > &  fx 
)
virtual

Integrate the rigid-body motion for one time-step.

Implements rigidBodySolver.

Definition at line 74 of file Newmark.C.

References Foam::sqr().

Referenced by Newmark::~Newmark().

Here is the call graph for this function:

Here is the caller graph for this function:


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