[Mesa-users] Artificially changing the profile of pressure

吴涛 ggwutao at 126.com
Mon Jun 1 22:01:48 EDT 2020


Hi Josiah, 

    Thank you very much for your reply.

As you pointed out, I have rechecked the code and found that it's caused by the setting of conv_dP_term_factor.

I want to decrease the total pressure. So, I fix conv_P as a positive (i.e., conv_P > 0) in the subroutine of
other_mlt in run_star_extra.f and incorrectly set conv_dP_term_factor = -1d0 in inlist.

However, convective pressure will be considered merely when conv_dP_term_factor > 0.

 

Thanks again for your helps!

Best wishes!

Tao













在 2020-06-01 22:15:54,"Josiah Schwab" <jwschwab at ucsc.edu> 写道:

The changed convective pressure is not transmited to the total pressure, i.e., the total pressure is not changed.


What is your setting for


http://mesa.sourceforge.net/docs/r10398/controls_defaults.html#conv_dP_term_factor

 
?


Josiah
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20200602/400e3a04/attachment.htm>


More information about the Mesa-users mailing list