[mesa-users] how to create a ZAMS model?

Josiah Schwab jwschwab at berkeley.edu
Wed Jan 16 13:25:59 EST 2013


> I have tried to use stop_at_zams = .true. before and it didn't work as well. I now understand why from Josiah's explanation. But, is it just me or the documentation in controls.default is somewhat confusing? I would think that "don't independently apply" would mean "don't set these:"

It took me a second, but I see what you mean.  You're interpreting "then don't independently apply" is if it were written as an instruction to you :)

It's written from the perspective of "the code" describing what it is doing

If you read it as

> ! NOTE: if stop_at_zams if true, then *the code* doesn't independently apply
> !     v_surf_div_v_kh_lower_limit or Lnuc_div_L_upper_limit

then it makes sense.

Because if you just set both v_surf_div_v_kh_lower_limit and Lnuc_div_L_upper_limit, then MESA would stop when the *first* one of those conditions was violated, instead of waiting until they *both* are.

Josiah



More information about the Mesa-users mailing list