1. Introduction
Recent progress in the theoretical understanding of so-called asymmetric vertical displacement events (AVDE) in tokamaks is related to the theory of wall-touching kink and vertical magnetohydrodynamic modes (WTKM, WTVM) (Zakharov Reference Zakharov2008; Zakharov et al.
Reference Zakharov, Galkin and Gerasimov2012; Gerasimov et al.
Reference Gerasimov, Hender, Morris, Riccardo and Zakharov2014, Reference Gerasimov, Abreu, Baruzzo, Drozdov, Dvornova, Havlicek, Hender, Hronova and Kruezi2015; Xiong et al.
Reference Xiong, Xu, Wang, Zakharov and Li2015). At JET tokamak, during upward plasma motion due to vertical instability, a kink mode
$m/n=1/1$
(
$m,n$
are poloidal and toroidal wavenumbers) is typically excited, plasma touches the wall and shares electric current with it. This current stabilizes the fast development of the kink mode but at the same time, generates large sideways forces on the vacuum vessel which are difficult to withstand (Litunovski Reference Litunovski1995; Noll et al.
Reference Noll, Andrew, Buzio, Litunovski, Raimondi, Riccardo, Verrecchia, Varandas and Serra1996; Riccardo, Noll & Walker Reference Riccardo, Noll and Walker2000; Riccardo et al.
Reference Riccardo, Arnoux, Beaumont, Hacquin, Horbrk, Howell, Huber, Joffrin, Koslowski and Lam2009; Bachmann et al.
Reference Bachmann, Sugihara, Rocella, Sannazzaro, Gribov, Riccardo, Hender, Gerasimov, Putasso and Belov2011). The evaluation of these forces at ITER in 2007 caused modifications in the design support structures of its vacuum vessel.
The theory of WTKM (Zakharov Reference Zakharov2008; Zakharov et al. Reference Zakharov, Galkin and Gerasimov2012) explained the unexpected sign of the currents in the wall during AVDE, which is opposite in direction to the plasma current in all JET upward vertical displacement events (VDE). The engineering scaling (Noll et al. Reference Noll, Andrew, Buzio, Litunovski, Raimondi, Riccardo, Verrecchia, Varandas and Serra1996) of sideways forces was confirmed. Recently, the same theory provided an interpretation of the toroidal asymmetry of diamagnetic signal during excitation of the WTKM. Theory also predicted the excitation of currents opposite to the plasma current in pure axisymmetric VDEs and motivated the installation of a special tile diagnostic on the EAST tokamak. The EAST measurement confirmed the theory prediction (Xiong et al. Reference Xiong, Xu, Wang, Zakharov and Li2015).
The theoretical understanding of VDE disruption was formalized by creation of the tokamak magnetohydrodynamic (TMHD) model, which considers the disruption as a fast equilibrium evolution. The MHD plasma instability in tokamaks always generates surface currents at the plasma edge. In VDE disruptions, fast instability growth is prevented by the plasma contact with the wall where the surface currents from the leading edge of the plasma are transferred to the wall. These currents, called Hiro currents, are opposite in direction to the plasma current and balance the instability, converting it into a fast equilibrium evolution. In the case of pure axisymmetric VDE disruptions, the Hiro currents flow in the toroidal direction along the plasma-facing wall surface. If necessary, they shortcut the gaps between the plasma-facing in-vessel tiles.
In AVDE with a
$m/n=1/1$
plasma deformation, the Hiro currents are shared between the plasma edge and the wall. A specific scrape off layer (SoL), referred to here as the Hiro SoL (HSoL), is created dynamically in order to conduct the Hiro currents from the plasma surface to the wetting zone in the wall.
Another type of current is associated with the shrinkage of the plasma cross-section and releasing of the charged particles from the core to the open field lines. Accordingly, these particles create a conventional (although 3-D) SoL around the plasma core and the HSoL. The loop voltage drives these SoL currents, called Evans currents (introduced by theory instead of controversial ‘halo’ currents) to the wall. The Evans currents are source limited by particle supply from the core, and play a minor role in the disruptions.
The TMHD theory associates the triggering of thermal quench with 3-D perturbations of the magnetic configuration caused by the plasma contact with the wall. Also, the excitation of Hiro currents in the wall is considered to be a reason for the typical negative loop voltage spike measured at the beginning of the disruptions.
All new physics effects related to a direct contact of the plasma with the wall, and to current sharing, require implementation into plasma-wall simulations. This paper provides an initial step in implementation of the 3-D wall into the TMHD model (Zakharov & Li Reference Zakharov and Li2015). The units used in the paper are: m, T, MA, MN, MPa,
$10^{6}~{\rm\Omega}^{-1}~\text{m}^{-1}$
,
${\it\mu}_{0}=0.4{\rm\pi}$
for lengths, magnetic fields, currents, forces, pressure, electric conductivity and magnetic permeability, respectively.
The thin wall approximation is the simplest model for describing the effect of a conducting shell on the plasma dynamics. This model replaces the real current distribution in the bulk of the structure by a sheet current along the plasma-facing surface. First, this model is reasonable for thin stainless steel (SS) structures of the vacuum vessel (of approximately 1–3 cm thick) which have electric conductivity
$1.38$
. The current penetration time through the thickness
$h$
of the wall
${\it\tau}_{h^{2}}\equiv {\it\mu}_{0}{\it\sigma}h^{2}/4$
for SS can be assessed as
${\it\tau}_{h^{2}}^{SS}\simeq 0.4\times 10^{-4}h_{cm}^{2}$
. This means that, for disruption processes, which are typically longer than 1 ms, the currents excited in the SS shell will be uniformly distributed across the shell thickness.
The thin wall model might be questionable in the presence of the copper passive structures inside the vacuum vessel, as in the EAST tokamak (Xiong et al.
Reference Xiong, Xu, Wang, Zakharov and Li2015). For copper, whose electric conductivity is
$58.8$
, the current penetration time
${\it\tau}_{h^{2}}^{\text{Cu}}\simeq 1.8\times 10^{-3}h_{cm}^{2}$
and is comparable with the duration of the VDE on the EAST
$\simeq 10$
ms (
$h=2$
cm). Still, the thickness of the copper shell is small relative to the plasma size and the thin wall model could be a good reference model for simulations.
Another example of an effect which are not reproduced by the thin wall approximation is the penetration of the magnetic field through the gaps between highly conducting plates whose thickness is comparable to, or bigger than, the width of the gap. With this in mind, corrections to the thin wall model should be made for such cases.
The advantage of the triangle representation of the curved geometry of the plasma-facing wall surface resides in its simplicity and universal applicability. Another significant advantage of this geometrical model is the existence of analytical formulas for the magnetic field of a uniform current in a single triangle. The 3-D thin wall model complements the TMHD disruption model (Zakharov & Li Reference Zakharov and Li2015) by the wall response.
The paper describes the implementation of the thin wall model into two mutually linked codes: (i) SHL (shell simulation code) for simulations of eddy currents, and (ii) SSC (source/sink code) for simulating current sharing between the plasma and the wall. Section 2 presents the differential equations for the surface current determination in a thin wall. Section 3 describes the current representation inside a single triangle. Section 4 gives the energy principles for defining a finite element representation of the equations, while § 5 presents the matrix form of these principles. Section 6 shows examples of simulations of thin wall currents by the SSC and SHL codes. A comparison of the newly developed SSC code with analytical solutions is given in § 7. A step towards modelling the WTKM is given in § 8. Section 9 presents a potential optimization of thin wall problem by localization of the region for the source/sink currents. The summary is given in § 10.
2. Two kinds of surface currents in the thin wall
For the purpose of TMHD modelling, the surface current density
$h\boldsymbol{j}$
in the conducting shell (
$h$
is the thickness of the current distribution) can be split into two components: (i) a divergence-free surface current
$\boldsymbol{i}$
, and (ii) a current
$\propto -\boldsymbol{{\rm\nabla}}{\it\phi}^{S}$
with potentially finite divergence to describe current sharing between the plasma and the wall:
Here,
$I$
is the stream function of the divergence-free component and
$\boldsymbol{n}$
the unit normal vector to the wall. The
$\boldsymbol{i}$
component corresponds to the well-known eddy currents. Following Riccardo et al. (Reference Riccardo, Noll and Walker2000), we refer to the second component
$-\bar{{\it\sigma}}\boldsymbol{{\rm\nabla}}{\it\phi}^{S}$
as the source/sink current, or S/S-current. Accordingly, the surface function
${\it\phi}^{S}$
is called the source/sink potential.
The S/S-current in (2.1) is the surface current which originates from the sharing of the electric current between the plasma and the wall. It is determined from the following equation
where
$j_{\bot }$
is the density of the current coming from/to the plasma and acting as a galvanic source for the surface currents on the wall. The sign of
$j_{\bot }$
is positive for the current from the plasma to the wall, which corresponds to the source. The part
$j_{\bot }^{Hr}$
of
$j_{\bot }$
can be associated with the Hiro currents, which are excited inductively due to plasma deformation and its contact with the wall. The amplitude of the Hiro currents are not sensitive to the details of the plasma–wall interaction (the instability acts as a current generator). For wall simulations, these currents and their wetting zone can be considered to be given. The TMHD disruption model splits the equation of motion into an equilibrium equation and the plasma advancing equation. The splitting allows disruption simulations on a relatively slow time scale in comparison with the fast time of ideal MHD instabilities (Zakharov & Li Reference Zakharov and Li2015). In a thin HSoL approximation (the
${\it\delta}$
-functional Hiro currents) the equilibrium equation determines the shape of the contact zone, the contour of the entrance and the amplitude of the Hiro currents along this contour. A more realistic model should include the finite thickness of HSoL, an additional item of edge physics which determines the structure of HSoL.
Another,
$j_{\bot }^{Ev}$
, part of
$j_{\bot }$
is associated with the Evans currents in the conventional SoL (Zakharov et al.
Reference Zakharov, Galkin and Gerasimov2012; Zakharov & Li Reference Zakharov and Li2015) created by the plasma particles released from the shrinking plasma core when the plasma touches the material surface. The toroidal loop voltage drives the current in this SoL along the open field lines. This current is ‘source’ limited by the rate of the electric charge release
$e\,\text{d}N/\text{d}t$
, where
$N$
is the number of particles in the plasma core. Unlike the Hiro currents, which are an inductive effect of the instability, the Evans currents represent a side ‘resistive’ effect, which depends on plasma–wall interactions. Being source limited, these currents are small relative to the Hiro currents and do not affect the disruption dynamics. However they can be measured and should be simulated, thus providing information regarding plasma–wall interactions during disruptions.
Both Hiro and Evans currents from the SoL enter the wall surface in the vicinity of the contour of the wetting zone, whose geometry is determined by the plasma dynamics. The amplitude and direction of the Hiro currents is determined dynamically by the plasma deformation and flux conservation. The waveform of the total Evans current
$I^{Ev}(t)$
is considered as input. In a thin HSoL and SoL approximation, which is the simplest reasonable model, the current density
$j_{\bot }$
can be considered as
${\it\delta}$
-functional along the wetting-zone contour. In this paper, for demonstration of the capabilities of the numerical codes,
$j_{\bot }$
-profiles distributed over the wetting zone are used.
In terms of components of the surface current, Faraday’s law can be written as
Here,
$\boldsymbol{A}$
is the vector potential of the magnetic field and
${\it\phi}^{E}$
is the electric potential. The effective resistance
$\bar{{\it\eta}}$
is introduced for convenience.
The normal component of the curl of this equation gives the equation for the stream function
$I$
(Tseitlin Reference Tseitlin1970; Chance Reference Chance1997; Chance et al.
Reference Chance, Chu, Okabayashi and Turnbull2002; Chu et al.
Reference Chu, Chance, Glasser and Okabayashi2003; Pustovitov Reference Pustovitov2008; Strumberger et al.
Reference Strumberger, Merkel, Sempf and Günter2008; Atanasiu, Moraru & Zakharov Reference Atanasiu, Moraru and Zakharov2009; In et al.
Reference In2009; Atanasiu & Zakharov Reference Atanasiu and Zakharov2013)
On the right-hand side, the normal component of the magnetic field is represented by separate contributions from the plasma
$B_{\bot }^{pl}$
, external coils
$B_{\bot }^{coil}$
and from two components of the surface current,
$B_{\bot }^{I}$
and
$B_{\bot }^{S}$
.
Two equations (2.2), (2.4) describe the current distribution in the thin wall given the sources
$j_{\bot },B_{\bot }^{pl},B^{coil}$
specified as functions of space and time. In addition to (2.2), (2.4), the expression for the magnetic field from the surface current (e.g. Biot–Savart formulas), has to be specified in order to close the system of equations. The important property of this system of equations is the independence of (2.2) for
${\it\phi}^{S}$
from (2.4). Solved independently, it contributes via the term
$\partial B^{S}/\partial t$
to the right-hand side of (2.4).
Equations (2.2), (2.4) can be solved using the finite difference method, e.g. as in (Atanasiu & Zakharov Reference Atanasiu and Zakharov2013) for simulation of the thin-wall response to the perturbations from a rotating kink mode. In this paper, the implementation of a more universal method is described.
3. Triangle model for two kinds of surface current in the wall
The triangle electromagnetic representation of the thin wall is based on the following expressions for the vector potential
$\boldsymbol{A}$
and magnetic field
$\boldsymbol{B}$
of a uniform surface current
$\boldsymbol{i}=\text{const.}$
inside the triangle
where
${\it\varphi}$
is the electric potential of a triangle with a uniform unit charge,
$\boldsymbol{e}$
is its electric field,
$\boldsymbol{r},\boldsymbol{r}^{\prime }$
are the coordinates of the observation and the source points and the integrals are taken over the surface of the triangle. Both
${\it\varphi}$
and
$\boldsymbol{e}$
have analytical expressions in terms of elementary functions.
In 2008, the triangle based electrodynamic model of the thin wall was implemented into the numerical Shell simulation code (SHL), mentioned in (Zakharov et al. Reference Zakharov, Galkin and Gerasimov2012) and used for simulations of eddy currents in the lithium tokamak experiment (LTX) (Berzak et al. Reference Berzak, Menard, Majeski, Lundberg, Granstedt, Jacobson, Kaita, Kozub and Zakharov2012). Earlier, the triangle based wall model was implemented into the STARWALL code of Merkel (Merkel, Nührenberg & Strumberger Reference Merkel, Nührenberg and Strumberger2004; Merkel & Sempf Reference Merkel and Sempf2006; Strumberger et al. Reference Strumberger, Merkel, Sempf and Günter2008; Merkel & Strumberger Reference Merkel and Strumberger2015) for resistive wall-mode studies.
Inside a triangle with vertices a, b, c (figure 1) the edges and the local vector of an arbitrary point are defined as
For calculation of the finite elements, new coordinates
$u,v$
, with the origin in the vertex
$a$
, are introduced by
Elementary triangle.
The metric tensor is determined by an element of length
$\text{d}l$
Its Jacobian
$D$
is given by
and is equal to the doubled surface area of the triangle
$D=2S$
The gradients of
$u,v$
are given by
The plane functions
$I,{\it\phi}^{S}$
inside the triangle are defined by their values
$I_{a}$
,
$I_{b}$
,
$I_{c}$
,
${\it\phi}_{a}^{S}$
,
${\it\phi}_{b}^{S}$
and
${\it\phi}_{c}^{S}$
at the vertices as linear functions of
$u,v$
The gradient
$\boldsymbol{{\rm\nabla}}I$
is given by
where the normal unit vector
$\boldsymbol{n}$
is defined in terms of the vector product of the triangle edge vectors. A similar relation is valid for
$\boldsymbol{{\rm\nabla}}{\it\phi}^{S}$
.
Now, the total current density inside the triangle, containing both divergence-free and source/sink components, is given by
4. Energy principle for the thin wall
Equation (2.2) for
${\it\phi}^{S}$
, which determines the current in the wall due to current sharing with the plasma, can be obtained by minimizing the functional
$W^{S}$
Here, the surface integral
$\text{d}S$
is taken along the wall surface, while the contour integral
$\text{d}\boldsymbol{l}$
is taken along the edges of the conducting surfaces with the integrand representing the surface current normal to the edges. The contour integral takes into account the external voltage applied to the edges of the wall components and vanishes when there is no source/sink of the current through the edges of the wall surface, as happens in typical cases.
For the divergence-free part of the surface current, the energy principle can be obtained by multiplying the Faraday law equation (2.3) by
$\boldsymbol{i}$
and integrating it over the wall surface.
The vector potential consists of the following components
Here
$\boldsymbol{A}^{I}$
is the self-field of the current
$\boldsymbol{i}$
, while
$\boldsymbol{A}^{ext}$
is generated by the plasma
$\boldsymbol{A}^{pl}$
, external coils
$\boldsymbol{A}^{coil}$
and
$\boldsymbol{A}^{S}$
is created by the source/sink current
$-\bar{{\it\sigma}}\boldsymbol{{\rm\nabla}}{\it\phi}^{S}$
.
Equation (2.3) for the divergence-free part of the surface current
$\boldsymbol{i}=(\boldsymbol{{\rm\nabla}}I\times \boldsymbol{n})$
can be obtained from the following energy functional
The first inductive term in the surface integral represents the change of magnetic energy of the current
$\boldsymbol{i}$
, which in the triangle wall model is given by (3.13). Its vector potential
$\boldsymbol{A}^{I}$
(3.1) can be expressed in terms of
$I$
using explicit formulas for the triangle representation of the wall. The second term describes resistive losses and the third represents the excitation of the current by other sources. If the time derivative is replaced by the growth rate
${\it\gamma}$
, functional (4.5) is reduced to the STARWALL form of the fuctional (Merkel & Sempf Reference Merkel and Sempf2006).
In derivation of (4.5), the term with the time derivative is written in the self-conjugated form by using the equality
After integration over the entire space, the first two terms on the right-hand side vanish, while for the terms containing
$\boldsymbol{i}$
, the volume integral is reduced to the integration over the wall surface, giving
Two energy functionals (4.1) for
${\it\phi}^{S}$
and (4.5) for
$I$
are suitable for implementation into the numerical codes and constitute the electromagnetic wall model for the WTKM and WTVM.
5. Matrix circuit equations for triangle wall representation
The substitution of
$I,{\it\phi}^{S}$
as a set of plane functions inside triangles (3.12) is straightforward and leads to the finite element representation of
$W^{I},W^{S}$
as quadratic forms for the unknowns
$I,{\it\phi}^{S}$
at each vertex.
A similar linear representation (3.12) can be chosen for
$j_{\bot },\bar{{\it\sigma}}$
and
$\bar{{\it\eta}}$
Now, the elementary integrals entering the energy principle (4.1) with these representations of
${\it\phi}^{S},j_{\bot },\bar{{\it\sigma}}$
, can be calculated explicitly as
As a result, the energy functional
$W^{S}$
can be reduced to the following matrix form
$$\begin{eqnarray}\displaystyle W^{S} & \hspace{-2.0pt}=\hspace{-2.0pt} & \displaystyle \mathop{\sum }_{i}\left\{\frac{\bar{{\it\sigma}}_{a}+\bar{{\it\sigma}}_{b}+\bar{{\it\sigma}}_{c}}{3}\frac{({\it\phi}_{a}^{S}\boldsymbol{r}_{cb}+{\it\phi}_{b}^{S}\boldsymbol{r}_{ac}+{\it\phi}_{c}^{S}\boldsymbol{r}_{ba})_{i}^{2}}{8S_{i}}\right.\nonumber\\ \displaystyle & & \displaystyle -\,\left.S_{i}\left.\frac{{\it\phi}_{a}^{S}(2j_{a}+j_{b}+j_{c})+{\it\phi}_{b}^{S}(j_{a}+2j_{b}+j_{c})+{\it\phi}_{c}^{S}(j_{a}+j_{b}+2j_{c})}{12}\right|_{i}\right\},\end{eqnarray}$$
where summation is performed over all triangles. We drop the contour integral term, which is zero for most of plasma dynamics problems.
In the energy functional
$W^{I}$
, the vector potential
$\boldsymbol{A}^{I}$
is generated by the surface currents from the entire wall
where the dot stands for the time derivative
${\dot{I}}=\text{d}I/\text{d}t$
. In the energy integral, each
$j$
-term in this sum should be integrated over each
$i$
-triangle of the wall. The following notation is introduced for the elementary integrals representing the mutual capacitance of two triangles
These have to be evaluated numerically. Other terms in
$W^{I}$
can be expressed in the same way as the
$W^{S}$
functional.
As a result,
$W^{I}$
acquires the following quadratic form representation
$$\begin{eqnarray}\displaystyle W^{I} & = & \displaystyle \frac{\text{d}}{\text{d}t}\left\{\mathop{\sum }_{ij}C_{ij}\frac{[(I_{a}\boldsymbol{r}_{cb}+I_{b}\boldsymbol{r}_{ac}+I_{c}\boldsymbol{r}_{ba})_{i}\boldsymbol{\cdot }(I_{a}\boldsymbol{r}_{cb}+I_{b}\boldsymbol{r}_{ac}+I_{c}\boldsymbol{r}_{ba})_{j}]}{8S_{i}S_{j}}\right\}\nonumber\\ \displaystyle & & \displaystyle +\,\mathop{\sum }_{i}\left\{S_{i}\langle \bar{{\it\eta}}\rangle _{i}\cdot \frac{g_{uu}(I_{b}-I_{a})^{2}+2g_{uv}(I_{b}-I_{a})(I_{c}-I_{a})+g_{vv}(I_{c}-I_{a})^{2}}{2}\right\}\nonumber\\ \displaystyle & & \displaystyle +\,\mathop{\sum }_{i}\left\{\frac{[(I_{a}\boldsymbol{r}_{cb}+I_{b}\boldsymbol{r}_{ac}+I_{c}\boldsymbol{r}_{ba})_{i}\boldsymbol{\cdot }\langle \dot{\boldsymbol{A}}^{ext}\rangle _{i}]}{2S_{i}}\right\},\end{eqnarray}$$
with
Here, the dot at
$\dot{\boldsymbol{A}}^{ext}$
stands for the time derivative.
The minimization of quadratic forms (5.6), (5.9) leads to linear systems of equations with symmetric positively defined matrices which can be solved using Cholesky decomposition.
6. Simulations of source/sink currents using SSC code
In accordance with the two types of wall currents, two numerical codes are presented. The SHL implements the matrix equations resulting from
$W^{I}$
(5.9), and solves them with given right-hand side
$\dot{\boldsymbol{A}}^{ext}$
in (5.9). The SSC complements the SHL by calculation of the S/S-currents in the wall, with given right-hand side
$j_{\bot }$
in (5.6).
The wall in both codes is represented as a structure of surfaces. At this moment, by definition there is no electric current sharing between different surfaces across the gaps or along the third dimension (such as grounding). In future, the electric connection between surfaces can be implemented as another
$j_{\bot }$
effect.
Each surface consists of a number of vertices and triangles and can contain a single closed edge and potentially multiple holes. The
$I$
and
${\it\phi}^{S}$
functions on different surfaces are independent, with
$I=0$
along the edges, or at a single point if edges are absent (as for a toroidal shell). Along the edges of the holes
$I=\text{const.}$
with values determined by equations. Similarly, the function
${\it\phi}^{S}$
is specified at one of the vertices.
Figure 2 shows an example of calculations of the source/sink currents on a toroidal shell with set vertical and horizontal holes (figure 2 a). In this example, the wall surface does not contain an edge.
Two areas with localized sources (red) and sinks (blue) are prescribed, as shown in figure 2(b) and the wall conductivity
$\bar{{\it\sigma}}$
is assumed to be constant and equal to 1 for simplicity. The distribution of the solution
$\bar{{\it\sigma}}{\it\phi}^{S}$
of (2.2) over the wall surface (outside the source/sink area) is shown in figure 2(c,d). The colour reflects amplitude in accordance with the colour scale at the right side of each panel. Short straight lines indicate the vectors of the current density
$-\bar{{\it\sigma}}\boldsymbol{{\rm\nabla}}{\it\phi}^{S}$
, with the length proportional to its local amplitude, with a dot at the beginning of the vector. The surface currents are concentrated predominantly between source and sink.
SSC simulations of source/sink currents on a toroidal shell with holes and localized wetting zones. (a) Toroidal thin wall with holes. (b) Wetting zones with distributed
$j_{\bot }$
. (c) View to the bottom of the wall on distribution of the solution
${\it\phi}^{S}$
.(d) View to the top where the S/S-currents are small. White and black ends of the colour map correspond to positive and negative values, respectively.
7. Verification of SSC with an analytical solution
The accuracy of the SSC code was checked against the following analytical example. For simplicity, we consider
$\bar{{\it\sigma}}=1$
and a toroidal shell, which is shown in figure 3 and defined in Cartesian coordinates
$x,y,z$
by
where
${\it\varphi},{\it\omega}$
are poloidal and toroidal angles and
$R,a$
are the major and minor radii. The poloidal and toroidal cuts are defined by
The hole area is symmetric with respect to the point
${\it\varphi}={\rm\pi},{\it\omega}={\rm\pi}$
and is specified by
High-resolution model (
$64\times 64\times 4$
triangles) of a wall (the major/minor radii are
$3/1$
). (a) a wall with poloidal and toroidal cuts and a hole in the low field side surface. (b) Colour image of the input
$j_{\bot }$
. (c) Colour image of the analytical
${\it\phi}^{S}$
. Straight lines show the direction of the current density with a point labelling the beginning of the vector. (d) The same based on numerical solution. The value of the relative inaccuracy is 0.001.
(a) Low-resolution triangle model of a wall (the major/minor radii are
$3/1$
). (b) Colour image of the input
$j_{\bot }$
. (c) Colour image of the analytical
${\it\phi}^{S}$
. Straight lines show the direction of the current density with a point labelling the beginning of the vector. (d) The same based on numerical solution. The value of the relative inaccuracy is 0.015.
The analytical solution is chosen in the form
with
$$\begin{eqnarray}\displaystyle \left.\begin{array}{@{}c@{}}G_{u}(u_{0})=G_{u}(-u_{0})=G_{u}(u_{1})=G_{u}(-u_{1})\\ =G_{v}(v_{0})=G_{v}(-v_{0})=G_{v}(v_{1})=G_{v}(-v_{1})=0,\\ u_{1}=v_{1}={\rm\pi}-{\it\epsilon}\end{array}\right\} & & \displaystyle\end{eqnarray}$$
to satisfy the absence of the current flow through the edges of the shell. One specific choice is given by
The source term
$j_{\bot }$
for the SSC code can be calculated in a straightforward way with the following relation
and is shown in figure 3(b).
Figure 3(c,d) illustrate the comparison of the analytical and numerical solutions for different triangularizations of a toroidal shell. A high resolution mesh (
$64\times 64\times 4$
triangles) on the wall surface was used in figure 3(d), providing a relative accuracy of 0.001 (defined as the ratio of maximum deviation of the numerical solution from the exact solution to its maximum value).
Figure 4 represents the same calculations with a rough (
$16\times 15\times 4$
) resolution, which provide a relative accuracy of 0.015. This is 0.003 for a grid with a mesh
$32\times 32\times 4$
.
These numbers show that the grid representation of the wall does not represent an issue for disruption simulations.
8. A step toward modelling the WTKM
This section describes the initial steps in simulation by mutually interfaced SSC and SHL codes of the Hiro and eddy current excitations in the wall. The plasma kink deformation and vertical displacement are prescribed and a circular plasma cross-section is considered for simplicity. The strong toroidal magnetic field approximation was also used for the surface current calculation at the plasma edge as in (Zakharov Reference Zakharov2008). The wetting zone is determined by the intersection of plasma and wall surfaces. In a real situation, it should be determined in a self-consistent manner by the 3-D equilibrium equation of TMHD, together with the plasma shape and position. The
$j_{\bot }$
-profile is prescribed now in a simplified manner as a source/sink distributed over the wetting zone. Its amplitude is consistent with the current sharing with the plasma edge. In reality,
$j_{\bot }$
-profile should be determined by the structure of HSoL of Hiro currents. The Evans currents are neglected. The resistivity of the wall was also neglected in Faraday’s law (2.3).
S/S-currents in a toroidal shell represented by
$140\times 64$
quads with 4 triangles inside each. (a) The toroidal thin wall shell with multiple holes. (b) A toroidal plasma shifted vertically with a
$m/n=1/1$
kink deformation. The colours of the plasma surface corresponds to the direction of surface currents: blue for the opposite and red for the same direction as the plasma current. (c) Wetting zones due to WTKM and the colour representation of
$j_{\bot }$
; (d) the resulting
${\it\phi}^{S}$
and vectors of the current density.
Colour representation of the resulting
${\it\phi}^{S}$
and S/S-currents
$-\bar{{\it\sigma}}\boldsymbol{{\rm\nabla}}{\it\phi}^{S}$
. (a) The zoomed view on the wetting zone which contains the major part of the S/S-current. (b) The zoomed view on the sink zone with S/S currents converging to its centre. (c) The zoomed view on the source zone with S/S currents diverging from its centre. (d) Bottom view, showing the lack of the S/S-currents at the bottom part of the wall.
With these assumptions, the S/S-current is calculated by the SSC code. In turn, the SHL code calculates the eddy currents in the wall generated by the plasma kink deformation and by S/S-current. Together they represent the total surface current in the wall. What is missed at this stage of code development is the backward effect of these currents on the plasma shape and its surface currents. This important and complicated step is left for future development.
Figures 5 and 6 shows the calculations which mimic the wetting zone and Hiro currents due to WTKM during an AVDE. Figure 5(b) shows a toroidal plasma, shifted upward and perturbed by a
$m/n=1/1$
kink perturbation. As a result, a wetting zone is created and displayed as a piece of plasma surface in front of the inner wall. The blue colour on the plasma surface indicates the direction of the surface current, opposite to the plasma current, while the red colour corresponds to the plasma surface currents in the same direction as the plasma current.
It is a fundamental result of the theory of the wall touching modes (Zakharov Reference Zakharov2008; Zakharov et al.
Reference Zakharov, Galkin and Gerasimov2012) that the Hiro currents are negative (relative to the total plasma current). They determine the sign the source
$j_{\bot }$
for S/S-currents as is reflected in figure 5(c) by colour of the wetting zone (red for positive and blue for the negative
$j_{\bot }$
). As the simplest choice,
$j_{\bot }$
is prescribed as uniform in the vertical direction, with the amplitude corresponding to the Hiro current entering the wetting zone at a particular azimuth, as shown in figure 5(c) by colours in the wetting zone. Figure 5(d) presents the solution to (2.2). Four frames in figure 6 show different views of the solution
${\it\phi}^{S}$
and the pattern of the S/S current density represented by the short straight lines. All calculations (35 840 triangles in this case) are made on a single processor mode on M3800 Dell laptop and it takes several seconds to calculate
${\it\phi}^{S}$
if the Cholesky decomposed matrix is given. The significant potential for code acceleration by using the cyclic matrix Fourier decomposition of Graphic Processor Units has not yet been used.
Eddy and S/S-currents in the wall from a WTKM. (a) Wetting zone created by a shifted vertically toroidal plasma with a
$m/n=1/1$
surface perturbation. The colour of the wall surface reflects the distribution of
$A_{{\it\varphi}}$
component of the perturbed vector potential. (b) Eddy currents excited by the plasma perturbation. The colour corresponds to their stream function. (c) Eddy currents excited by both plasma perturbation and S/S current. The colour reflects the distribution of
${\it\phi}^{S}$
at the wall surface; (d) the total surface current with the S/S current as the dominant component.
Four frames of figure 7 show the results of combined calculations by the SSC and SHL of the S/S and eddy currents in the wall. The colour of the wall surface in figure 7(a) displays the amplitude of the toroidal component of the vector potential
$A_{{\it\varphi}}^{pl}$
of the plasma magnetic perturbation. The eddy current
$i^{pl}$
due to the ‘ideal’ response of the wall to the plasma perturbed magnetic field is shown in figure 7(b). The colour of the wall surface reflects the value of the stream function
$I$
of the eddy currents. Figure 7(c) displays the eddy current
$i^{S}$
excited by the S/S-current, while the surface colour represents
${\it\phi}^{S}$
, as in figure 5(d).
The final figure 7(d) shows the total surface current, which includes both of the above mentioned eddy currents and the S/S-current. The colour of the surface is the same as in figure 7(c). This appears to be an important result of the present calculations in that the total surface current is dominated by the S/S-current due to the sharing of Hiro currents with the plasma. Thus, the relative average amplitudes of eddy currents relative to the S/S current are given by
$$\begin{eqnarray}\displaystyle \frac{\sqrt{\displaystyle \int |\boldsymbol{{\rm\nabla}}{\it\phi}^{S}|^{2}\,\text{d}S}}{\sqrt{\displaystyle \int i^{2pl}\,\text{d}S}}=44.5,\quad \frac{\sqrt{\displaystyle \int |\boldsymbol{{\rm\nabla}}{\it\phi}^{S}|^{2}\,\text{d}S}}{\sqrt{\displaystyle \int i^{2S}\,\text{d}S}}=2.41, & & \displaystyle\end{eqnarray}$$
where the integration is over the wall surface.
These numbers reflect the fundamental physics of the WTKM (Zakharov et al.
Reference Zakharov, Galkin and Gerasimov2012). The Hiro currents for the
$m/n=1/1$
kink mode are not sensitive to the edge value of the safety factor
$q_{a}$
and for a circular plasma with major and minor radii
$R,a$
, are given simply by
where
$\boldsymbol{e}_{{\it\omega}}$
is the poloidal unit vector on the plasma surface. The factor
${\it\lambda}<1$
in the second term, which contains the small factor
$(1-q_{a})$
, takes into account the effect of the wall. In the present simulations
$q_{a}=0.9$
, as could be realistically expected for the experimental situation in AVDEs. For any
$q_{a}$
near the resonant level,
$\boldsymbol{i}^{Hiro}$
are essentially determined by the first term of the equation.
At the same time, the magnetic field perturbation outside the plasma is proportional to the resonant factor
$(1-q_{a})$
where
${\it\rho}$
is the polar radius counted from the plasma axis at
${\it\varphi}=\text{const}$
.
This difference in amplitude explains the dominant role of S/S-currents excited by Hiro currents in the wetting zone of the wall. The opposite direction with respect to the plasma current direction can explain the negative loop voltage spike appearing when the plasma touches the wall at the beginning of the disruptions.
9. Optimization of the solutions to the source/sink equation
As in the previous examples, given the source term
$j_{\bot }$
, the (2.2) for the source/sink current can be solved in the entire domain separately from (2.4). At the same time, the representation of the source/sink current in terms of a source potential
$-\bar{{\it\sigma}}\boldsymbol{{\rm\nabla}}{\it\phi}^{S}$
is essential only in the domain containing
$j_{\bot }$
. Outside of this domain, the surface current is divergence free and both representations are valid. In particular, the uniform current density in a single triangle can be represented by
The relations between the stream function
$I$
and gradient
${\it\phi}^{S}$
representations are given by
This dual representation opens an opportunity to solve the problem with the maximum use of the divergence-free representation of the surface current.
In this section we consider two cases: a single domain, containing both source and sink area; and two separated domains with a source and a sink area. The calculations in the previous sections give examples of both cases.
A single connected domain
$D_{S}^{S}$
, limited by a contour
${\it\Gamma}_{S}^{S}$
with the source/sink current
$j_{\bot }$
inside.
9.1. Single domain with source and sink inside
The simplified sketch of the domain topology is given in figure 8
Vectors
${\bf\tau},{\bf\nu}$
are the unit vectors tangential and normal to
${\it\Gamma}_{S}^{S}$
, respectively
Inside
${\it\Gamma}_{S}^{S}$
the surface current density is represented by
and outside it
In this case, equation (2.2) for the source potential
${\it\phi}^{S}$
should be solved inside the
$D_{S}^{S}$
domain
Outside
$D_{S}^{S}$
(between
${\it\Gamma}_{S}^{S}$
and the wall contour
${\it\Gamma}_{W}$
), a stream-function representation of the source/sink current is valid also
with the mixed Dirichlet–Neumann boundary conditions at
${\it\Gamma}_{S}^{S}$
, expressing the continuity of the current
$h\boldsymbol{j}$
density at
${\it\Gamma}_{S}^{S}$
, and the Dirichlet condition at
${\it\Gamma}_{W}$
Next, the contribution of the S/S-current
$h\boldsymbol{j}_{S}^{S}$
to (2.4) (or to its variational form) can be calculated using Biot–Savart formulas, and then the (2.4) solved in the entire wall domain.
Separate sink
$D_{S}$
and source
$D^{S}$
domains, limited by the contours
${\it\Gamma}_{S}$
and
${\it\Gamma}^{S}$
with
$j_{\bot }$
inside.
As a result, the total surface current density will be given by
9.2. Two separated domains with sources/sinks
Figure 9 gives a simplified sketch of two domains. In the following notation, the superscript corresponds to the source and the subscript corresponds to the sink domain.
In this case, there is a non-zero current flow
$I^{S}$
from
$D^{S}$
to
$D_{S}$
and a cut between the two domains is necessary to represent the divergence-free current
$(\boldsymbol{{\rm\nabla}}I_{S}^{S}\times \boldsymbol{n})$
outside
$D_{S},D^{S}$
. At the sides of the cut, its values
$I_{C},I^{C}$
are different
Otherwise, a similar problem with (2.2) inside the domains
$D_{S},D^{S}$
for
${\it\phi}^{S}$
and (9.9) for
$I_{S}^{S}$
outside of it and with mixed boundary conditions at
${\it\Gamma}^{S},{\it\Gamma}_{S}$
should be solved, as in the previous case.
9.3. A unified formulation for the surface currents
For practical implementation,
$I_{S}^{S}$
can be consumed by the stream function
$I$
, which is discontinuous (double valued at
${\it\Gamma}_{S}^{S}$
) together with its normal derivative
$({\bf\nu}\boldsymbol{\cdot }\boldsymbol{{\rm\nabla}}I)$
across
${\it\Gamma}_{S}^{S}$
. Using ‘
$e,i$
’ superscripts in order to specify the external and internal values of discontinuous functions at the contour
${\it\Gamma}_{S}^{S}$
, we denote the two values of
$I$
at
${\it\Gamma}_{S}^{S}$
by
$I^{e},I^{i}$
.
The system of equations for the surface current can be written as a system of (2.2), (2.4)
The same problem can be formulated in terms of the following variational principle
where
$$\begin{eqnarray}\displaystyle W^{I} & \equiv & \displaystyle \int _{D_{W}}\left\{\frac{\partial (\boldsymbol{{\rm\nabla}}I\times \boldsymbol{n})\boldsymbol{\cdot }(\boldsymbol{A}^{I+S})}{2\partial t}+\bar{{\it\eta}}\frac{|(\boldsymbol{{\rm\nabla}}I\times \boldsymbol{n})|^{2}}{2}+\left((\boldsymbol{{\rm\nabla}}I\times \boldsymbol{n})\boldsymbol{\cdot }\frac{\partial \boldsymbol{A}^{pl+coil}}{\partial t}\right)\right\}\text{d}S\nonumber\\ \displaystyle & & \displaystyle \quad +\,\oint _{{\it\Gamma}_{S}^{S}}(I^{e}-I^{i})({\bf\tau}\boldsymbol{\cdot }\boldsymbol{{\rm\nabla}}{\it\phi}^{S})\,\text{d}l,\end{eqnarray}$$
10. Summary
A rigorous mathematical formulation of the surface current circuit equations in the thin wall limit is given. In the triangular representation of the wall surface, both divergence-free eddy and source/sink currents are represented by the same model of a uniform current density inside each triangle. This model is implemented in the SSC and the shell simulation code SHL.
The coupling of finite element matrix equations for both types of currents contains the same matrix elements of mutual capacitance
$C_{ij}$
of two triangles ‘
$i,j$
’
(integration is performed over surfaces of two triangles) used for calculation of mutual inductance
$M_{ij}^{II}$
between the divergence-free currents (as in SHL and STARWALL). The additional mutual inductances
$M_{ij}^{IS}$
between eddy currents and source/sink currents, and
$M_{ij}^{SS}$
between source/sink currents, use the same
$C_{ij}$
. This common feature provides the basis for interfacing upon necessity of the SSC and SHL codes with other similar codes, such as STARWALL, or source/sink codes which are under development with an alternative approach.
The optimized formulation of the S/S-current problem for the typical tokamak situation of a localized wetting zone is presented. It is shown that the gradient representation can be used only in the wetting zone while the divergence-free stream-function representation of the surface current can used over the entire wall surface.
The numerical examples presented in the paper correspond to typical geometries of the wall and the wetting zone. In particular, the S/S and eddy currents generated by the Hiro current from the WTKM are modelled by both SSC and SHL codes.
Although the primary topic of the paper is the demonstration of the capabilities of two numerical codes in modelling the currents in 3-D walls, the simulations of the WTKM give strong support to the idea of explaining the negative voltage spike in tokamak disruptions by Hiro current excitation. This provides the additional motivation for further development of the presented model and the codes. In particular, a plasma physics model of HSoL should be developed for a realistic representation of the wetting zone and the path of the Hiro currents. Another step consists in interfacing the wall current codes SSC and SHL with plasma core codes, such as JOREK (Huysmans & Czarny Reference Huysmans and Czarny2007; Hoelzl et al. Reference Hoelzl, Merkel, Huysmans, Nardon, McAdams and Chapman2012, Reference Hoelzl, Huysmans, Merkel, Atanasiu, Lackner, Nardon, Aleuynikova, Liu, Strumberger and McAdams2014), NIMROD (Sovinec et al. Reference Sovinec, Glasser, Gianakon, Barnes, Nebel, Kruger, Schnack, Plimpton and Tarditi2004) or TMHD-based DSC and VDE codes (Zakharov et al. Reference Zakharov, Galkin and Gerasimov2012; Xiong et al. Reference Xiong, Xu, Wang, Zakharov and Li2015). This would allow for self-consistent simulations of plasma dynamics and plasma-wall interactions in tokamak disruptions.
Acknowledgements
This work has been partially supported by US DoE contract no. DE-AC02-09-CH11466 and partially carried out out within the framework of the EUROfusion Consortium and has received funding from the Euratom research and training programme 2014–2018 under grant agreement no. 633053. The views and opinions expressed herein do not necessarily reflect those of the European Commission.
The stimulating discussions with D. Coster are greatly appreciated.
