danieljprice / phantom

Phantom Smoothed Particle Hydrodynamics and Magnetohydrodynamics code
https://phantomsph.github.io
Other
110 stars 246 forks source link

Differential rotation from MESA models #506

Open piotrlojko opened 9 months ago

piotrlojko commented 9 months ago

Progress: We can now load the star profile from MESA with additional (but optional) info about the angular velocity distribution, which is being mapped onto SPH particles. This allows us to set up differentially rotating (or rigidly rotating) stars after relaxation. To do: Allowing the user to choose the rotation axis direction.

Francyrad commented 9 months ago

Hello, that's amazing! can you please add more info about how to do that?