Search found 397 matches

by rhtownsend
Wed Apr 17, 2024 9:47 am
Forum: Bug reports
Topic: Floating-point exception in bracket search for higher l
Replies: 4
Views: 3242

Re: Floating-point exception in bracket search for higher l

Hi JJ --

I'll take a look at the crashing case in the coming days, to see if I can pinpoint why things are going awry.

cheers,

Rich
by rhtownsend
Mon Apr 08, 2024 11:17 am
Forum: Bug reports
Topic: Floating-point exception in bracket search for higher l
Replies: 4
Views: 3242

Re: Floating-point exception in bracket search for higher l

Hi JJ -- Further to Warrick's comments, it looks like both lag_T_eff and xi_r are zero at the stellar surface, causing the error. This shouldn't usually happen, but may be a consequence of using the MAGNUS_GL4 diff scheme. Could you try using MAGNUS_GL2 instead and see if that works better? (The hig...
by rhtownsend
Fri Mar 01, 2024 6:57 am
Forum: General Discussion
Topic: Perturbative treatment of Coriolis effect
Replies: 2
Views: 1909

Re: Perturbative treatment of Coriolis effect

Hi Gautam -- The ability to calculate the first-order effects of the Coriolis force has been in GYRE since at least v6.0. The domega_rot output item gives the (additive) correction that the user can apply (via post-processing) to the calculated dimensionless frequencies: omega -> omega + domega_rot....
by rhtownsend
Tue Dec 12, 2023 12:10 pm
Forum: General Discussion
Topic: calculation of optical depth
Replies: 8
Views: 2152

Re: calculation of optical depth

I recommend using the 'keep_surface_point_for_pulse_data = .true.' option -- this will make sure that the GYRE model includes the outermost point of the MESA model, which in this case corresponds to tau=2/3.
by rhtownsend
Fri Dec 08, 2023 1:44 pm
Forum: General Discussion
Topic: calculation of optical depth
Replies: 8
Views: 2152

Re: calculation of optical depth

Hi Anwesha --

What model atmosphere is being used for the MESA calculations -- i.e., what is the setting for atm_option? It would help if you could post your MESA inlist file.

Also, regarding your plot, what is the x-axis?

cheers,

Rich
by rhtownsend
Fri Dec 08, 2023 12:44 pm
Forum: General Discussion
Topic: calculation of optical depth
Replies: 8
Views: 2152

Re: calculation of optical depth

Hi, I would like to calculate the optical depth of the surface point of the gyre model I am using T^4 = (Teff^4)*(2/3 + tau)*(3/4) for T I am using (addata['T'])[-1] for the surface point, Teff I am using the Teff of the input model. Now that leads me to a tau of ~ 32, whereas the input model has a...
by rhtownsend
Mon Sep 18, 2023 6:44 pm
Forum: General Discussion
Topic: codes file location in gyre
Replies: 4
Views: 1454

Re: codes file location in gyre

Hi Rich, just another quick question, Do the underscore terms for 'c_thk' and 'c_thn' in the structure equation symbol list correspond to thick and thin optical depth respectively? If not, then what do they mean? what should be a tau value for it to be considered as thick and what should be a tau v...
by rhtownsend
Sun Sep 17, 2023 8:43 am
Forum: General Discussion
Topic: codes file location in gyre
Replies: 4
Views: 1454

Re: codes file location in gyre

Hi Anwesha --

Code files in GYRE reside in the $GYRE_DIR/src subdirectory. For the definition of the differential work (and work integrals), take a look at $GYRE_DIR/src/mode/gyre_wave.fpp

cheers,

Rich
by rhtownsend
Wed Aug 09, 2023 7:37 am
Forum: GYRE News
Topic: GYRE 7.1 release
Replies: 0
Views: 2526

GYRE 7.1 release

Hi folks -- I'm pleased to announce the release of GYRE 7.1, which offers a treatment of turbulent convective damping and an important bug fix to the 'KAWALER' zeta_scheme. Source code: https://github.com/rhdtownsend/gyre/releases/download/v7.1/gyre-7.1.tar.gz Release notes: https://github.com/rhdto...
by rhtownsend
Mon Jul 31, 2023 12:27 pm
Forum: General Discussion
Topic: Treating Forcing Frequency as Free Parameter
Replies: 1
Views: 1141

Re: Treating Forcing Frequency as Free Parameter

Hi Cayden -- Good question -- this is little buried in the docs, but the way to do this is using the alpha_frq parameter of the &tide namelist group. The inertial-frame forcing frequency used in gyre_tides is sigma = alpha_frq * k * Omega_orb ...where Omega_orb is the orbital frequency and k the har...