[mesa-users] gradient control for mesh adjustment

Abhisek Datta abhisek007astro at gmail.com
Fri Aug 10 11:04:04 EDT 2012


Hi,

I cant understand the gradient controls for mesh adjustment as given in
mesa/star/public/star_defaults.dek .

         ! gradient controls for mesh adjustment
         ! "gradient" here means the difference in value from one grid
point to the next.


         use_other_mesh_functions = .false.


         ! pressure gradient
         ! P_function = P_function_weight*log10(P)
           P_function_weight = 30


         ! temperature gradient
         ! T_function1 = T_function1_weight*log10(T)
           T_function1_weight = 80

What does changing this line - use_other_mesh_functions = .false. to true
do?

Also what is the meaning of P_function ? Which is the pressure gradient?
How does it control the mesh adjustment?

Can anyone help me out to understand these?

Abhisek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20120810/c350451d/attachment.html>


More information about the Mesa-users mailing list