[mesa-users] Adding an energy term
Francis Timmes
fxt44 at mac.com
Mon May 19 13:33:12 EDT 2014
hi liron,
just a word of advice ... if one is going to add a pressure term to an eos,
one should also add the corresponding energy and entropy terms
to maintain thermodynamic consistency.
fxt
On May 19, 2014, at 8:23 AM, Josiah Schwab wrote:
> Hi Liron,
>
>> Also, I was wondering whether it is possible to add a pressure term to the
>> code. I tried going through the eos module for ideas, but got completely
>> lost in the code..
>
> There is an other_eos hook (star/other/other_eos.f) that operates in a
> similar manner to the other_energy hook that you've already been
> exploring. That's probably the place to start.
>
> You could have your routine first call the normal MESA eos, and then
> adjust those results to account for your additional pressure term.
>
> Hope that helps,
> Josiah
>
> ------------------------------------------------------------------------------
> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
> Instantly run your Selenium tests across 300+ browser/OS combos.
> Get unparalleled scalability from the best Selenium testing platform available
> Simple to use. Nothing to install. Get started now for free."
> http://p.sf.net/sfu/SauceLabs
> _______________________________________________
> mesa-users mailing list
> mesa-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mesa-users
More information about the Mesa-users
mailing list