danieljprice / phantom

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

Differential rotation from MESA models #506

Open piotrlojko opened 6 months ago

piotrlojko commented 6 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 5 months ago

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