CASTOR/STARWALL is a code package for linear stability studies consisting of the CASTROR_3DW code, the STARWALL code, and a hybrid version of both codes named CASTOR3D that is currently under development. The latter solves an extended eigenvalue problem consisting of the plasma part defined by the weak form of the perturbed single-fluid MagnetoHydroDynamic (MHD) equations, and a vacuum part which is derived from an energy functional. This new code can describe wall resistivity and plasma inertia simultaneously. Furthermore, besides the so far used straight field line coordinates, additionally, general flux coordinates are implemented which are more appropriate for the description of instabilities located close to the separatrix (e.g. Edge Localized Modes (ELMs)). The formulation of the eigenvalue problem in the new coordinates is not limited to axisymmetric equilibria, so that, finally, stability studies of resistive and rotating, 3D equilibria should be possible. In this paper we will sketch the theory, report on the progress of the code development, and present first results.
Read full abstract