← Back to team overview

yade-dev team mailing list archive

Re: MomentumLaw

 

sega napsal(a):
> Hi!
> Is NewtonsMomentumLaw correctly for non-spherical bodies?
> As I understand, inertia tensor raised in the principal axes, but the
> momentum raised in the global axes... So
>
> rb->angularAcceleration=diagDiv(am->momentum,rb->inertia);
>
> is not correct, as me seems...
>   
It seems indeed invalid; inertia tensor is in body-local (=principal)
axes and the PhysicalActionApplier doesn't do any transformation before
the physical action (which is in global coordinates) is applied. (I am
wondering whether this might be the reason that the exact tetrahedra
implementation I attempted never worked right?).



_______________________________________________
yade-dev mailing list
yade-dev@xxxxxxxxxxxxxxxx
https://lists.berlios.de/mailman/listinfo/yade-dev



References