[mesa-users] Adding an energy term

Aaron Dotter aaron.dotter at gmail.com
Mon May 19 07:07:20 EDT 2014


Hi Liron,

MESA is doing an implicit integration of the ODE; it generally requires
more than one iteration per timestep to reach convergence.  Depending on
how hard the current problem is, that number can be a few or more.  Each
iteration is the construction of a complete model, which includes a call to
your extra routine.  The terminal output shows the number of iterations as
"iters", 2nd row and 2nd from the right.  I think that's all there is to it
in this case.

Cheers,
Aaron


On Mon, May 19, 2014 at 7:02 PM, Liron Mcley <lironmc at tx.technion.ac.il>wrote:

> Hi everyone,
>
> So I'm trying to add extra heat in a specific radius at a certain time.
> I'm currently just playing with the code but I came across something
> perplexing. What I did was this - I used the instructions in
> star/other/other_energy.f to add a subroutine to src/run_star_extras.f in
> my working directory that would add extra heat according to some
> parameters. I attached the run_star_extras.f file. I also attached a screen
> shot of the terminal while it was running, terminal_PrtScn.png .
> The perplexing thing is that the code seems to call the energy_routine 3
> times in each time step. What does this mean?? The energy is meant to be
> added only once every time step.
>
> 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..
>
> Thank you,
> Liron Mcley
>
>
> ------------------------------------------------------------------------------
> "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/4f20975e/attachment.html>


More information about the Mesa-users mailing list