# Boundary Conditions

To form a closed system, the separated equations are augmented by algebraic relations at the inner and outer boundaries of the computational domain, and possibly at interior points as well.

## Inner Boundary

When the inner boundary is placed at the stellar origin (\(r=0\)), the requirement that solutions remain finite leads to the set of regularity conditions

Sometimes it’s desirable that the inner boundary is instead placed at \(r > 0\) — for instance, to excise the stellar core from the oscillation calculations. Then, there is much more flexibility in the choice of inner boundary condition. Possible options include setting \(\txir = 0\) or \(\txih=0\) instead of the first equation above.

## Outer Boundary

The outer boundary typically corresponds to the stellar surface. Under the assumption that the density vanishes on and above this surface, the gravitational potential must match onto a solution to Laplace’s equation that remains finite at infinity, leading to the potential boundary condition

Likewise, the assumption that there is no external pressure acting on the star (consistent with the vanishing surface density) gives the momentum boundary condition

Finally, the thermal boundary condition can be derived from the equation

describing the thermal structure of an atmosphere under the combined plane-parallel, grey, Eddington, local thermodynamic equilibrium and radiative equilibrium approximations. Here, \(\tau\) is the vertical optical depth and \(\sigsb\) the Stefan-Boltzmann constant. Setting \(\tau=0\) (again, consistent with the vanishing surface density) and perturbing this equation yields the desired boundary condition

Complications arise when realistic stellar models are considered, because these typically extend only out to an optical depth \(\tau=2/3\) (or some similar value) corresponding to the photosphere. In such cases the density does not vanish at the nominal stellar surface, and the outer boundary conditions must be modified to account for the effects of the atmosphere region lying above the surface. Many stellar oscillation codes, including GYRE, can adopt more sophisticated formulations for the momentum boundary condition — for instance, based on the assumption that the outer atmosphere has an isothermal stratification. However, the atmospheric effects on the potential and thermal boundary conditions are usually neglected.

## Internal Boundaries

Internal boundaries arise when the density and other related quantities show a radial discontinuity within the star. Across such a discontinuity \(\txir\), \(\delta \tP\) and \(\delta \tFradr\) must remain continuous[1]. Internal boundary conditions on other perturbations follow from integrating the separated equations across the discontinuity, resulting in

Here, + (-) superscripts indicate quantities evaluated on the inner (outer) side of the discontinuity.

Footnotes