[mesa-users] Adding an energy term

Liron Mcley lironmc at tx.technion.ac.il
Mon May 19 14:57:57 EDT 2014


Thank you Aaron, Josiah and Francis for your helpful advice!!

Liron



On 19 May 2014 20:33, Francis Timmes <fxt44 at mac.com> wrote:

> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20140519/dbc57e06/attachment.html>


More information about the Mesa-users mailing list