33 namespace sixDoFSolvers
55 0.25*
sqr(gamma_ + 0.5),
80 updateAcceleration(fGlobal, tauGlobal);
85 & (v0() + aDamp()*deltaT*(gamma_*a() + (1 - gamma_)*
a0()));
90 & (pi0() + aDamp()*deltaT*(gamma_*tau() + (1 - gamma_)*tau0()));
99 + aDamp()*
sqr(deltaT)*(beta_*a() + (0.5 - beta_)*
a0())
108 + aDamp()*
sqr(deltaT)*(beta_*tau() + (0.5 - beta_)*tau0())
Six degree of freedom motion for a rigid body.
A list of keyword definitions, which are a keyword followed by any number of values (e...
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
A 2-tuple for storing two objects of different types.
const Type1 & first() const
Return first.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
virtual ~Newmark()
Destructor.
defineTypeNameAndDebug(CrankNicolson, 0)
Macros for easy insertion into run-time selection tables.
Newmark(const dictionary &dict, sixDoFRigidBodyMotion &body)
Construct from a dictionary and the body.
addToRunTimeSelectionTable(sixDoFSolver, CrankNicolson, dictionary)
virtual void solve(bool firstIter, const vector &fGlobal, const vector &tauGlobal, scalar deltaT, scalar deltaT0)
Drag coefficient.
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T,.
const dimensionedScalar a0
Bohr radius: default SI units: [m].