[Mesa-users] Electron Pressure of a Cell
Aaron Dotter
aaron.dotter at gmail.com
Wed Dec 5 12:04:16 EST 2018
Hi Arman,
Your best bet is probably to call the HELM EOS directly. There is a
routine to call HELM in eos_lib. See Mesa/eos/public/eos_lib.f90 and
search for eos_get_helm_results.
This should work well for high-T (ionized atomic) opacities but not for
low-T (neutral atomic and molecular).
Aaron
On Wed, Dec 5, 2018 at 11:44 AM Arman via Mesa-users <
mesa-users at lists.mesastar.org> wrote:
> Dear MESA Community,
>
> I'm attempting to incorporate my own opacity calculations into MESA using
> the other_kap hook. One of the variables I require for my opacity
> calculations is the electron pressure within the cells, but I can’t seem to
> find a way to retrieve this variable on it's own from MESA. As Pgas = Pion
> + Pelec, there must be a way to retrieve or calculate only Pelec for a
> cell. Any help on how to do this would be greatly appreciated!
>
> Thanks in advance,
> Arman Aryaeipour
> _______________________________________________
> 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/20181205/15530c6a/attachment.html>
More information about the Mesa-users
mailing list