AMDL-format lacking structure coefficients c_thn

General discussion of all things GYRE-related (e.g., results, talks, ideas, tips)
Post Reply
pjuelsgaard
Posts: 8
Joined: Tue May 25, 2021 2:54 am

AMDL-format lacking structure coefficients c_thn

Post by pjuelsgaard » Mon Jan 10, 2022 8:20 am

Hi all.
I'm trying to run NAd calculations with an AMDL file. As such, I am missing some structure coefficients, namely the nabla_ad and c_thn.
nabla_ad = adiabatic temperature gradient, if I am not mistaken, but what is c_thn?

I am thinking of modifying the amdl-reading routine on my local installation in order to read such a modified amdl-file, so I can do NAd calculations on it.

Kind regards
- Peter Juelsgaard

User avatar
warrick
Posts: 84
Joined: Wed Aug 28, 2013 2:47 am

Re: AMDL-format lacking structure coefficients c_thn

Post by warrick » Tue Jan 11, 2022 4:46 am

Hi Peter,

I don't know what c_thn is but, as far as I know, AMDL models are only defined (via Jørgen Christensen–Dalsgaard's ADIPLS program) to contain the information required for adiabatic calculations. I don't think AMDL models have the data necessary for non-adiabatic calculations. For non-adiabatic calculations, you probably want a different stellar model format, support for which depends on how you're producing the equilibrium model. I'm not sure if FGONG or OSC files might have the necessary information but GYRE stellar models should.

Cheers,
Warrick

User avatar
rhtownsend
Site Admin
Posts: 397
Joined: Sun Mar 31, 2013 4:22 pm

Re: AMDL-format lacking structure coefficients c_thn

Post by rhtownsend » Tue Jan 11, 2022 10:09 am

Warrick is right -- AMDL files don't contain sufficient information to perform non-adiabatic calculations. Unfortunately, this means (unless the AMDL format is extended) that models created by ASTEC cannot be used for non-adiabatic studies.

By the way, c_thn and other coefficients are defined here:

https://gyre.readthedocs.io/en/stable/r ... efficients

c_thn is a dimensionless measure of the optically thin cooling rate.

Post Reply