[mesa-users] dlnkappa/dlnT at const P, not rho?
Ireland, Lewis
lgi201 at exeter.ac.uk
Thu May 21 11:11:15 EDT 2015
Thanks for your reply!
I have tried multiple times to get it in that form, with no luck.
I considered using the triple product rule: (dlnkappa/dlnT)_p = - (dlnp/dlnT)_kappa / (dlnp/dlnkappa)_T
But then how do I get (dlnp/dlnT)_kappa from the code? I’m running in circles with it!
Lewis
On 21 May 2015, at 16:06, Josiah Schwab <jwschwab at berkeley.edu> wrote:
>
> On 21 May 2015 at 05:08 PDT, Ireland, Lewis wrote:
>
>> I need dlnkap/dlnT when P = const, but there is only dlnkap/dlnT when
>> rho=const available. Is there any option to do this?
>
> kap also gives on dlnkap/dlnRho when T=const, so you should be able to
> use various chain rules to get things into the form you want. The eos
> can give you the thermodynamic partials that you need.
>
> Josiah
More information about the Mesa-users
mailing list