[mesa-users] Interacting with EOS module
Michael Zingale
michael.zingale at stonybrook.edu
Thu Jun 12 09:12:50 EDT 2014
Hi, I don't have the answer for you, but instead a caveat. We put the MESA
EOS into our hydro code, but in the process we found that not all of the
EOSs that comprise the MESA EOS return all of the derivatives. In the end,
we wound up having to restrict ourselves to just using the helmeos in MESA
(which we were using originally anyway), because that was the only one that
had all of the derivatives.
On Thu, Jun 12, 2014 at 8:56 AM, Ehsan Moravveji <e.moravveji at gmail.com>
wrote:
> Hi all,
> I have a difficulty and a question regarding the public EOS.
>
> - First the question:
> I would like to calculate \partial P / \partial \bar{A} at constant
> (T,Rho). I see from mesa/eos/public/eos_lib.f that eosPT_get returns e.g.
> d_dabar_const_TRho(:). How can I use it to get my desired derivative
> (assuming the difficulty below is resolved)?
>
> - And the difficulty:
> In my inlist, I set
> change_lnPgas_flag = .true.
> new_lnPgas_flag = .true.
> and also put a short subroutine together to interact with the EOS and
> query for eosPT_get(). However, I receive a segmentation fault during the
> runtime.
> I appreciate if someone helps me finding the problem. I have tried hard to
> preserve argument shapes, but something is missing for sure.
> I have attached my short subroutine.
>
> Best regards
> Ehsan.
>
>
> ------------------------------------------------------------------------------
> HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
> Find What Matters Most in Your Big Data with HPCC Systems
> Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
> Leverages Graph Analysis for Fast Processing & Easy Data Exploration
> http://p.sf.net/sfu/hpccsystems
> _______________________________________________
> mesa-users mailing list
> mesa-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mesa-users
>
>
--
Michael Zingale
Associate Professor
Dept. of Physics & Astronomy • Stony Brook University • Stony Brook, NY
11794-3800
*phone*: 631-632-8225
*e-mail*: Michael.Zingale at stonybrook.edu
*web*: http://www.astro.sunysb.edu/mzingale
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20140612/cb4127cb/attachment.html>
More information about the Mesa-users
mailing list