[mesa-users] lnE_flag

jingluan at caltech.edu jingluan at caltech.edu
Thu May 10 22:37:56 EDT 2012


Hello :-)

I use mesa4028 and try to build a 2.5Msun star from pre-MS. I set lnE_flag
to be true in my inlist_project. And mesa is stuck at some point in
pre-MS. I find that the problem is in eps_grav calculation in
star/private/hydro_vars.f;

When I force hydro_vars.f to call do_eps_grav_using_E rather than
do_eps_grav_using_E_var by revising Line 813 in hydro_vars.f into

 if (s% lnE_flag .and. .false.) then
,

mesa can then happily evolves the star from pre-MS to MS. I attach my
inlist_project and hydro_vars.f.

May some one understand and kindly explain what's wrong with
do_eps_grav_using_E_var please?

And I do not really understand what specific purpose lnE_flag=.true. is
for. Is it for some special case, e.g. some special phase of stellar
evolution or some special stars?

Thank you so much :-)

Sincerely,
Jing
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hydro_vars.f
Type: text/x-fortran
Size: 65246 bytes
Desc: not available
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20120510/36fc961f/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: inlist_project
Type: application/octet-stream
Size: 11093 bytes
Desc: not available
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20120510/36fc961f/attachment.obj>


More information about the Mesa-users mailing list