[mesa-users] quastions

Chris Mankovich cmankovich at ucsc.edu
Mon Dec 22 16:32:54 EST 2014


Hi Sanaz,

Have you read the relevant comments in star_job.defaults?

         !### relax_M_center
>          !### relax_initial_M_center
>          !### relax_M_center_dt
>
>          ! The following let you make separate changes to M, R, L for core.
>          ! Like `relax_mass_scale`, but all change in mass goes into
> `M_center`.
>          ! NOTE: `new_mass` is new total mass for star, not the new
> `M_center` value.
>          ! uses `dlgm_per_step` in same way as `relax_mass_scale`.
>          ! `relax_M_center_dt` in seconds
>
>          ! Example: If you want to end up with total mass = 1.4 and
> `M_center` = 1.3,
>          ! start with `star_mass` = total - center = 0.1 = mass exterior
> to center.
>          ! Then `relax_M_center` with `new_mass` = 1.4.
>          ! That will give a new total mass of 1.4 by changing `M_center`.
>          ! The mass exterior to the center will stay = 0.1,
>          ! so the final `M_center` will be 1.3.


So you need to set the control new_mass, as suggested by your error

 invalid new_mass  -1.0000000000000000
>
.

Chris

On Mon, Dec 22, 2014 at 2:17 PM, sanaz <sanaz.lotfiani at gmail.com> wrote:

> Hi all
>
> when I add these cods'relax_M_center = .True.
>       relax_initial_M_center = .Trur.
>       relax_M_center_dt = 3.1558149984d1’
> in the star/test_suite/make_co_wd/ inlilist_prepare_to_make_wd
> the program did not run and I gave these errors ‘
>
> relax_M_center   -1.0000000000000000D+00
>  invalid new_mass  -1.0000000000000000
>  star_relax_M_center ierr          -1
>  do_star_job_controls_after ierr          -1
> Sat Dec 20 18:31:14 IRST 2014
>
> ******************************************************************
> failed to create after_1st_TP.mod when running inlist_prepare_to_make_co_wd
> ******************************************************************
>
> please guide me that I can solved it.
>
> Bests
> S.l
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming! The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net
> _______________________________________________
> mesa-users mailing list
> mesa-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mesa-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20141222/67efacb5/attachment.html>


More information about the Mesa-users mailing list