[mesa-users] MESA code Questions!!

Farag, Ebraheem Khaled farag.11 at lanl.gov
Tue Jul 7 11:46:12 EDT 2015


Hello,

I am still getting :
----------------------------------------------------------------------------
set_uniform_initial_composition
                                             initial_h1    7.2950000000000004D-01
                                             initial_h2   -1.0000000000000000D+00
                                            initial_he3   -1.0000000000000000D+00
                                            initial_he4    2.5700000000000001D-01
                                           metals AGS05
 when setting composition, need to provide values for h1, h2, he3, and he4
 H1=  0.72950000000000004     
 H2=  -1.0000000000000000     
 He3=  -1.0000000000000000     
 He4=  0.25700000000000001     
 Z  =   1.0000000000000000     
 set_uniform_initial_composition ierr          -1
 do_star_job_controls_after ierr          -1
 before_evolve_loop ierr          -1
--------------------------------------------------------------------
I am still getting the same error.
"if set_uniform_initial_composition is true, then set hydrogen and helium mass fractions according to the following: If no h2 in current net, then this will be added to h1. If no he3 in current net, then this will be added to he4."
-http://mesa.sourceforge.net/star_job_defaults.html#extra_parameters

i have now:
----------------------------
 ! uniform initial composition of AGS05 abundances
    set_uniform_initial_composition = .true.
    initial_h1 = 0.7295
    initial_he4 = 0.25700
    initial_zfracs = 5
---------------------------------------
Any more suggestions?

thanks,
-Ebraheem


________________________________________
From: Josiah Schwab [jwschwab at berkeley.edu]
Sent: Tuesday, July 07, 2015 9:32 AM
To: Farag, Ebraheem Khaled
Cc: Robert FARMER; mesa-users at lists.sourceforge.net users
Subject: Re: [mesa-users] MESA code Questions!!

Hello Ebraheem,

I have subscribed you to the mesa-users list so that your messages will
no longer require moderation.

> I am trying to use the initial abundance from AGS05 and the code is returning this error:
>
> ------------------------------------------------------------------------------------------------------------
>        set_uniform_initial_composition
>                                              initial_h1   -1.0000000000000000D+00
>                                              initial_h2   -1.0000000000000000D+00
>                                             initial_he3   -1.0000000000000000D+00
>                                             initial_he4   -1.0000000000000000D+00
>                                            metals AGS05
>  when setting composition, need to provide values for h1, h2, he3, and he4
>  H1=  -1.0000000000000000
>  H2=  -1.0000000000000000
>  He3=  -1.0000000000000000
>  He4=  -1.0000000000000000
>  Z  =   1.0000000000000000
>  set_uniform_initial_composition ierr          -1
>  do_star_job_controls_after ierr          -1
>  before_evolve_loop ierr          -1

You should do as the message suggests and provide values for the h1, h2,
he3, and he4 abundances.  The default value is not a valid abundance in
order to force you to set the values yourself.

Josiah




More information about the Mesa-users mailing list