[mesa-users] tracking stellar moment of inertia

Bill Paxton paxton at kitp.ucsb.edu
Mon Nov 4 16:05:36 EST 2013


On Nov 4, 2013, at 12:44 PM, Richard Townsend wrote:

> I = 2m*r1**2/3

Thanks Rich -- just to make this completely clear let's add extra paren's so no one thinks you are taking r to the (2/3) power!

I = (2/3)*m*r1**2

This is the expression mesa/star uses when the control "simple_i_rot_flag" is set true (that's the default).

If you set that flag false, then we use the expression for finite thickness shell

> I = 2m*(r2^5-r1^5)/(r2^3-r1^3)/5

but rewritten to avoid the subtractions (I got this clever rewriting from the Bonn code):

I = (2/5)*m*(r1**4 + r1*r2*(r1**2 + r1*r2 + r2**2) + r2**4)/(r1**2 + r1*r2 + r2**2)

-Bill


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20131104/e39d9191/attachment.html>


More information about the Mesa-users mailing list