Commit df16286a authored by mattijs's avatar mattijs

ENH: prescribedRotation: added comment

parent cae73831
......@@ -123,7 +123,10 @@ void Foam::RBD::restraints::prescribedRotation::restrain
scalar Inertia = mag(model_.I(model_.master(bodyID_)).Ic());
// from the definition of the angular momentum
// from the definition of the angular momentum:
// moment = Inertia*ddt(omega)
// with time step 1:
// moment = Inertia*(omega_wanted - omega)
vector moment
(
(Inertia * (omegaSet_.value(model_.time().value()) - omega) & a) * a
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment