[Mesa-users] Fwd: Problem reading file

Francis Timmes fxt44 at mac.com
Thu Apr 12 11:19:35 EDT 2018


@swarnim - your strategy is not the way mass loss should be implemented. best practice is ti put your calculation for the mass loss rate in a run_star_extras. 

i’m boarding a plane so maybe a mesa blackbelt will pick this thread up. 

fxt


> On Apr 12, 2018, at 11:02 AM, Pablo Marchant via Mesa-users <mesa-users at lists.mesastar.org> wrote:
> 
> Hi Swarnim,
> 
> what do you mean by "calculating the binary parameters"? Are you trying to compute additional data that mesa does not provide?
> 
> From what you say, I don't really understand why you need to stop the simulation at all. It seems you could simply evolve your system all the way to whatever terminating condition you want (without stopping in between), and then post-process the output files.
> 
> cheers
> 
>> On Thu, Apr 12, 2018 at 9:55 AM, Swarnim Shashank <swarnim.shashank at cbs.ac.in> wrote:
>> Sorry, by mistake I sent this mail only to Francis.
>> 
>> 
>> ---------- Forwarded message ----------
>> From: Swarnim Shashank <swarnim.shashank at cbs.ac.in>
>> Date: 12 April 2018 at 20:06
>> Subject: Re: [Mesa-users] Problem reading file
>> To: Francis Timmes <fxt44 at mac.com>
>> 
>> 
>> Hello,
>> 
>> I am evolving a Low mass X-ray binary system. I have written a code for calculating the binary parameters. What I want to do is at after few steps stop MESA and provide MESA values such as mass loss rate. And then resume MESA again to evolve the companion. I thought of doing it by stopping MESA with max_model_number, run the binary code then make MESA read a new (greater) max_model_number (through a file) and resume MESA using ./re. I would provide value for max_model_number and run ./re through a driver code so that I wouldn't have to do it again and again.
>> Sorry I was not clear earlier.
>> I would welcome if you have any other suggestion for it as well.
>> 
>> Thank you
>> 
>> Swarnim Shashank
>> Fourth Year Integrated MSc. Student
>> UM-DAE-Centre for Excellence in Basic Sciences
>> Mumbai
>> 
>>> On 12 April 2018 at 19:31, Francis Timmes <fxt44 at mac.com> wrote:
>>> hi swarnim,
>>> 
>>> i’d like to ask why you want to read max_model_number from a file.
>>> what problem would it solve for you, or what feature would it add for you?
>>> 
>>> fxt
>>> 
>>> 
>>> 
>>> 
>>> 
>>> > On Apr 12, 2018, at 9:21 AM, Swarnim Shashank <swarnim.shashank at cbs.ac.in> wrote:
>>> > 
>>> > Hello,
>>> > 
>>> > I am an undergraduate student and I am using MESA for my project. I want MESA to read max_model_number from a file but I am unable to implement that. I tried doing that from run_star_extras but it didn't work.
>>> > I am using 10108 release.
>>> > 
>>> > Please let me know of possible ways of doing it.
>>> > 
>>> > Thank you
>>> > Regards
>>> > Swarnim Shashank
>>> > Fourth Year Integrated MSc. Student
>>> > UM-DAE-Centre for Excellence in Basic Sciences
>>> > Mumbai
>>> 
>> 
>> 
>> 
>> _______________________________________________
>> mesa-users at lists.mesastar.org
>> https://lists.mesastar.org/mailman/listinfo/mesa-users
>> 
>> 
> 
> 
> 
> -- 
> Pablo Marchant Campos
> M.Sc on Astrophysics, Universidad Católica de Chile
> PhD on Astrophysics, Argelander-Institut für Astronomie, Universität Bonn
> _______________________________________________
> mesa-users at lists.mesastar.org
> https://lists.mesastar.org/mailman/listinfo/mesa-users
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20180412/55a16054/attachment.html>


More information about the Mesa-users mailing list