[Mesa-users] [EXTERNAL] History output at model_number = 0

Francis Timmes fxt44 at mac.com
Tue Oct 4 21:59:14 UTC 2022


assuming no relaxation procedure activated in an inlist,

https://docs.mesastar.org/en/release-r22.05.1/reference/controls.html#max-timestep

https://docs.mesastar.org/en/release-r22.05.1/reference/controls.html#force-timestep

might be useful.

fxt




> On Oct 4, 2022, at 2:46 PM, Cheng, Roseanne Marie <rmcheng at lanl.gov> wrote:
> 
> Thanks! Is there a suggested time step controller where I could drop the time step to say 1.0e-8 (or smaller...)?
> 
> I will also look into star info structure and extra history columns.  Thank you!
> 
> We are looking into convergence tests for angular momentum transfer in a binary encounter between a massive star and a black hole (without mass transfer for now).  In particular, we are hoping to use the initial values (or close to) for J_total, J_orb, J_spin_1, etc to track the changes along with the product of dt and jdot, etc.  
> 
> Thank you!
> Roseanne
> 
> ---
> T-3: Fluid Dynamics and Solid Mechanics
> Theoretical Division
> Los Alamos National Laboratory
> +1 505 667 1607
> 
> Pronouns: She/Her/Hers
> 
> This email is a safe space
> 
> 
> 
> 
> From: Francis Timmes <fxt44 at mac.com>
> Sent: Tuesday, October 4, 2022 2:21 PM
> To: Cheng, Roseanne Marie
> Cc: Frank Timmes; mesa-users
> Subject: [EXTERNAL] Re: [Mesa-users] History output at model_number = 0
>  
> alternatively, perhaps taking a single really small time step will suffice ...
> 
> fxt
> 
> 
> 
> > On Oct 4, 2022, at 12:27 PM, Evan Bauer via Mesa-users <mesa-users at lists.mesastar.org> wrote:
> > 
> > Hi Roseanne,
> > 
> > I don't know of an easy way to produce exactly that, but I can think of at least a few options depending on what you're after specifically. The star info structure contains a decent amount of start of step info that you could access in your run_star_extras and assign to extra history columns.
> > 
> > E.g. you could take a look in $MESA_DIR/star_data/public/star_data_step_work.inc and find a long list of structure variables that end in _start, which store those quantities from the start of the step as opposed to the final values produced by the step. Then you could follow these steps to save that info to your history and/or profile output:
> > https://urldefense.com/v3/__https://docs.mesastar.org/en/release-r22.05.1/using_mesa/extending_mesa.html*adding-history-profile-output__;Iw!!Bt8fGhp8LhKGRg!Ac0oUngSgDbMF__lXL6Jdb8HM-DRKwGenYGs0z5f5fnP1Zb6u50BQ57VUgDeiJ1cZoS86WQnLKM$  
> > 
> > Cheers,
> > Evan
> > 
> > 
> >> On Oct 4, 2022, at 9:28 AM, Cheng, Roseanne Marie via Mesa-users <mesa-users at lists.mesastar.org> wrote:
> >> 
> >> Hi everyone,
> >> 
> >> Thank you for this mailing list! In the MESA simulations, what is the best way to get history output at model_number = 0?  It looks like model_number=1 gives the results after one time step.  Is there a way to get the initial conditions at 0?
> >> 
> >> Thanks!
> >> Roseanne
> >> 
> >> ---
> >> T-3: Fluid Dynamics and Solid Mechanics
> >> Theoretical Division
> >> Los Alamos National Laboratory
> >> +1 505 667 1607
> >> 
> >> Pronouns: She/Her/Hers
> >> 
> >> This email is a safe space
> >> 
> >> 
> >> _______________________________________________
> >> mesa-users at lists.mesastar.org
> >> https://urldefense.com/v3/__https://lists.mesastar.org/mailman/listinfo/mesa-users__;!!Bt8fGhp8LhKGRg!Ac0oUngSgDbMF__lXL6Jdb8HM-DRKwGenYGs0z5f5fnP1Zb6u50BQ57VUgDeiJ1cZoS83gjQsbw$  
> > 
> > _______________________________________________
> > mesa-users at lists.mesastar.org
> > https://urldefense.com/v3/__https://lists.mesastar.org/mailman/listinfo/mesa-users__;!!Bt8fGhp8LhKGRg!Ac0oUngSgDbMF__lXL6Jdb8HM-DRKwGenYGs0z5f5fnP1Zb6u50BQ57VUgDeiJ1cZoS83gjQsbw$  
> > 



More information about the Mesa-users mailing list