0
$\begingroup$

The question stems from wanting to implement a rigid body dynamics simulation without resorting to any of the well-known concepts that are commonly used, such as moment of inertia, torque, and angular velocity. I only want to use f=ma on point masses, together with some other notion of force transfer that I haven't identified yet.

Here is my model of the problem. A massless support structure (light blue), with some small heavy spheres (black) embedded. The spheres are precisely embedded in the structure and they are not allowed to move around in it, although they can revolve on themselves; there is no friction between the spheres and the support structure. The structure is only intended as a conceptual device to transmit forces; it delivers external forces such as f to the spheres, and mutual internal forces between spheres, that are responsible for keeping them at constant distances to each other.

Diagram of the model

The problem Let's assume that we know each mass m[i], the external force f with its point of application q, and all the state variables in the system, that is, I think, all the positions p[i] and velocities v[i] for each point-like mass. We want to compute all accelerations a[i].

The questions

  • Is the problem above well-defined?
  • In other words, is the acceleration a[i] a function of all the other variables mentioned above?
  • Is this function analytic?
$\endgroup$

2 Answers 2

4
$\begingroup$

You can do it, and it will be well defined. The key would be adding the constraints for a rigid body: the distances between masses never changes.

That being said, what you are doing is really inventing the exact mathematical problem that leads to things like moments of inertia. If successful, you will have found a way to simulate something in 1,000 equations that we know how to simulate in 4.

If you are interested in first principles, may I recommend delving into group theory. Once you understand that the rigid body assumptions define a group E(3), you will see that the system you created can only be the same as the usual set of equations

However, if you toss out the rigid body assumptions, and instead do something like springs between masses, you get into finite element analysis, which is a really strange interesting thing.

$\endgroup$
9
  • 1
    $\begingroup$ Nice answer (+1) I am curious whether modeling using "springs between masses" automatically means that we are modeling a rigid body deep down? Can "springs between masses" be used to model liquid or gas particles where the distances/locations between molecules are not rigid? $\endgroup$
    – James
    Commented Aug 31 at 2:35
  • 2
    $\begingroup$ @James If you have springs between masses, the object is no longer a rigid body at all. It is an elastic body, if I had to give it a name. You can accelerate some masses and it takes a while for that acceleration to propagate to the others. And this model is indeed used to model liquids and gas particles. You would want something less rigid than a collection of springs pre-structured, but the pattern of applying forces through a force transmission element would still apply. $\endgroup$
    – Cort Ammon
    Commented Aug 31 at 2:46
  • 2
    $\begingroup$ This is actually really important for some relatavistic paradoxes. There are some famous problems, like fitting a ladder in a garage that's too long to fit (if you go fast enough, length contraction lets you fit it in). Paradoxes arise, and many of them are resolved by the fact that in such relatavistic scenarios, we can no longer treat the ladder as a rigid body. We have to recognize that it has some extent and cannot transmit force from one side to the other instantaniously. $\endgroup$
    – Cort Ammon
    Commented Aug 31 at 2:48
  • 2
    $\begingroup$ And, just to drop names, the finite element analysis of a liquid or gas is called computational fluid dynamics. Although they don't always use a bunch of masses like this (sometimes it's easier to use volumes instead of masses) $\endgroup$
    – Cort Ammon
    Commented Aug 31 at 2:50
  • 1
    $\begingroup$ Thank you for the helpful information. On a more abstract note, second quantization of QFT is modeled as "springs between masses", does this imply that it is actually modeling an elastic solid? $\endgroup$
    – James
    Commented Aug 31 at 4:56
1
$\begingroup$

As stated in @CortAmmon's answer, the problem can be resolved as you suggest, provided the correct number of independent rigidity constraints is added to the external forces.

I would not be negative about that idea, as in the mentioned answer, because in some cases, the numerical solution of the constrained equations of motion can be preferred over the integration of the rigid body equation for motion around the center of mass.

Algorithms for numerical integration of the equations of motion in the presence of rigidity constraints have been developed over the years. However, a word of caution is necessary to avoid a naive implementation. In particular, it is important to be aware that evaluating the constraint reaction forces (for example, through the Lagrange multiplier technique) is not enough. If we use them in the numerical integration algorithm, the constraint would be satisfied only within its accuracy. For example, using a symplectic Verlet algorithm, we would get the rigidity constraint satisfied only with a global error proportional to the square of the time step. That is not acceptable in the majority of the cases.

Special algorithms dependent on the integration algorithm have been introduced since the pioneering work by Ciccotti and Ryckaert, as summarized in the review paper G. Ciccotti, and J.-P. Ryckaert. "Molecular dynamics simulation of rigid molecules." Computer Physics Reports 4 (1986): 346-392. The basic idea behind such algorithms is to satisfy the constraint with the maximum accuracy at each time step, introducing an error in the constraint forces that is not larger than the integration algorithm error. The cited paper provides more details.

$\endgroup$
2
  • $\begingroup$ Thank you, this is really great information! global error proportional to the square of the time step sounds definitely like a problem in practice, but my goal is to gain a basic understanding of how this kind of thing could work, so it's probably good enough for me. I'll take a look at that paper. Thanks! $\endgroup$
    – damix911
    Commented Aug 31 at 22:29
  • 1
    $\begingroup$ @damix911 I suggest you practice the numerical integration of the equations of motion for point-like particles before starting with rigid bodies. You'll find that a global error proportional to the square of the time step may be an excellent result. $\endgroup$ Commented Sep 1 at 5:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.