[Mesa-users] Writing to history.data during relax_mass method
Aaron Dotter
aaron.dotter at gmail.com
Thu Oct 4 09:58:12 EDT 2018
Hi Eoin,
OK, good. I've just looked through relax.f90 and, indeed, it doesn't call
write_history_info anywhere as is done in evolve.f90.
Here's an idea: What about setting up an evolution that mimics the relax?
You can set max_dt and mass_change in &controls to the equivalent of values
used in the relax mass. This way you'll get the history and profile output
you want.
Aaron
On Thu, Oct 4, 2018 at 9:46 AM Eoin Farrell <efarrel4 at tcd.ie> wrote:
> Hi Aaron,
>
> Yes, I have recompiled both the star module and the executable for the
> model.
>
> Cheers,
> Eoin
>
> On 4 Oct 2018, at 14:37, Aaron Dotter <aaron.dotter at gmail.com> wrote:
>
> Hi Eoin,
>
> Did you recompile the star module and then recompile the executable in
> star/work or wherever you run from? Both are required to enable the
> changes you've made.
>
> Aaron
>
> On Thu, Oct 4, 2018 at 4:35 AM Eoin Farrell <efarrel4 at tcd.ie> wrote:
>
>> Dear Mesa-users,
>>
>> I am trying to use the relax mass method to add mass to the envelope of a
>> 15 Msun star. This works fine, however during the relax_mass method it does
>> not write to the history.data file or the profile data files. Once the
>> relax_mass method ends and the normal evolution begins it begins to write
>> to the history and profile files.
>>
>> Among other things, I have tried looking through the relax.f90 routine
>> and modifying
>>
>> s% do_history_file = .false.
>> s% write_profiles_flag = .false.
>>
>> to true (line 3722) but this doesn't seem to work. I am using r10398
>> MESA. I have attached my inlist files.
>>
>> Is there a way to get MESA to record what is happening to the star during
>> the relax_mass method in the history.data and profile data files?
>>
>> Cheers,
>> Eoin
>>
>>
>> _______________________________________________
>> 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/20181004/31afa545/attachment.html>
More information about the Mesa-users
mailing list