How to model energy loss in a rotating body? I recently asked a question about modeling instability in a rotating rigid body.  I now realize that I was mentally confounding two different effects:


*

*The "Dzhanibekov effect" in which a rigid object with three different moments of inertia appears to tumble when spun around the intermediate axis.  It ends up oscillating in a rather complex-looking pattern.

*The tendency of an object (e.g. a fluid-filled cylinder) to change its spin axis to that with the greatest moment of inertia.
I've successfully reproduced effect 1, which in the end is a relatively simple (if somewhat surprising) result of conservation of angular momentum.
Effect 2, however, is not something that occurs with ideal rigid bodies.  It happens only when there is some mechanism for energy loss -- say, whipping antennas (as in the famous Explorer 1 satellite), or movement of an internal fluid (as in this video).
I've found explanations saying that in these cases, rotational energy (aka angular kinetic energy) is lost, though angular momentum remains (in some way) unchanged.  I'd like to model this effect.  I imagine it is a matter of transferring some momentum from one axis to another, but in what way?
 A: You apparently mean "simulate" when you used the word "model".
You'll need two things to accomplish this:


*

*A better rotational integrator than the one presented in this answer to your other question, and

*A physical model of a system that loses energy while conserving angular momentum.
Regarding the first item, that integrator is not bad. It has the basics of Lie group integration built into it, and it also has built-in conservation of angular momentum. But it's not that good, either. It's the rotational analog of the Euler-Cromer integration technique (aka symplectic Euler, aka semi-implicit Euler, aka Newton–Størmer–Verlet, aka a bunch of other names). Euler-Cromer is first order in terms of error. You can do better than that, and you will need to do better than that to see this subtle effect. Unfortunately, the mathematics that underlies these better rotational integrators is rather deep.
A lot of work has been done on this topic in the last 25 years or so. I've listed a small number of references on this body of work at the end of this answer.  The first paper by Iserles et al. is 128 pages long. This is the must-read seminal paper on this topic. At 128 pages, all I can do in a Q&A website such as this is point you to the paper. The second paper be Cellodini et al. is a much shorter 28 pages long. This summary paper provides an overview of the techniques and describes developments since the paper by Iserles et al. The last paper describes a couple of specific applications that use Lie group integration techniques.
You can query scholar.google.com for "Lie group integrators" to get a whole lot more -- and many of the paper you find are freely available online. No paywall!
Regarding the second item, you'll need a model of a non-rigid body. Some ways to do this:


*

*Use coupled rigid bodies that exchange linear and angular momentum one another, in a manner consistent with Newton's third law but that lose energy during the momentum transfer.

*Use a flexible body model. Once again, scholar.google.com is your friend.

*Use a slosh model. Properly modeling non-ideal solid bodies is a non-trivial problem. Modeling fluids is much, much harder problem. You could use a computational fluid dynamics (CFD) model, but you'll need a supercomputer to do that. Slosh models provide a moderate fidelity model of the physics of fluids sloshing around inside a container. Once again, scholar.google.com is your friend.

References:
Iserles, A., Munthe-Kaas, H. Z., Nørsett, S. P., & Zanna, A. (2000). Lie-group methods. Acta Numerica, 9, 215-365.
Celledoni, E., Marthinsen, H., & Owren, B. (2012). An introduction to Lie group integrators--basics, new developments and applications. arXiv preprint, arXiv:1207.0069.
Kobilarov, M., Crane, K., & Desbrun, M. (2009). Lie group integrators for animation and control of vehicles. ACM Transactions on Graphics, 28(2), 16.
A: A simple picture here would be that dissipation leads loss of mechanical energy. But angular momentum has to be conserved. The lowest possible mechanical energy with a given value of the angular momentum of fluid inside a container is that of rigid body rotating around the axis of largest moment of inertia.
