Weyens, ToonSánchez, R.Huijsmans, G.Loarte Rodríguez, ÁlvaroGarcía Gonzalo, Luis2021-05-062021-05-062017-02-01Weyens, T., Sánchez, R., Huijsmans, G., Loarte, A., & García, L. (2017). PB3D: A new code for edge 3-D ideal linear peeling-ballooning stability. Journal of Computational Physics, 330, 997-10090021-9991https://hdl.handle.net/10016/32554A new numerical code PB3D (Peeling-Ballooning in 3-D) is presented. It implements and solves the intermediate-to-high-n ideal linear magnetohydrodynamic stability theory extended to full edge 3-D magnetic toroidal configurations in previous work [1]. The features that make PB3D unique are the assumptions on the perturbation structure through intermediate-to-high mode numbers n in general 3-D configurations, while allowing for displacement of the plasma edge. This makes PB3D capable of very e cient calculations of the full 3-D stability for the output of multiple equilibrium codes. As first verification, it is checked that results from the stability code MISHKA [2], which considers axisymmetric equilibrium configurations, are accurately reproduced, and these are then successfully extended to 3-D configurations, through comparison with COBRA [3], as well as using checks on physical consistency. The non-intuitive 3-D results presented serve as a tentative first proof of the capabilities of the code.eng© 2016 ElsevierAtribución-NoComercial-SinDerivadas 3.0 EspañaPB3DIdeal linear MHD stabilityPeeling-ballooningHigh-nEdge3-DInstabilitiesEquilibriaTokamaksPB3D: A new code for edge 3-D ideal linear peeling-ballooning stabilityresearch articleFísicahttps://doi.org/10.1016/j.jcp.2016.10.054open access9971009Journal of Computational Physics330AR/0000019420