[mesa-users] increase grid number in the center of the star

Bill Paxton paxton at kitp.ucsb.edu
Tue Jan 14 00:41:41 EST 2014


On Jan 13, 2014, at 9:34 PM, Jing Luan wrote:

> Hi All :-)
> 
> I make a WD model using MESA. But its default grids do not cover the very
> central part, which I am interested in. Is there a way to increase the
> grid number there please? Thank you :-)

Hi,

One thing you could try would be to reduce these controls:

      min_center_cell_dq = 1d-8
      max_center_cell_dq = 1d-7


If that doesn't give you enough resolution at the center, you might try these mesh functions:

      ! radius gradient
      ! R_function = R_function_weight*log10(1 + (r/Rsun)/R_function_param)
		R_function_weight = 0
		R_function_param = 1d-4
      
      ! mass gradient
      ! M_function = M_function_weight*log10(1 + (m/Msun)/M_function_param)
		M_function_weight = 0
		M_function_param = 1d-6

Good luck!

-Bill








More information about the Mesa-users mailing list