[Mesa-users] Help:Regarding extras routine error
ABHIJNAN KAR 20064
abhijnank20 at iiserbpr.ac.in
Mon Jun 27 05:47:41 UTC 2022
Also the star/others/other_wind it self states '! procedure pointer: s% other_wind => my_routine’ .I did exactly this in my extras as far as pointer is concerned but the error is coming out at the pointer position as per the screenshot attached before.
> On 27-Jun-2022, at 10:54 AM, ABHIJNAN KAR 20064 <abhijnank20 at iiserbpr.ac.in> wrote:
>
> Thanks for the reply.Sorry for the wrong files attached.I am attaching the correct run star extras and run binary extras.
> <run_binary_extras.f>
> <run_star_extras.f>
> Also,X,Y,Z stands for what?I mean, how to construct that wind.And I think binary exyras won’t be used in case oulsar evaporation wind cuz the evaporation will be of the donor str due to the wind from pulsar.
>
>> On 27-Jun-2022, at 3:28 AM, Thomas Steindl <thomas.steindl at uibk.ac.at <mailto:thomas.steindl at uibk.ac.at>> wrote:
>>
>> 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 <mailto:thomas.steindl at uibk.ac.at>
>> Homepage: www.thomassteindl.com <http://www.thomassteindl.com/>
>>
>>> Am 26.06.2022 um 21:06 schrieb ABHIJNAN KAR 20064 <abhijnank20 at iiserbpr.ac.in <mailto: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>
>>
>
> Regards,
> ABHIJNAN KAR
> BS-MS,IISER Berhampur
>
>
>
>
>
>
Regards,
ABHIJNAN KAR
BS-MS,IISER Berhampur
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20220627/a51acc51/attachment.htm>
More information about the Mesa-users
mailing list