Public Member Functions | List of all members
symplectic Class Reference

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

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

Public Member Functions

 TypeName ("symplectic")
 
 symplectic (const dictionary &dict, sixDoFRigidBodyMotion &body)
 
virtual autoPtr< sixDoFSolverclone () const
 
virtual ~symplectic ()
 
virtual void solve (bool firstIter, const vector &fGlobal, const vector &tauGlobal, scalar deltaT, scalar deltaT0)
 
- Public Member Functions inherited from sixDoFSolver
 TypeName ("sixDoFSolver")
 
 declareRunTimeSelectionTable (autoPtr, sixDoFSolver, dictionary,(const dictionary &dict, sixDoFRigidBodyMotion &body),(dict, body))
 
 sixDoFSolver (const dictionary &dict, sixDoFRigidBodyMotion &body)
 
virtual ~sixDoFSolver ()
 
void write (Ostream &) const
 

Additional Inherited Members

- Static Public Member Functions inherited from sixDoFSolver
static autoPtr< sixDoFSolverNew (const dictionary &dict, sixDoFRigidBodyMotion &body)
 
- Protected Member Functions inherited from sixDoFSolver
pointcentreOfRotation ()
 
tensorQ ()
 
vectorv ()
 
vectora ()
 
vectorpi ()
 
vectortau ()
 
const pointcentreOfRotation0 () const
 
const tensorQ0 () const
 
const vectorv0 () const
 
const vectora0 () const
 
const vectorpi0 () const
 
const vectortau0 () const
 
scalar aDamp () const
 
tensor tConstraints () const
 
tensor rConstraints () const
 
Tuple2< tensor, vectorrotate (const tensor &Q0, const vector &pi, const scalar deltaT) const
 
void updateAcceleration (const vector &fGlobal, const vector &tauGlobal)
 
- Protected Attributes inherited from sixDoFSolver
sixDoFRigidBodyMotionbody_
 
dictionary dict_
 

Detailed Description

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

Reference:

    Dullweber, A., Leimkuhler, B., & McLachlan, R. (1997).
    Symplectic splitting methods for rigid body molecular dynamics.
    The Journal of chemical physics, 107(15), 5840-5851.

Can only be used for explicit integration of the motion of the body, i.e. may only be called once per time-step, no outer-correctors may be applied. For implicit integration with outer-correctors choose either CrankNicolson or Newmark schemes.

Example specification in dynamicMeshDict:

solver
{
    type    symplectic;
}
See also
Foam::sixDoFSolvers::CrankNicolson Foam::sixDoFSolvers::Newmark
Source files

Definition at line 75 of file symplectic.H.

Constructor & Destructor Documentation

◆ symplectic()

symplectic ( const dictionary dict,
sixDoFRigidBodyMotion body 
)

Definition at line 39 of file symplectic.C.

◆ ~symplectic()

~symplectic ( )
virtual

Definition at line 50 of file symplectic.C.

Member Function Documentation

◆ TypeName()

TypeName ( "symplectic"  )

◆ clone()

virtual autoPtr<sixDoFSolver> clone ( ) const
inlinevirtual

Implements sixDoFSolver.

Definition at line 96 of file symplectic.H.

References sixDoFSolver::body_, and sixDoFSolver::dict_.

◆ solve()

void solve ( bool  firstIter,
const vector fGlobal,
const vector tauGlobal,
scalar  deltaT,
scalar  deltaT0 
)
virtual

Implements sixDoFSolver.

Definition at line 57 of file symplectic.C.

References Foam::constant::atomic::a0, Tuple2::first(), Foam::constant::mathematical::pi(), and Tuple2::second().

Here is the call graph for this function:

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