[Mesa-users] save as WDEC file format
Earl Bellinger
earlbellinger at gmail.com
Thu Nov 3 16:12:22 UTC 2022
Hi Anwesha,
To follow up on Rich's answer, there are probably two good paths forward
from here. They both however involve some development work on your part.
The first would be to modify MESA's source to write out what you need. You
can look for example at
$MESA_DIR/star/private/pulse.f90
for how the different file formats are exported.
If you take this route, you could create a pull request so that others can
use your code. Some instructions for contributing are here:
https://docs.mesastar.org/en/release-r22.05.1/developing/contributing.html
It looks like there's also a stem of code pointing
to use_other_export_pulse_data (therefore allowing you to do this kind of
thing in run_star_extras.f), but I don't see that it's fully hooked up yet.
The other option is to use some post-processing code in e.g. Python to
convert from e.g. GYRE format to WDEC format. Warrick Ball's TOMSO package
is useful here:
https://tomso.readthedocs.io
But again does not natively support WDEC format, so you would need to
implement how to do the conversion.
Hope this is helpful.
Best wishes,
Earl
*Earl Patrick Bellinger *
Postdoctoral Research Fellow
Max Planck Institute for Astrophysics
Stellar Astrophysics Centre
https://earlbellinger.com
On Thu, Nov 3, 2022 at 3:12 PM RICHARD H D TOWNSEND via Mesa-users <
mesa-users at lists.mesastar.org> wrote:
> Hi Anwesha —
>
> MESA doesn’t currently support the WDEC format.
>
> Best wishes,
>
> Rich
>
> > On Nov 2, 2022, at 3:17 PM, Anwesha Biswas via Mesa-users <
> mesa-users at lists.mesastar.org> wrote:
> >
> > Hello,
> >
> > I am pretty new using MESA. I was trying to evolve a 0.6Msun WD and cool
> it down to the desired temperature.
> > I want to save the pulsations data as a WDEC file. I can save it as a
> GYRE file but not a WDEC. How to save it as a WDEC file format?
> >
> > Thanks,
> > Anwesha
> > _______________________________________________
> > mesa-users at lists.mesastar.org
> > https://lists.mesastar.org/mailman/listinfo/mesa-users
> >
>
> _______________________________________________
> 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/20221103/e179bdd5/attachment.htm>
More information about the Mesa-users
mailing list