[mesa-users] about the tolerance of the code

Leung Shing Chi scleung at phy.cuhk.edu.hk
Thu Jun 23 00:57:34 EDT 2011

Dear all,

I am trying to modify the code in order to couple the effect of external 
gravity to the structure of the star. But the effect seems to be too large 
that the code reports with:

first model is slow to converge: num tries         270
stopping because of convergence problems
terminated evolution: convergence problems

I have tried to relaxed the tolerance (as suggested by the webpage of MESA) 
so as to make the calculation easier and to see some primitive results.  

tol_correction_norm = 1d-3     (default = 1d-5)
tol_max_correction = 1d-1      (default = 1d-2)
tol_correction_norm_alt = 1d-2 (default = 1d-3)
tol_max_correction_alt = 1d0   (same as default)

But the result is still the same. I am wondering whether I have corrected 
the appropriate paramters. Or are there any other parameters that I should 
change as well, besides the above parameters? 

Best regards and with thanks,

Open WebMail Project (http://openwebmail.org)

More information about the Mesa-users mailing list