33 namespace sixDoFSolvers
74 v() = tConstraints() & (v0() + aDamp()*0.5*deltaT0*
a0());
75 pi() = rConstraints() & (pi0() + aDamp()*0.5*deltaT0*tau0());
77 centreOfRotation() = centreOfRotation0() + deltaT*v();
81 pi() = rConstraints() & Qpi.
second();
84 updateAcceleration(fGlobal, tauGlobal);
89 v() += tConstraints() & aDamp()*0.5*deltaT*a();
90 pi() += rConstraints() & aDamp()*0.5*deltaT*tau();
Six degree of freedom motion for a rigid body.
virtual ~symplectic()
Destructor.
A list of keyword definitions, which are a keyword followed by any number of values (e...
A 2-tuple for storing two objects of different types.
const Type1 & first() const
Return first.
defineTypeNameAndDebug(CrankNicolson, 0)
virtual void solve(bool firstIter, const vector &fGlobal, const vector &tauGlobal, scalar deltaT, scalar deltaT0)
Drag coefficient.
Macros for easy insertion into run-time selection tables.
addToRunTimeSelectionTable(sixDoFSolver, CrankNicolson, dictionary)
symplectic(const dictionary &dict, sixDoFRigidBodyMotion &body)
Construct from a dictionary and the body.
const Type2 & second() const
Return second.
const dimensionedScalar a0
Bohr radius: default SI units: [m].