[mesa-users] Using kap module in another program
Roni Waldman
roni181066 at gmail.com
Tue Oct 13 09:12:25 EDT 2015
Hi Ehsan,
I am not sure this is exactly what I wanted.
I would like to call the existing mesa kap code with the existing mesa
opacity tables, rather than create new tables.
If I understood correctly, your code interfaces with the OPCD package, and
creates opacity tables.
Am I correct?
Best,
Roni
On Mon, Oct 12, 2015 at 8:09 PM Ehsan Moravveji <e.moravveji at gmail.com>
wrote:
> Hi Roni,
> Very recently, I wrote a wrapper around the kap module to call the
> Monochromatic OP opacities, and modify the Iron and Nickel opacities,
> before computing the Rosseland mean. Then, I tabulated the new opacities in
> Type I format (the OPAL format), so that they can be very easily plugged
> into MESA (and perhaps other codes). The code now lives on bitbucket at the
> following address:
> https://bitbucket.org/ehsan_moravveji/op_mono/overview
> Please take a look at the Wiki page too.
>
> There are three OP opacity tables (for AGSS09 mixture) ready for download
> there. If that does not serve you enough, you can fetch the code, and do it
> on your own, in the way you desire (i.e. by choosing different choices of
> mixture from mesa/chem/chem_def, and different opacity factors for Fe and
> Ni). One, among many possible applications of the new opacities is also
> explained in the following letter paper:
> http://adsabs.harvard.edu/abs/2015arXiv150908652M
>
> For that, I tried to follow on the worked examples in sample_kap. So, you
> can easily take a look at the Makefile too (though it can be still improve).
>
> If you have any suggestions on how to extend the package for even wider
> applications, please share your thoughts, and then we can make attempts.
>
> I hope this helps for now.
>
> Best
> Ehsan.
>
>
> On 12 Oct 2015, at 16:24, Roni Waldman <roni181066 at gmail.com> wrote:
>
> Hi mesa users,
>
> I would like to use the kap module of mesa to compute opacities in another
> code.
> Is there a documentation of simple answer on how to do this, i.e. which
> files to copy, how to compile, etc.?
>
> Thanks,
> Roni
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> mesa-users mailing list
> mesa-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mesa-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20151013/41d34054/attachment.html>
More information about the Mesa-users
mailing list