[Mesa-users] Regarding default name change for STELLA input files

Francis Timmes fxt44 at mac.com
Sun May 9 20:07:37 UTC 2021


hi rishabh,

i don't know for sure as i have not played much with stella, but ...

a perusal of $MESA_DIR/star/test_suite/ccsn_IIp suggests the file name
can be set in an inlist_stella with save_stella_data_filename = 'mesa' .

a perusal of $MESA_DIR/stella/res/stella_extras.f90 shows the lines

   if (iargc() > 0) then
      call GetArg(1,filestr)
   else
      filestr = 'mesa'
   end if

which suggests one can pass a file name to the stella_extras executable 
on the command line, such as

./stella_extras my_file_name

and the executable then tries to open my_file_name.hyd 

fxt





> On May 8, 2021, at 1:31 PM, Rishabh Singh Teja <rishabh.teja at iiap.res.in> wrote:
> 
> Hi all,
> Good Evening.
> I would like to know, if somehow names of Stella input files (mesa.abn, mesa.hyd) can be passed with different names other than “mesa” string in stella. Also there is an option in ‘stella_extras.f90’ which takes filestr argument as mesa. 
> So, if possible then where are the necessary changes required in the code to run stella so that I can use some other string instead of “mesa”. 
> 
> Thanks.
> 
> Regards
> Rishabh Singh Teja
> Junior Research Fellow
> Indian Institute of Astrophysics
> _______________________________________________
> mesa-users at lists.mesastar.org
> https://lists.mesastar.org/mailman/listinfo/mesa-users
> 



More information about the Mesa-users mailing list