[mesa-users] Changes to the gravitational constant
Robert Farmer
rjfarmer at asu.edu
Wed May 31 13:26:06 EDT 2017
Hi
You need to set the s%cgrav(1:s%nz) array with the value of the
gravitational constant you want.
Have a look in the $MESA_DIR/star/other/other_cgrav.f90 file for how to
hook up an other_ routine for changing the cgrav value
Rob
On Wed, May 31, 2017 at 10:16 AM, Nsamba Benard <nsambabenard2net at gmail.com>
wrote:
> Hello,
>
> We are trying to make some changes on the gravitational constant so that
> it varies with a parameter say radius.
>
> say. Gnew = Go(1 + constant*radius)
>
> I am supposed to do this in the run_star_extras but not sure how to do it.
> Can someone help me how to incorporate this.
>
> Thank you.
>
> Cheers,
> Benard
> ------------------------------------------------------------
> ----------------------------------------------
> Benard Nsamba
> PhD student Centro de Astrofisica
> Universidade do Porto
> Rua das Estrelas
> Tel: +351 920 404 108 <+351%20920%20404%20108> 4150-762
> Porto, Portugal
> E-mail: benard.nsamba at astro.up.pt <Benard.Nsamba at astro.up.pt>
> Skype: benardnsamba
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> 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/20170531/4db8bc45/attachment.html>
More information about the Mesa-users
mailing list