[Mesa-users] Problems implementig a new EOS
Nuno Moedas
Nuno.Moedas at astro.up.pt
Wed Feb 9 09:25:41 UTC 2022
Hi Warrick,
Thank you for your answer.
I have not tried the commands that you indicated in `&star_job`. Now it
seems it is working and now MESA are using the eosPT instead of eosDT.
For now, I was only testing with the current functions and tables that
MESA already has. Now I will try to implement the eos tables that I have
access to.
Once again thank you for your help.
Best Regards,
Nuno
A 2022-02-08 13:40, Warrick Ball escreveu:
> Hi Nuno,
>
> I've been following the function calls for `other_eosPT` in r12778 and
> it looks like `other_eosPT` will be called if you set both
> `use_other_eos` in `&controls` and
>
> change_lnPgas_flag = .true.
> change_initial_lnPgas_flag = .true.
> new_lnPgas_flag = .true.
>
> in `&star_job`. Have you tried something like that? Did it work? If
> it produced and error, what was the error?
>
> Cheers,
> Warrick
>
>
> ____________
>
> Warrick Ball
> Postdoc, School of Physics and Astronomy
> University of Birmingham, Edgbaston, Birmingham B15 2TT
> W.H.Ball at bham.ac.uk
> +44 (0)121 414 4552
>
>
> On Fri, 4 Feb 2022, mesa-users at lists.mesastar.org wrote:
>
>> Dear Mesa users,
>>
>> I am working with mesa-r12778, and I have a problem regarding the
>> implementation of an alternative set of tables for the EOS.
>> Specifically, I’m trying to implement a routine that I have that uses
>> Pressure and Temperature as input variables. Therefore I was looking
>> mainly at the hook “other_eos” and “other_eosPT”.
>> However, I have the feeling that MESA prefers to use the Density and T
>> as input variables and uses the subroutines with eosDT.
>> I have already searched in the code for a way to switch MESA to use
>> the eosPT instead of eosDT, but I haven't found anything that does
>> that.
>>
>> Now I was wondering if my intuition is correct, and, in case, if it
>> would be possible to use eosPT instead.
>>
>>
>>
>> Best Regards,
>> Nuno
>> _______________________________________________
>> 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
More information about the Mesa-users
mailing list