[mesa-users] run gyre only

Jing Luan jingluan.xw at gmail.com
Fri Jan 20 13:03:36 EST 2017


Hi Rich,

Like to double check one thing please :-) Are the xi_r and xi_h in the
output mode file consistent with the following formula please? I define er,
etheta, and ephi as the normal vectors along r, theta, and phi directions
in a spherical coordiantes, and Y_{lm} is the normalized spherical harmonic.

xi (vector) = xi_r *Y_{lm}*er + xi_h *({\partial Y_{lm} \over \partial
theta}*etheta + 1/sin(theta)*{\partial Y_{lm} \over \partial\phi}*ephi

Although this is the conventional definition, I still like to make it sure,
many thanks [image: :-D]

Sincerely,
Jing

On Thu, Jan 19, 2017 at 10:36 AM, RICHARD H D TOWNSEND <
townsend at astro.wisc.edu> wrote:

> Hi Jing --
>
> Yes, ‘UHZ’ is microhertz. But this choice only affects the ‘freq’ output —
> the ‘omega’ output is always the dimensionless angular frequency, which is
> normalized by the dynamical frequency sqrt(GM/R^3)
>
> cheers,
>
> Rich
>
> > On Jan 19, 2017, at 10:35 AM, Jing Luan <jingluan.xw at gmail.com> wrote:
> >
> > Sorry, not 'UMH', it should be 'UHZ' (micro Hz) :-P
> >
> > Sincerely,
> > Jing
> >
> > On Thu, Jan 19, 2017 at 10:33 AM, Jing Luan <jingluan.xw at gmail.com>
> wrote:
> > Hi Rich,
> >
> > A quick question about gyre. I specify the unit for frequency to be
> 'UMH' in gyre.in. What unit is omega in in the output files,
> mode.n-XXXX.txt please? Is it radian/second please? Thank you very much :-)
> >
> > Sincerely,
> > Jing
> >
> > On Thu, Jan 19, 2017 at 9:34 AM, Jing Luan <jingluan.xw at gmail.com>
> wrote:
> > Thank you so much, Rich. Now it works :-D
> >
> > Sincerely,
> > Jing
> >
> > On Thu, Jan 19, 2017 at 9:28 AM, RICHARD H D TOWNSEND <
> townsend at astro.wisc.edu> wrote:
> > Hi Jing —
> >
> > It looks like the quotes around the ‘model.mesa' filename are messed up.
> You should replace them with single-quote characters, not an open-and-close
> pair.
> >
> > cheers,
> >
> > Rich
> >
> > > On Jan 19, 2017, at 9:26 AM, Jing Luan <jingluan.xw at gmail.com> wrote:
> > >
> > > Hi Rich,
> > >
> > > Now it cannot recognize 'model.mesa'. I attach my inlist. The err
> message reads:
> > >
> > > At line 514 of file ../private/star_job_ctrls_io.f90 (unit = 29, file
> = 'inlist_wd_surf_at_tau_1m4')
> > >
> > > Fortran runtime error: Cannot match namelist object name ‘model.mesa'
> > >
> > >
> > >
> > > Thank you very much :-)
> > >
> > >
> > >
> > > Sincerely,
> > >
> > > Jing
> > >
> > >
> > > On Thu, Jan 19, 2017 at 9:17 AM, RICHARD H D TOWNSEND <
> townsend at astro.wisc.edu> wrote:
> > > OK, try using these parameters instead:
> > >
> > > &star
> > >   save_pulsation_info_when_terminate = .true.
> > >   save_pulsation_info_filename = ‘model.mesa'
> > > /
> > >
> > > cheers,
> > >
> > > Rich
> > >
> > > > On Jan 19, 2017, at 9:09 AM, Jing Luan <jingluan.xw at gmail.com>
> wrote:
> > > >
> > > > Hi Rich,
> > > >
> > > > I use r8118. Thank you very much :-)
> > > >
> > > > Sincerely,
> > > > Jing
> > > >
> > > > On Thu, Jan 19, 2017 at 9:05 AM, RICHARD H D TOWNSEND <
> townsend at astro.wisc.edu> wrote:
> > > > Hi Jing —
> > > >
> > > > What version of MESA are you running? The syntax changed a year or
> two ago.
> > > >
> > > > cheers,
> > > >
> > > > Rich
> > > >
> > > > PS Please keep the mesa-users list in the replies — we want other
> people to be able to see our conversation!
> > > >
> > > > > On Jan 19, 2017, at 9:03 AM, Jing Luan <jingluan.xw at gmail.com>
> wrote:
> > > > >
> > > > > Hi Rich,
> > > > >
> > > > > Thank you :-) But it report the error that
> > > > >
> > > > > At line 514 of file ../private/star_job_ctrls_io.f90 (unit = 29,
> file = 'inlist_wd_surf_at_tau_1m4')
> > > > > Fortran runtime error: Cannot match namelist object name
> save_pulse_data_when_terminate
> > > > >
> > > > > Do I need to add something else please? Thank you very much :-)
> > > > >
> > > > > Sincerely,
> > > > > Jing
> > > > >
> > > > > On Wed, Jan 18, 2017 at 3:36 PM, RICHARD H D TOWNSEND <
> townsend at astro.wisc.edu> wrote:
> > > > > Hi Jing —
> > > > >
> > > > > To obtain a model file that GYRE can read, you need to use the
> following flags:
> > > > >
> > > > > &star
> > > > >    save_pulse_data_when_terminate = .true.
> > > > >    save_pulse_data_filename = ‘model.mesa'
> > > > > /
> > > > >
> > > > > &controls
> > > > >    pulse_info_format = ‘GYRE'
> > > > > /
> > > > >
> > > > > cheers,
> > > > >
> > > > > Rich
> > > > >
> > > > > > On Jan 18, 2017, at 3:26 PM, Jing Luan <jingluan.xw at gmail.com>
> wrote:
> > > > > >
> > > > > > Hi Robert and mesa users,
> > > > > >
> > > > > > Is there a way to convert a mesa model into the format that gyre
> could use as an input model please? I compare a .mod file created by mesa
> and the spb.mesa (the input model used by gyre). Their formats are
> different, and the columns do not correspond to the same physical quantity.
> > > > > >
> > > > > > I attach my .mod file and spb.mesa.
> > > > > >
> > > > > > Many thanks!
> > > > > >
> > > > > > Sincerely,
> > > > > > Jing
> > > > > >
> > > > > >
> > > > > >
> > > > > > On Wed, Jan 18, 2017 at 12:55 PM, Robert Farmer <
> rjfarmer at asu.edu> wrote:
> > > > > > Hi
> > > > > >
> > > > > > > how to run gyre alone, it is not clear what would be the
> proper directory under mesa to do it.
> > > > > >
> > > > > > Running gyre on its own doesn't need mesa, look in the
> $MESA_DIR/gyre/gyre folder and then in the test directory for ideas. This
> is just the gyre source code folder you can download from rich's site.
> > > > > >
> > > > > > Further questions about running gyre on its own should go to
> http://www.astro.wisc.edu/~townsend/gyre-forums/
> > > > > >
> > > > > > You may also want to look over the material here
> http://mesastar.org/teaching-materials/2016-mesa-summer-school/gautschy
> (specifically lab1)
> > > > > >
> > > > > > Rob
> > > > > >
> > > > > > On Wed, Jan 18, 2017 at 12:43 PM, Jing Luan <
> jingluan.xw at gmail.com> wrote:
> > > > > > Dear mesa users,
> > > > > >
> > > > > > Is there a dir inside mesa/star/test_suite showing how to run
> gyre WITHOUT running mesa (or in other words, without evolving the star)
> please?
> > > > > >
> > > > > > I find pulse_gyre and example_astero, both of which are running
> mesa & gyre together. But I just want gyre to read in a mesa model (which I
> already built using mesa) and calculate the eigen frequency/function.
> > > > > >
> > > > > > Although it is clear in gyre's website (https://bitbucket.org/
> rhdtownsend/gyre/wiki/Running%20GYRE) how to run gyre alone, it is not
> clear what would be the proper directory under mesa to do it. I do not want
> to install gyre outside mesa.
> > > > > >
> > > > > > Many thanks :-D
> > > > > >
> > > > > > Sincerely,
> > > > > > Jing
> > > > > >
> > > > > > ------------------------------------------------------------
> ------------------
> > > > > > 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
> > > > > >
> > > > > >
> > > > > >
> > > > > > <spb.mesa><0.6M-diffused-ML2-0.5-tau=1d-3-1560.mod>--------
> ----------------------------------------------------------------------
> > > > > > 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
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> > > <inlist_wd_surf_at_tau_1m4><inlist>
> >
> >
> >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20170120/c1ee9ffd/attachment.html>


More information about the Mesa-users mailing list