|
From: Robert F. <rjf...@as...> - 2016-12-09 17:30:46
|
Hi If you edit src/run_star_extras.f you can set your own exit conditions, with something like: if(s%star_age> XX .and. s%r(1)/rsun > YY) extras_check_model = terminate In your extras_check_model function See http://mesa.sourceforge.net/run_star_extras.html#toc-2 or https://jschwab.github.io/mesa-2016/ for customizing your run_star_extras Rob On Fri, Dec 9, 2016 at 10:10 AM, Gonçalo Andrade <gnm...@ho...> wrote: > Hi, > > > > I'm currently studying red-giants and I wanted MESA to stop when the star > reaches a certain radius. > > There should be no problems, since the radius in that phase usually only > increases. > > > The problem is that I start with a pre-main sequence model, so it usually > stops right after I start the run because the radius exceeds the limit. > > > I can overrun this by running a first model until ZAMS and then restarting > the simulation in the photo of that model, but is it possible to do this in > the inlist so I can start from a pre-ms star and still use the radius > without interrupting the code? > > > > Thank you, > > Gonçalo > > ------------------------------------------------------------ > ------------------ > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today.http://sdm.link/xeonphi > _______________________________________________ > mesa-users mailing list > mes...@li... > https://lists.sourceforge.net/lists/listinfo/mesa-users > > |