[Mesa-users] Need help in using MESA to simulate magnetised White Dwarfs.

Evan Bauer evan.bauer.astro at gmail.com
Tue Jul 25 09:28:19 UTC 2023


Hi Surendra,

A good place to start (if you haven't already) is this tutorial on how to use hooks in run_star_extras to extend the physics in MESA:
https://docs.mesastar.org/en/release-r23.05.1/using_mesa/extending_mesa.html#using-the-other-hooks <https://docs.mesastar.org/en/release-r23.05.1/using_mesa/extending_mesa.html#using-the-other-hooks>

It sounds like in your case you might want to use a hook like the other_pressure hook (found in $MESA_DIR/star/other/other_pressure.f90) to add an extra pressure term. Or you might want to use the more general other_eos hooks found in $MESA_DIR/eos/other/other_eos.f90 to modify more things about the EOS that MESA uses. You can also find an example of a run_star_extras setup for the other_eos hooks along with many others in $MESA_DIR/star/test_suite/other_physics_hooks: https://docs.mesastar.org/en/release-r23.05.1/test_suite/other_physics_hooks.html#other-physics-hooks <https://docs.mesastar.org/en/release-r23.05.1/test_suite/other_physics_hooks.html#other-physics-hooks>

Cheers,
Evan

> On Jul 23, 2023, at 8:06 PM, Surendra Bhattarai <sb19ms136 at iiserkol.ac.in> wrote:
> 
> Hello everyone.
> 
> I am trying to simulate magnetized White Dwarfs using MESA. Previously, I had studied the effect of magnetic fields on WDs using Cambridge University's STARS code by incorporating the magnetic filed profile in EOS modules. But in MESA, since it has a large documentation, I am a bit confused about how to start in the first place. 
> 
> After going through some documentation, I could get some idea that we need to implement the relevant physics in run_star_extras file but I am not sure if this is correct (since I found many such files there). 
> 
> Also, I am thinking about whether we should implement the effect of rotation also.
> 
> So, any help/suggestions are welcome, so that I can get some idea on how to go forward. 
> 
> Thanks,
> Surendra Bhattarai
>  _______________________________________________
> mesa-users at lists.mesastar.org
> https://lists.mesastar.org/mailman/listinfo/mesa-users
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20230725/1d2e3708/attachment.htm>


More information about the Mesa-users mailing list