[Mesa-users] Problems implementig a new EOS

Nuno Moedas Nuno.Moedas at astro.up.pt
Fri Feb 4 11:14:23 UTC 2022


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


More information about the Mesa-users mailing list