The starting point is the fluid equations, comprising the conservation laws for mass
the heat equation
and Poisson’s equation
Here, \(\rho\), \(P\), \(T\), \(S\) and \(\vv\) are the fluid density, pressure, temperature, specific entropy and velocity; \(\Phi\) is the gravitational potential; \(\epsnuc\) is the specific nuclear energy generation rate; and \(\vFrad\) and \(\vFcon\) are the radiative and convective energy fluxes. An explicit expression for the radiative flux is provided by the radiative diffusion equation,
where \(\kappa\) is the opacity and \(a\) the radiation constant.
The fluid equations are augmented by the thermodynamic relationships between the four state variables (\(P\), \(T\), \(\rho\) and \(S\)). Only two of these are required to uniquely specify the state (we assume that the composition remains fixed over an oscillation cycle). In GYRE, \(P\) and \(S\) are adopted as these primary variables1, and the other two are presumed to be derivable from them:
The nuclear energy generation rate and opacity are likewise presumed to be functions of the pressure and entropy:
This may seem like a strange choice, but it simplifies the switch between adiabatic and non-adiabatic calculations