The starting point is the fluid equations, comprising the conservation laws for mass
and momentum
the heat equation
and Poisson's equation
∇2Φ = 4πGρ.
Here, ρ, P, T, S and
where κ is the opacity and a the radiation constant.
The fluid equations are augmented by the thermodynamic relationships between the four state variables (P, T, ρ 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:
ρ = ρ(P, S), T = T(P, S).
The nuclear energy generation rate and opacity are likewise presumed to be functions of the pressure and entropy:
Footnotes
This may seem like a strange choice, but it simplifies the switch between adiabatic and non-adiabatic calculations↩