[mesa-users] MESA code Questions!!

Willie Strickland cwskas at gmail.com
Wed Jul 8 16:01:23 EDT 2015


I forgot my inlists.  They are attached, as well as history_columns.list & profile_columns.list.

You can add additional abundances to your history.data by added one or more of the following to history_columns.list

   ! the following add all of the isos that are in the current net

   ! add_center_abundances
   ! add_surface_abundances
   ! add_average_abundances
   ! add_log_center_abundances
   ! add_log_surface_abundances
   ! add_log_average_abundances

Willie

-------------- next part --------------
A non-text attachment was scrubbed...
Name: history_columns.list
Type: application/octet-stream
Size: 3771 bytes
Desc: not available
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20150708/14f03898/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: inlist
Type: application/octet-stream
Size: 656 bytes
Desc: not available
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20150708/14f03898/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: inlist_pgstar
Type: application/octet-stream
Size: 1889 bytes
Desc: not available
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20150708/14f03898/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: inlist_project
Type: application/octet-stream
Size: 1564 bytes
Desc: not available
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20150708/14f03898/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: profile_columns.list
Type: application/octet-stream
Size: 22676 bytes
Desc: not available
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20150708/14f03898/attachment-0004.obj>
-------------- next part --------------



> On Jul 8, 2015, at 1:49 PM, Willie Strickland <cwskas at gmail.com> wrote:
> 
> It is recommended to use one of the test_suite cases as a starting point.  For example.
> 
> 	cp -R $MESA_DIR/star/test_suite/solar_calibration ~/documents/mymesa/ags05
> 	cd ~/documents/mymesa/ags05
> 
> Read the info in ~/documents/mymesa/ags05
> 
> I normally will run a test case as is, only changing the stopping conditions or other basic control options to make sure that works and I have a basic understanding of what is happening.  Then I begin to make modifications to the inlists, one at a time, and re-run to make sure that works, repeat ?.
> 
> If the solar_calibration option does not fit, take a look at test_suite/1M_pre_ms_to_wd or other test_suite examples  I have not done the solar_calibration except in testing so it may not be what you are looking for.
> 
> I often will use $MESA_DIR/star/work as a starting point.  It is pretty much bare bones.  Then add to it the other choices you want. I used the approx21.net in this example, that may not be best for you, it is just an example of how to use one of the other nets found in  $MESA_DIR/data/net_data/nets.  The solar_calibration test case uses a different adjustment.
> 
> After making sure it is working, then make further adjustments to your inlist_project to refine or change your results.
> 
> For example.
> 
> 	cp -R $MESA_DIR/star/work ~/documents/mymesa/ags05
> 	cd ~/documents/mymesa/ags05
> 
> Using your preferred editor make the following changes
> 
> change  &controls
> 
>      initial_mass = 1 ! in Msun units
> 
> add to &star_job
> 
>     set_uniform_initial_composition = .true.
> 
>     ! uniform initial composition of AGS05 abundances
>     set_uniform_initial_composition = .true.
>     initial_h1 = 0.7295
>     initial_h2 = 0
>     initial_he3 = 0
>     initial_he4 = 0.25700
>     initial_zfracs = 5
> 
>     change_net = .true.
>     new_net_name = 'approx21.net'
> 
>     show_net_species_info = .true.
> 
> add to &controls
> 
>     max_age = 4.57d9
> 
> ./mk
> ./rn
> 
> 
> And I get the following results.
> 
> <grid8_000001.png>
> 
> 	
> Willie
> 
>> On Jul 8, 2015, at 12:03 PM, Farag, Ebraheem Khaled <farag.11 at lanl.gov> wrote:
>> 
>> Well I am basically trying to model the sun as well as possible so i can use altered opacity tables to see their affect on the resulting abundances.
>> 
>> 
>> -I asked previously how to achieve a sun like model, and the response i got gave no information at all...
>> -In turn i spoke to another student who used the mesa code and he told me to just use the tutorial and modify it with the specific parameters I wanted my "Sun" to fill.
> 



More information about the Mesa-users mailing list