[Mesa-users] bad dq error

Josiah Schwab jwschwab at ucsc.edu
Fri Jul 10 10:25:13 EDT 2020


Hi Jeremy,

This is actually a follow up on my other thread about using other_cgrav
> with the ppisn test suite. For some range of masses (50-60) I am finding
> that I get an error message as soon as I begin:
>
> create pre-main-sequence model
>
>                                           species  mass           8
>  5.5000000000000007D+01
>
>                                                  bad dq          24
> -1.0081447620088736D-04
>
> I ran some tests and it appears that the negative dq is insensitive to the
> initial mass that I put in.
>
> I looked this up in star_utils.f90 and it appears that this error occurs
> because  there is a cell where dq is negative but I am not sure why this is
> happening, or what I can do to fix it.
>
> Is someone able to point me on the right track?
>

I don't think the pre main sequence builder -- which provides the
initial guess starting mesa model -- knows about other_cgrav.  If it works
with an unmodified cgrav, you might try either relaxing cgrav from the
standard value to your target value during the PMS evolution or modifying
the relevant routines in pre_ms_model.f90.

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


More information about the Mesa-users mailing list