[Mesa-users] Help:Regarding extras routine error

Thomas Steindl thomas.steindl at uibk.ac.at
Sun Jun 26 21:58:13 UTC 2022


Dear ABHIJNAN,

It does seem to me like you have attached the wrong version of the run_star_extras file to this mail. 

Independent, it seems like your subroutine does not match the variables MESA is expecting.  mesa-r21.12.1/star/other shows that it other wind expects a function of the form subroutine null_other_wind(id, Lsurf, Msurf, Rsurf, Tsurf, X, Y, Z, w, ierr) while you are providing a function of the form subroutine pulsar_evaporation_wind(id, Lsurf, Msurf, Rsurf, Tsurf, w, ierr). As you can see, yours is missing the input variables X, Y, and Z. This should explain the error you are receiving.

That said, I find your run_star_extras looks like its missing some typical functions such as extras_startup, extras_start_step etc. I have no experience with the binary module in MESA, but since you are looking to evolve a binary, you might want look into run_binary_extras instead of run_star_extras. 

Best, Thomas
__________________________________________________________________

Thomas Steindl, MSc
University of Innsbruck | Institute for Astro- and Particle Physics
Tel: +43 512507 52031
Mail: thomas.steindl at uibk.ac.at
Homepage: www.thomassteindl.com

> Am 26.06.2022 um 21:06 schrieb ABHIJNAN KAR 20064 <abhijnank20 at iiserbpr.ac.in>:
> 
> Hi,
> I am trying to evolve a binary model with effects of evaporation wind being considered.For that i am implementing an extras routine but it is yielding error as follows.
> <Screenshot 2022-06-27 at 12.34.57 AM.png>
> Also I am attaching the extras file.
> Can anyone please help?i am not understanding as to why this error is coming cuz the pointer is supposed to be like that per documentation.
> Regards,
> ABHIJNAN KAR
> BS-MS,IISER Berhampur
> 
> 
> 
> 
> 
> 
> <run_star_extras.f90>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20220626/57b61dfe/attachment.htm>


More information about the Mesa-users mailing list