[mesa-users] save model for gyre

Jing Luan jingluan.xw at gmail.com
Mon Jun 5 16:52:50 EDT 2017


Hi Rich,

I guess I need to include some .mod in the beginning of run_star_extras.f
like this one: use star_lib

Which mod file shall I claim please? Thank you very much.

Sincerely,
Jing

On Mon, Jun 5, 2017 at 12:43 PM, Jing Luan <jingluan.xw at gmail.com> wrote:

> Dear Frank, Jim and Rich
>
> Thank you all very much. They are very helpful!
>
> Sincerely,
> Jing
>
> On Mon, Jun 5, 2017 at 10:06 AM, RICHARD H D TOWNSEND <
> townsend at astro.wisc.edu> wrote:
>
>> If you want more flexibility, you can add explicit calls to
>> star_export_pulse_data within your run_star_extras.f file. For instance:
>>
>> call star_export_pulse_data(id, ‘GYRE’, ‘model.GYRE’, &
>>   add_center_point = .TRUE., &
>>   keep_surface_point = .FALSE., &
>>   add_atmosphere = .TRUE., ierr)
>>
>> cheers,
>>
>> Rich
>>
>> > On Jun 4, 2017, at 2:17 PM, Jim Fuller <jfuller at caltech.edu> wrote:
>> >
>> > Hi Jing,
>> >
>> > I think you need to add these lines to your control inlist:
>> >
>> >       write_pulse_data_with_profile = .true.
>> >       pulse_data_format = 'GYRE'
>> >
>> > Hopefully that is all you need.
>> >
>> > -Jim
>> >
>> >
>> >
>> > On Sun, Jun 4, 2017 at 11:49 AM, Frank Timmes <fxt44 at mac.com> wrote:
>> > from mesastar.org/astero_module.html
>> > and star/astero/defaults/astero_search.defaults
>> >
>> > it appears the controls
>> >
>> > write_gyre_for_each_model = .false.
>> > gyre_prefix = 'gyre_'
>> >    ! note that you can include a directory in the prefix if desired
>> > gyre_postfix = '.data’
>> >
>> > might achieve the desired goal.
>> >
>> > fxt
>> >
>> >
>> >
>> >
>> >
>> > > On Jun 4, 2017, at 8:53 AM, Jing Luan <jingluan.xw at gmail.com> wrote:
>> > >
>> > > Dear mesa users,
>> > >
>> > > Is there a subroutine that I could call in run_star_extras.f to save
>> a model file in the format that gyre could read in, i.e. 'model.mesa'
>> format. Currently, I use the following in inlist
>> > >
>> > >       save_pulsation_info_when_terminate = .true.
>> > >       save_pulsation_info_filename = 'model.mesa'
>> > >
>> > > which only saves the model at termination. But I like to save a
>> series of models for gyre at different evolutionary ages for one star.
>> > >
>> > > Many thanks!
>> > >
>> > > Sincerely,
>> > > Jing
>> > > ------------------------------------------------------------
>> ------------------
>> > > Check out the vibrant tech community on one of the world's most
>> > > engaging tech sites, Slashdot.org! http://sdm.link/slashdot______
>> _________________________________________
>> > > mesa-users mailing list
>> > > mesa-users at lists.sourceforge.net
>> > > https://lists.sourceforge.net/lists/listinfo/mesa-users
>> >
>> >
>> > ------------------------------------------------------------
>> ------------------
>> > Check out the vibrant tech community on one of the world's most
>> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> > _______________________________________________
>> > mesa-users mailing list
>> > mesa-users at lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/mesa-users
>> >
>> > ------------------------------------------------------------
>> ------------------
>> > Check out the vibrant tech community on one of the world's most
>> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot______
>> _________________________________________
>> > mesa-users mailing list
>> > mesa-users at lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/mesa-users
>>
>> ------------------------------------------------------------
>> ------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> _______________________________________________
>> mesa-users mailing list
>> mesa-users at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/mesa-users
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20170605/f90d43f0/attachment.html>


More information about the Mesa-users mailing list