Re: Rigid Body dynamics and solution methods



Preben wrote:
Just to sum up what I really have done... It seems like this could be an
advantage for me and you.

Now I solve the systems of equations:

M * mu = - F - T

to find the constraint force multipliers and next calculate the
accelerations :

ublas::vector<double> accel = -dV + prod(trans(dG), mu);
for (unsigned int i = 0; i < m.size(); ++i) {
accel(i) = accel(i)/m(i);
}

now it should be possible to use a method for solving the equations of
motion!


Is this a bad method?

It is not completely wrong, but it has enabled you to ignore a very pertinent
fact, namely that the accelerations depend on the velocities. In a pure
rigid-body case these terms give rise to centripetal and Coriolis-like
forces.

If you attempt to integrate such a Hamiltonian in generalised
co-ordinates using standard velocity-Verlet or any other straightforward
integration algorithm you will find that energy is not conserved. This
is because you are implicitly using the velocities from step n but
co-ordinates from n+1 to evaluate the accelerations. Please re-read
my earlier posting where you will find a better discussion of this issue.

Keith Refson

--
Dr Keith Refson,
Building R3
Rutherford Appleton Laboratory
Chilton
Didcot kr AT
Oxfordshire OX11 0QX isise D@T rl D.T ac D?T uk
.



Relevant Pages

  • Re: help with quaternions! a.k.a combining IMU and GPS data
    ... Simply, from the INU you get accelerations and angular accelerations, ... and from the GPS you get velocities and position... ... the earth frame and this is where the quanternions come into play. ... are in the vehicle frame as this is a so called "strap down" IMU. ...
    (sci.geo.satellite-nav)
  • Re: Rigid Body dynamics and solution methods
    ... to find the constraint force multipliers and next calculate the ... namely that the accelerations depend on the velocities. ... I should have access to both journals from the university network, but I cannot really find any of those articles. ...
    (sci.math.num-analysis)
  • numerical intgration
    ... I have a set of numbers (accelerations) and I would like to integrate ... so that I get velocities and position. ... I have tried Eulers method, ... but the answer is very inaccurate (it actually diverges, ...
    (comp.soft-sys.matlab)