1. J. Bao, ^(1,2,3,a)){ }^{1,2,3, a)} C. K. Lau, ^(4){ }^{4} (D) Z. Lin, ^(7,b)){ }^{7, b)} (D) H. Y. Wang, ^(1,5){ }^{1,5} D. P. Fulton, ^(4){ }^{4} S. Dettrick, ^(4){ }^{4} and T. Tajima ^(4){ }^{4} 1. J. Bao, ^(1,2,3,a)){ }^{1,2,3, a)} C. K. Lau, ^(4){ }^{4} (D) Z. Lin, ^(7,b)){ }^{7, b)} (D) H. Y. Wang, ^(1,5){ }^{1,5} D. P. Fulton, ^(4){ }^{4} S. Dettrick, ^(4){ }^{4} and T. Tajima ^(4){ }^{4}
2. AFFILIATIONS 2. 隶属关系
'University of California, Irvine, California 92697, USA '加州大学欧文分校, 加利福尼亚州 92697, 美国
^(2){ }^{2} Beijing National Laboratory for Condensed Matter Physics and CAS Key Laboratory of Soft Matter Physics, Institute of Physics, Chinese Academy of Sciences, Beijing 100190, China ^(2){ }^{2} 中国科学院物理研究所, 北京凝聚态物理国家实验室, 中国科学院软物质物理重点实验室, 北京 100190
^(3){ }^{3} University of Chinese Academy of Sciences, Beijing 100049, China ^(3){ }^{3} 中国科学院大学, 北京100049, 中国
^(4)TAE{ }^{4} T A E Technologies, Inc., 19631 Pauling, Foothill Ranch, California 92610, USA ^(4)TAE{ }^{4} T A E Technologies, Inc., 19631 Pauling, Foothill Ranch, California 92610, 美国
^(5){ }^{5} Fusion Simulation Center, Peking University, Beijing 100871, China ^(5){ }^{5} 北京大学聚变模拟中心,北京100871,中国
We investigate the global properties of drift waves in the beam driven field-reversed configuration (FRC), the C2-U device, in which the central FRC and its scrape-off layer (SOL) plasma are connected with the formation sections and divertors. The ion temperature gradient modes are globally connected and unstable across these regions, while they are linearly stable inside the FRC separatrix. The unstable global drift waves in the SOL show an axially varying structure that is less intense near the central FRC region and the mirror throat areas, while being more robust in the bad curvature formation exit areas. 我们研究了束流驱动场反转配置(FRC)中漂移波的全局特性,即C2-U器件,其中中央FRC及其刮擦层(SOL)等离子体与地层部分和分流器相连。离子温度梯度模式在这些区域之间是全局相连的,并且不稳定,而它们在FRC分离层内是线性稳定的。SOL中不稳定的全局漂移波呈现轴向变化结构,在FRC中心区域和镜像喉咙区域附近强度较低,而在不良曲率形成出口区域则更为稳健。
A field-reversed configuration (FRC) is an elongated prolate compact toroid (CT) with magnetic fields predominantly along the poloidal direction, which consists of a core with closed field lines and a scrapeoff layer (SOL) with open field lines. ^(1){ }^{1} As a fusion reactor concept, FRC has many advantages: The average beta (the ratio between plasma kinetic pressure and magnetic energy density) is close to unity, which suggests a much cheaper fusion energy than the tokamak. The compact shape and simple geometry of FRC also lead to construction convenience and high magnetic efficiency. The SOL region extends to the device ends and forms natural divertors, which are far away from the core region and allow extraction of fusion energy without restriction. TAE Technologies, Inc. has launched a series of FRC experiments. ^(2-7){ }^{2-7} A significant energetic ion population generated from neutral beam injection (NBI) can suppress the macroinstability. ^(8,9){ }^{8,9} Meanwhile, the large orbit size effects of the energetic particle would not destabilize the microturbulence and the ion scale turbulent transport is suppressed. ^(10){ }^{10} These experimental efforts lead to the sustainment of beam-driven hot FRC plasmas for more than 5ms5 \mathrm{~ms} in C-2U experiments, which is in the confinement regime limited by turbulent transport. In FRC, the open field line SOL region is connected to the closed field line core region, and the turbulence in these two regions affects each other. In recent C2-U\mathrm{C} 2-\mathrm{U} experiment, it is found that ion-scale turbulence fluctuation is suppressed in the core, while in the SOL, ionand electron-scale turbulence is observed. ^(10){ }^{10} Thus, it is important to understand the transport mechanism in FRC for the improvement of plasma confinement. 1D and 2D magnetohydrodynamic (MHD) codes have been built up to model the global FRC transport, which requires turbulence simulation codes to provide the transport coeffcients. ^(11-13)^{11-13} First-principles particle-in-cell simulation is a powerful tool to study the fusion plasmas combining with theory, which has successful applications in understanding the anomalous transport in tokamak plasmas. ^(14-24){ }^{14-24} For the particle-in-cell study of turbulence in FRC, some pioneer works ^(25-27){ }^{25-27} have been performed based on the state-of-the-art fusion plasma simulation code: Gyrokinetic Toroidal Code (GTC). GTC has been successfully applied to simulate microturbulence, ^(21,24){ }^{21,24} energetic particle transport, ^(28){ }^{28} Alfven eigenmodes, ^(29,30){ }^{29,30} and MHD instabilities ^(31,32){ }^{31,32} in toroidal plasmas. An upgrade to the FRC geometry in the Boozer coordinates of GTC has been carried out by Fulton et al., ^(25,26){ }^{25,26} and local gyrokinetic particle simulation study by Lau et al. ^(10,27){ }^{10,27} shows that the drift wave is stable in the FRC core due to the large orbit size, magnetic well geometry, and short electron transit length. Meanwhile, a new global particle-in-cell FRC code, ANC, has been developed by incorporating core and SOL regions across the separatrix. ANC simulations show that ion scale turbulence can spread from the SOL to the core. ^(33,34){ }^{33,34} 磁场反转构型 (FRC) 是一种细长的匯实紧凑型环形线圈 (CT),其磁场主要沿极向方向,由具有闭合磁力线的磁芯和具有开放磁力线的刮擦层 (SOL) 组成。 ^(1){ }^{1} 作为一种聚变反应堆概念,FRC具有许多优点:平均β(等离子体动压和磁能密度之间的比率)接近统一,这表明聚变能量比托卡马克便宜得多。FRC的紧凑形状和简单的几何形状也带来了施工便利性和高磁效率。SOL区域延伸到器件末端并形成天然分流器,远离核心区域,允许不受限制地提取聚变能。TAE Technologies, Inc. 推出了一系列 FRC 实验。 ^(2-7){ }^{2-7} 中性束注入(NBI)产生的显著高能离子群可以抑制宏观不稳定性。 ^(8,9){ }^{8,9} 同时,高能粒子的大轨道尺寸效应不会破坏微湍流的稳定性,抑制离子尺度的湍流输运。 ^(10){ }^{10} 这些实验工作导致光束驱动的热FRC等离子体的维持时间超过 5ms5 \mathrm{~ms} C-2U实验,C-2U实验处于受湍流传输限制的约束状态。在FRC中,开放场线SOL区域与封闭场线核心区域相连,这两个区域的湍流相互影响。在最近的 C2-U\mathrm{C} 2-\mathrm{U} 实验中,发现核心中离子尺度的湍流波动受到抑制,而在溶胶中观察到离子和电子尺度的湍流。 ^(10){ }^{10} 因此,了解FRC中改善血浆限制的转运机制非常重要。 已经建立了一维和二维磁流体动力学 (MHD) 代码来模拟全球 FRC 传输,这需要湍流模拟代码来提供传输系数。 ^(11-13)^{11-13} 第一性原理粒子在细胞模拟是研究聚变等离子体与理论相结合的有力工具,在理解托卡马克等离子体的异常输运方面具有成功的应用。 ^(14-24){ }^{14-24} 对于FRC中湍流的粒子细胞研究,基于最先进的聚变等离子体模拟代码:回动环形码(GTC)进行了一些开创性的工作 ^(25-27){ }^{25-27} 。GTC已成功应用于模拟环形等离子体中的微湍流、 ^(21,24){ }^{21,24} 高能粒子输运、 ^(28){ }^{28} Alfven特征模态 ^(29,30){ }^{29,30} 和MHD不稳定性 ^(31,32){ }^{31,32} 。Fulton等人对GTC的Boozer坐标中的FRC几何进行了升级, ^(25,26){ }^{25,26} Lau等人 ^(10,27){ }^{10,27} 的局部陀螺动力学粒子模拟研究表明,由于轨道尺寸大、磁井几何形状大、电子传输长度短,漂移波在FRC核心中是稳定的。同时,通过整合整个分离区的核心和 SOL 区域,开发了一种新的全球细胞颗粒 FRC 代码 ANC。ANC模拟表明,离子级湍流可以从SOL扩散到核心。 ^(33,34){ }^{33,34}
In order to study the turbulent transports globally up to the divertor region for FRC, a new GTC family code, gyrokinetic toroidal code-X (GTC-X), is developed in this work by refactoring the coordinate system and geometry of the original GTC code, i.e., change the Boozer coordinates to cylindrical coordinates and change the geometry from tokamak and stellarator to FRC. GTC-X enables the crossseparatrix simulation with a field aligned mesh covering the whole geometry of the FRC. Compared to the original GTC code, both the particle trajectory and the Poisson solver are newly written as well as the simulation grids in the GTC-X code. The GTC mixed-model OpenMP-MPI parallelization ^(35){ }^{35} is adopted in GTC-X. This paper mainly presents the numerical developments, code verification, and initial results of ion temperature gradient (ITG) modes in the global FRC geometry. GTC-X global simulations show that ITG is unstable in the SOL and stable in the core, which is consistent with previous local simulations and experimental observations. We find that the ITG mode grows along the field line direction in the SOL and shows an axial variation. The maximum amplitude of the ITG mode is in the formation region with bad curvature, while the mode amplitude is small in the central FRC region. The mode structure in the SOL is sensitive to the parallel domain size, which experiences a transition from even parity to odd parity when increasing the domain size. 为了研究FRC全球至分流器区域的湍流传输,通过重构原始GTC代码的坐标系和几何结构,将Boozer坐标更改为圆柱坐标,将几何形状从托卡马克和恒星器更改为FRC,开发了一种新的GTC系列代码,即陀螺动力学环形码-X(GTC-X)。GTC-X 通过覆盖 FRC 整个几何形状的现场对齐网格实现交叉分离模拟。与原始 GTC 代码相比,粒子轨迹和泊松求解器以及 GTC-X 代码中的仿真网格都是新编写的。GTC-X采用GTC混合模型OpenMP-MPI并行化 ^(35){ }^{35} 。本文主要介绍了全球FRC几何中离子温度梯度(ITG)模式的数值发展、代码验证和初步结果。GTC-X全局仿真结果显示,ITG在SOL中不稳定,在核心中稳定,这与之前的局部仿真和实验观测结果一致。我们发现 ITG 模式在 SOL 中沿场线方向增长并显示出轴向变化。ITG模式的最大振幅在曲率不好的地层区域,而模态振幅在FRC中心区域较小。SOL 中的模式结构对并行域大小很敏感,当增加域大小时,并行域大小会经历从偶奇偶校验到奇偶校验的过渡。
This paper is organized as follows. In Sec. II, we introduce the global FRC geometry implementation. The gyrokinetic particle simulation model for FRC is described in Sec. III. The benchmark simulation results are shown in Sec. IV. In Sec. V, the global simulation of ITG modes is described. The conclusion is discussed in Sec. VI. 本文的组织结构如下。在第二部分中,我们介绍了全局FRC几何实现。FRC的陀螺动力学粒子模拟模型在第III节中进行了描述。基准仿真结果显示在第 IV 节中。在第五节中,描述了ITG模式的全局仿真。结论在第六节中讨论。
5. GLOBAL FRC GEOMETRY IMPLEMENTATION 5. 全局FRC几何实现
In order to avoid the singularity of magnetic coordinates at the separatrix, ^(22,36){ }^{22,36} we adapt the cylindrical coordinate system for global FRC simulation with (R,zeta,Z)(R, \zeta, Z), where the 3 independent unit vectors satisfy the right hand rule: hat(R)xx hat(zeta)* hat(Z)=1\hat{\boldsymbol{R}} \times \hat{\zeta} \cdot \hat{\boldsymbol{Z}}=1. The poloidal magnetic flux psi\psi of FRC equilibrium and cylindrical coordinates used in GTC-X is shown in Fig. 1, which is calculated by an axisymmetric force balance FRC equilibrium solver: LR_eqMI code. ^(37){ }^{37} The equilibrium box size is normalized by the radial position of magnetic axis: R=R_(0)=26.8cmR=R_{0}=26.8 \mathrm{~cm}, i.e., the distance between the magnetic axis and the cylinder axis. There are several mirror plugs in the SOL region aiming at decreasing the particle end loss, and the expanded divertors are located at the ends of open field lines, where we can apply the edge biasing via the plasma-gun electrodes to improve the confinement. ^(4){ }^{4} In this section, based on the characteristics of FRC equilibrium, we will introduce the algorithms used in GTC-X for global particle-in-cell modeling of FRC. 为了避免磁坐标在分离点处的奇异性, ^(22,36){ }^{22,36} 我们适配圆柱坐标系进行 (R,zeta,Z)(R, \zeta, Z) 全局FRC模拟,其中3个独立的单位向量满足右手定则: hat(R)xx hat(zeta)* hat(Z)=1\hat{\boldsymbol{R}} \times \hat{\zeta} \cdot \hat{\boldsymbol{Z}}=1 。GTC-X中使用 psi\psi 的FRC平衡和圆柱坐标的极化磁通量如图1所示,该磁通量由轴对称力平衡FRC平衡求解器:LR_eqMI代码计算。 ^(37){ }^{37} 平衡箱尺寸由磁轴的径向位置归一化: R=R_(0)=26.8cmR=R_{0}=26.8 \mathrm{~cm} ,即磁轴和圆柱轴之间的距离。SOL区域中有几个镜像塞,旨在减少粒子端损耗,扩展的分流器位于开放场线的末端,在那里我们可以通过等离子枪电极应用边缘偏置来改善约束。 ^(4){ }^{4} 在本节中,我们将基于FRC平衡的特性,介绍GTC-X中用于FRC全局粒子单元建模的算法。
6. A. Magnetic field representation in cylindrical coordinates 6. A. 圆柱坐标中的磁场表示
The magnetic field and associated derivatives commonly appear in the particle dynamic equations for the simulation of magnetized plasmas; thus, it is important that the magnetic field satisfies grad*B\nabla \cdot \boldsymbol{B}=0=0 numerically. The magnetic coordinates enable the free divergence representation for the magnetic field as B=grad alpha xx grad beta\mathbf{B}=\nabla \alpha \times \nabla \beta, where alpha\alpha and beta\beta are coordinates which vary along the directions orthogonal to the magnetic field. However, magnetic coordinates fail to address the simulation containing different geometric topologies with a separatrix. ^(36){ }^{36} Thus, we apply the cylindrical coordinate system as the basic coordinates. In order to guarantee the free divergence property for the magnetic field in cylindrical coordinates, we use the poloidal magnetic flux psi\psi to calculate the magnetic field components and their derivatives and, thus, enforce the consistency between each component. In FRC, the equilibrium magnetic field B\mathbf{B} has no toroidal component and can be expressed as B=grad psi xx grad zeta=B_(R) hat(R)+B_(Z) hat(Z)\mathbf{B}=\nabla \psi \times \nabla \zeta=B_{R} \hat{\mathbf{R}}+B_{Z} \hat{\mathbf{Z}}. The magnetic field strength in radial and axial directions can then be derived as 磁场和相关导数通常出现在磁化等离子体模拟的粒子动力学方程中;因此,磁场在 =0=0 数值上满足 grad*B\nabla \cdot \boldsymbol{B} 是很重要的。磁坐标使磁场的自由发散表示为 B=grad alpha xx grad beta\mathbf{B}=\nabla \alpha \times \nabla \beta ,其中 alpha\alpha 和 beta\beta 是沿与磁场正交的方向变化的坐标。然而,磁坐标无法解决包含不同几何拓扑的模拟问题。 ^(36){ }^{36} 因此,我们应用圆柱坐标系作为基本坐标。为了保证圆柱坐标中磁场的自由发散性,我们使用极化磁通量 psi\psi 来计算磁场分量及其导数,从而加强每个分量之间的一致性。在 FRC 中,平衡磁场 B\mathbf{B} 没有环形分量,可以表示为 B=grad psi xx grad zeta=B_(R) hat(R)+B_(Z) hat(Z)\mathbf{B}=\nabla \psi \times \nabla \zeta=B_{R} \hat{\mathbf{R}}+B_{Z} \hat{\mathbf{Z}} 。径向和轴向的磁场强度可以推导出为
From equilibrium calculated by the LR_eqMI code, we can get the value of poloidal magnetic flux psi\psi over the whole FRC geometry on the equal space grids in the (R,Z)(R, Z) plane as shown in Fig. 1 , and LSR=150L S R=150 and LSZ=401L S Z=401 are the equilibrium radial and axial grid numbers, respectively. By using the value on coarse equilibrium grids, we can use the quadratic spline function to calculate psi\psi at the arbitrary location (R,Z)(R, Z) inside the equilibrium domain as 根据LR_eqMI码计算的平衡,我们可以得到 (R,Z)(R, Z) 平面内等空间网格上整个FRC几何形状的极化磁通量 psi\psi 值,如图1所示, LSR=150L S R=150 分别 LSZ=401L S Z=401 是平衡径向和轴向网格数。通过使用粗平衡网格上的值,我们可以使用二次样条函数在平衡域内的任意位置 (R,Z)(R, Z) 计算 psi\psi 为
FIG. 1. Contour plot of psi//|psi_(0)|\psi /\left|\psi_{0}\right| for global FRC geometry, where psi_(0)\psi_{0} is the poloidal magnetic flux value at the magnetic axis as shown by the green star. The black solid lines represent the different field lines (contour line of psi\psi ), and the red line represents the separatrix. The arrows denote the directions of cylindrical coordinates. 图 1.全局FRC几何形状的 psi//|psi_(0)|\psi /\left|\psi_{0}\right| 等值线图,其中 psi_(0)\psi_{0} 是磁轴处的极化磁通量值,如绿色星形所示。黑色实线表示不同的场线(等值线), psi\psi 红线表示分离线。箭头表示圆柱坐标的方向。
{:[psi(R","Z)=psi(1","i","j)+psi(2","i","j)Delta R+psi(3","i","j)DeltaR^(2)],[+psi(4","i","j)Delta Z+psi(5","i","j)Delta R Delta Z+psi(6","i","j)DeltaR^(2)Delta Z],[+psi(7","i","j)DeltaZ^(2)+psi(8","i","j)Delta R DeltaZ^(2)+psi(9","i","j)DeltaR^(2)DeltaZ^(2)","]:}\begin{aligned}
\psi(R, Z) & =\psi(1, i, j)+\psi(2, i, j) \Delta R+\psi(3, i, j) \Delta R^{2} \\
& +\psi(4, i, j) \Delta Z+\psi(5, i, j) \Delta R \Delta Z+\psi(6, i, j) \Delta R^{2} \Delta Z \\
& +\psi(7, i, j) \Delta Z^{2}+\psi(8, i, j) \Delta R \Delta Z^{2}+\psi(9, i, j) \Delta R^{2} \Delta Z^{2},
\end{aligned}
where i in[1,LSR]i \in[1, L S R] and j in[1,LSZ]j \in[1, L S Z] are the radial and axial indexes of equilibrium grids, and Delta R=R-R_(i),Delta Z=Z-Z_(j),R_(i) <= R < R_(i+1)\Delta R=R-R_{i}, \Delta Z=Z-Z_{j}, R_{i} \leq R<R_{i+1} and Z_(j) <= Z < Z_(j+1)Z_{j} \leq Z<Z_{j+1}. 其中 i in[1,LSR]i \in[1, L S R] 和 j in[1,LSZ]j \in[1, L S Z] 是平衡网格的径向和轴向索引,和 Delta R=R-R_(i),Delta Z=Z-Z_(j),R_(i) <= R < R_(i+1)\Delta R=R-R_{i}, \Delta Z=Z-Z_{j}, R_{i} \leq R<R_{i+1}Z_(j) <= Z < Z_(j+1)Z_{j} \leq Z<Z_{j+1} 。
It is straightforward to show that grad*B=0\nabla \cdot \boldsymbol{B}=0 is guaranteed theoretically and numerically 很明显, grad*B=0\nabla \cdot \boldsymbol{B}=0 这在理论上和数值上都是有保证的
7. B. Field line coordinates for the perturbed field calculation 7. B. 扰动场计算的场线坐标
In magnetized plasmas, the gyrocenter drift motion across the magnetic field is much slower than the parallel motion along the field line; thus, the wave pattern is always anisotropic in the parallel and perpendicular directions with k_(||)≪k_(_|_)(k_(||):}k_{\|} \ll k_{\perp}\left(k_{\|}\right.and k_(_|_)k_{\perp} are the parallel and perpendicular wave vectors). In order to improve the numerical efficiency and accuracy, the field aligned mesh is widely adapted for particle-in-cell simulation of magnetized plasmas, i.e., the grids are aligned along the magnetic field direction with only a small number in the parallel direction, which can dramatically suppress the high k_(||)k_{\|}noise and save computational cost without sacrificing key physics dominated by small k_(||)*^(23,38)k_{\|} \cdot{ }^{23,38} In global FRC simulation, we setup a field aligned mesh in both core and scrape-off layer (SOL) regions across the separatrix in cylindrical coordinates. Due to the fact that the magnetic field is not uniform in FRC, the field aligned mesh is not regular in cylindrical coordinates. For solving perturbed fields as well as particle-grid gather-scatter operation, we create the field line coordinates for core (psi,S_(c))\left(\psi, S_{c}\right) and SOL (psi,S_(S))\left(\psi, S_{S}\right) regions on the poloidal plane, separately, where S_(c)S_{c} and S_(S)S_{S} represent the normalized field line distances along the magnetic field line direction in core and SOL regions, and the mesh is regular in the corresponding field line coordinates. Thus, in GTC-X, we use two different coordinate systems: cylindrical coordinates and field line coordinates to represent the location. 在磁化等离子体中,陀螺中心在磁场上的漂移运动比沿磁场线的平行运动慢得多;因此,波型在平行和垂直方向上 k_(||)≪k_(_|_)(k_(||):}k_{\|} \ll k_{\perp}\left(k_{\|}\right. 始终是各向异性的,并且是 k_(_|_)k_{\perp} 平行和垂直的波矢量)。为了提高数值效率和精度,磁场对齐网格被广泛应用于磁化等离子体的粒子在单元模拟中,即网格沿磁场方向排列,平行方向上只有少量数字,可以显著抑制高 k_(||)k_{\|} 噪声,节省计算成本,同时又不牺牲以小 k_(||)*^(23,38)k_{\|} \cdot{ }^{23,38} 为主的关键物理场在全局FRC仿真中,我们在圆柱坐标的分离线的核心和刮擦层(SOL)区域设置了一个场对齐的网格。由于 FRC 中的磁场不均匀,因此圆柱坐标中的磁场对齐网格不规则。为了求解扰动场以及粒子网格聚集散射操作,我们分别在极化平面上创建核心 (psi,S_(c))\left(\psi, S_{c}\right) 和 SOL (psi,S_(S))\left(\psi, S_{S}\right) 区域的场线坐标,其中 S_(c)S_{c} 和 S_(S)S_{S} 表示核心和 SOL 区域中沿磁力线方向的归一化场线距离,网格在相应的场线坐标中是规则的。因此,在 GTC-X 中,我们使用两种不同的坐标系:圆柱坐标和场线坐标来表示位置。
The simulation domain is different from equilibrium shown in Fig. 1. Because drift wave instabilities and associated transports are anisotropic in perpendicular and parallel directions, we choose the simulation domain based on perpendicular coordinates psi\psi (we do not need to consider about zeta\zeta domain because it is toroidally symmetric from (0,2pi)(0,2 \pi) ), i.e., the inner boundary in the core and the outer boundary in SOL are labeled by poloidal magnetic flux: psi_(0)\psi_{0} and psi_(1)\psi_{1}. Furthermore, left and right boundaries in the SOL region are given by Z_(0)Z_{0} and Z_(1)Z_{1}, where Z_(0)=-Z_(1)Z_{0}=-Z_{1} is symmetric with respect to outer midplane Z=0Z=0. 仿真域与图1所示的平衡域不同。由于漂移波的不稳定性和相关的输运在垂直和平行方向上是各向异性的,因此我们根据垂直坐标选择仿真域 psi\psi (我们不需要考虑 zeta\zeta 域,因为它是环形对称 (0,2pi)(0,2 \pi) 的),即磁芯中的内边界和SOL中的外边界由极化磁通量标记: psi_(0)\psi_{0} 和 psi_(1)\psi_{1} .此外,SOL 区域中的左右边界由 Z_(0)Z_{0} 和 Z_(1)Z_{1} 给出,其中 Z_(0)=-Z_(1)Z_{0}=-Z_{1} 相对于外中平面 Z=0Z=0 是对称的。
First, we define S_(c)S_{c} and S_(S)S_{S} by tracing each field line on each psi\psi grid in the core and SOL regions as 首先, S_(S)S_{S} 我们将核心区域和 SOL 区域中每个 psi\psi 网格上的每条场线定义为 S_(c)S_{c}
where deltapsi_(c)=(psi_(X)-psi_(0))//(lspc-1),psi_(X)\delta \psi_{c}=\left(\psi_{X}-\psi_{0}\right) /(l s p c-1), \psi_{X} is the value of psi\psi at the separatrix, lspcl s p c is the spline resolution in the core region, and 1 <= i_(c) <= lspc1 \leq i_{c} \leq l s p c. And 其中 deltapsi_(c)=(psi_(X)-psi_(0))//(lspc-1),psi_(X)\delta \psi_{c}=\left(\psi_{X}-\psi_{0}\right) /(l s p c-1), \psi_{X} 是 psi\psi 的值 在分离点上, lspcl s p c 是核心区域中的样条分辨率,以及 1 <= i_(c) <= lspc1 \leq i_{c} \leq l s p c 。和
where deltapsi_(S)=(psi_(1)-psi_(X))//(lsps-1)\delta \psi_{S}=\left(\psi_{1}-\psi_{X}\right) /(l s p s-1), lsps is the spline resolution in SOL region, and 1 <= i_(S) <= l1 \leq i_{S} \leq l sps. Both S_(c)S_{c} and S_(S)S_{S} are normalized by the field line length at each psi\psi grid and range from 0 to 1 . In the core region, S_(c)S_{c} starts at the outer midplane with Z=0Z=0 and increases along the clockwise direction, and grids at S_(c)=0S_{c}=0 and S_(c)=1S_{c}=1 are overlapped. In the SOL region, the parallel coordinate S_(S)S_{S} starts on the left boundary Z_(0)Z_{0} and ends on the right boundary Z_(1)Z_{1}. 其中 deltapsi_(S)=(psi_(1)-psi_(X))//(lsps-1)\delta \psi_{S}=\left(\psi_{1}-\psi_{X}\right) /(l s p s-1) ,lsps 是 SOL 区域中的样条分辨率,sps 1 <= i_(S) <= l1 \leq i_{S} \leq l .两者都 S_(c)S_{c}S_(S)S_{S} 由每个 psi\psi 网格处的场线长度归一化,范围从 0 到 1。在核心区域中, S_(c)S_{c} 从外中平面开始,沿顺时针方向增加 Z=0Z=0 ,网格在 S_(c)=0S_{c}=0 和 S_(c)=1S_{c}=1 处重叠。在 SOL 区域中,平行坐标 S_(S)S_{S} 从左边界 Z_(0)Z_{0} 开始,到右边界 Z_(1)Z_{1} 结束。
Next, considering the properties of geometry topology of core and SOL regions in FRC, forward spline functions S_(c)=S_(c)[psi(R,Z)S_{c}=S_{c}[\psi(R, Z), theta(R,Z)]\theta(R, Z)] and S_(S)=S_(S)[psi(R,Z),Z]S_{S}=S_{S}[\psi(R, Z), Z] are created for the transformation from cylindrical coordinates to field line coordinates, where sin(theta)\sin (\theta)=Z//sqrt(Z^(2)+(R-R_(0))^(2))=Z / \sqrt{Z^{2}+\left(R-R_{0}\right)^{2}} is the geometric angle with respect to the magnetic axis position (R=R_(0),Z=0)\left(R=R_{0}, Z=0\right). The uniform scale of geometric angle theta\theta for creating spline function S_(c)(psi,theta)S_{c}(\psi, \theta) is 接下来,考虑FRC中磁芯和SOL区域的几何拓扑性质,正向样条函数 S_(c)=S_(c)[psi(R,Z)S_{c}=S_{c}[\psi(R, Z) , theta(R,Z)]\theta(R, Z)] 并 S_(S)=S_(S)[psi(R,Z),Z]S_{S}=S_{S}[\psi(R, Z), Z] 创建了从圆柱坐标到场线坐标的转换,其中 sin(theta)\sin (\theta)=Z//sqrt(Z^(2)+(R-R_(0))^(2))=Z / \sqrt{Z^{2}+\left(R-R_{0}\right)^{2}} 是相对于磁轴位置 (R=R_(0),Z=0)\left(R=R_{0}, Z=0\right) 的几何角度。用于创建样条函数 S_(c)(psi,theta)S_{c}(\psi, \theta) 的几何角度 theta\theta 的均匀比例为
where delta theta=2pi//(lstc-1)\delta \theta=2 \pi /(l s t c-1), lstc is the spline resolution in the theta\theta direction, and 1 <= j_(c) <= lstc1 \leq j_{c} \leq l s t c. By tracing each field line and calculating the S_(c)S_{c} value on the uniform scales of psi\psi and theta\theta, the spline function S_(c)(psi,theta)S_{c}(\psi, \theta) can be derived as 其中 delta theta=2pi//(lstc-1)\delta \theta=2 \pi /(l s t c-1) , lstc 是方向上的 theta\theta 样条分辨率,而 1 <= j_(c) <= lstc1 \leq j_{c} \leq l s t c .通过跟踪每条场线并计算 psi\psi 和 theta\theta 的均匀刻度上的 S_(c)S_{c} 值,样条函数 S_(c)(psi,theta)S_{c}(\psi, \theta) 可以导出为
where deltaZ_(S)=(Z_(1)-Z_(0))//(lszs-1)\delta Z_{S}=\left(Z_{1}-Z_{0}\right) /(l s z s-1), lszs is the spline resolution in the ZZ direction, and 1 <= j_(S) <= lszs1 \leq j_{S} \leq l s z s. By tracing each field line and calculating the S_(S)S_{S} value on the uniform scales of psi\psi and Z,S_(S)(psi,Z)Z, S_{S}(\psi, Z) is given as 其中 deltaZ_(S)=(Z_(1)-Z_(0))//(lszs-1)\delta Z_{S}=\left(Z_{1}-Z_{0}\right) /(l s z s-1) ,lszs 是方向上的 ZZ 样条分辨率,而 1 <= j_(S) <= lszs1 \leq j_{S} \leq l s z s 。通过跟踪每条场线并计算 psi\psi 和 Z,S_(S)(psi,Z)Z, S_{S}(\psi, Z) 的均匀刻度上的 S_(S)S_{S} 值,给出为
Then, we create the inverse spline functions R_(c)(psi,S_(c))R_{c}\left(\psi, S_{c}\right) and Z_(c)(psi,S_(c))Z_{c}\left(\psi, S_{c}\right) for the core region, and R_(S)(psi,S_(S))R_{S}\left(\psi, S_{S}\right) and Z_(S)(psi,S_(S))Z_{S}\left(\psi, S_{S}\right) for the SOL region. The uniform scales of S_(c)S_{c} and S_(S)S_{S} for the spline function are 然后,我们为核心区域 R_(S)(psi,S_(S))R_{S}\left(\psi, S_{S}\right)Z_(S)(psi,S_(S))Z_{S}\left(\psi, S_{S}\right) 创建反样条函数 R_(c)(psi,S_(c))R_{c}\left(\psi, S_{c}\right) 和 Z_(c)(psi,S_(c))Z_{c}\left(\psi, S_{c}\right) 以及 SOL 区域。样条函数 S_(c)S_{c} 的均匀尺度为 S_(S)S_{S}
where deltaS_(c)=1//(lssc-1),lssc\delta S_{c}=1 /(l s s c-1), l s s c is the spline resolution in the parallel direction in the core region, and 1 <= j_(c) <= lssc1 \leq j_{c} \leq l s s c 其中 deltaS_(c)=1//(lssc-1),lssc\delta S_{c}=1 /(l s s c-1), l s s c 是核心区域平行方向上的样条分辨率,以及 1 <= j_(c) <= lssc1 \leq j_{c} \leq l s s c
where deltaS_(S)=1//(lsss-1)\delta S_{S}=1 /(l s s s-1), lsss is the spline resolution in the parallel direction in the SOL region, and 1 <= j_(S) <= lsss1 \leq j_{S} \leq l s s s. It is straightforward to get the values R_(c)[psi(i_(c)),S_(c)(j_(c))],Z_(c)[psi(i_(c)),S_(c)(j_(c))],R_(S)[psi(i_(S)),S_(S)(j_(S))]R_{c}\left[\psi\left(i_{c}\right), S_{c}\left(j_{c}\right)\right], Z_{c}\left[\psi\left(i_{c}\right), S_{c}\left(j_{c}\right)\right], R_{S}\left[\psi\left(i_{S}\right), S_{S}\left(j_{S}\right)\right], and Z_(S)[psi(i_(S)),S_(S)(j_(S))]Z_{S}\left[\psi\left(i_{S}\right), S_{S}\left(j_{S}\right)\right] on the uniform scales of (psi,S_(c))\left(\psi, S_{c}\right) and (psi,S_(S))\left(\psi, S_{S}\right), and the quadratic spline functions R_(c)(psi,S_(c)),Z_(c)(psi,S_(c)),R_(S)(psi,S_(S))R_{c}\left(\psi, S_{c}\right), Z_{c}\left(\psi, S_{c}\right), R_{S}\left(\psi, S_{S}\right), and Z_(S)(psi,S_(S))Z_{S}\left(\psi, S_{S}\right) can then be created as 其中 deltaS_(S)=1//(lsss-1)\delta S_{S}=1 /(l s s s-1) ,lsss 是 SOL 区域中平行方向上的样条分辨率,而 1 <= j_(S) <= lsss1 \leq j_{S} \leq l s s s 。在 和 的均匀尺度上,得到值 R_(c)[psi(i_(c)),S_(c)(j_(c))],Z_(c)[psi(i_(c)),S_(c)(j_(c))],R_(S)[psi(i_(S)),S_(S)(j_(S))]R_{c}\left[\psi\left(i_{c}\right), S_{c}\left(j_{c}\right)\right], Z_{c}\left[\psi\left(i_{c}\right), S_{c}\left(j_{c}\right)\right], R_{S}\left[\psi\left(i_{S}\right), S_{S}\left(j_{S}\right)\right] 和 以及二次样条函数 R_(c)(psi,S_(c)),Z_(c)(psi,S_(c)),R_(S)(psi,S_(S))R_{c}\left(\psi, S_{c}\right), Z_{c}\left(\psi, S_{c}\right), R_{S}\left(\psi, S_{S}\right) 是很简单的,然后 Z_(S)(psi,S_(S))Z_{S}\left(\psi, S_{S}\right) 可以创建为 (psi,S_(S))\left(\psi, S_{S}\right)(psi,S_(c))\left(\psi, S_{c}\right)Z_(S)[psi(i_(S)),S_(S)(j_(S))]Z_{S}\left[\psi\left(i_{S}\right), S_{S}\left(j_{S}\right)\right]
where Delta psi=psi-psi(i_(S))\Delta \psi=\psi-\psi\left(i_{S}\right) and Delta S=S_(S)-S(j_(S)).psi(i_(S)) <= psi < psi(i_(S)+1)\Delta S=S_{S}-S\left(j_{S}\right) . \psi\left(i_{S}\right) \leq \psi<\psi\left(i_{S}+1\right) and S(j_(S)) <= S_(S) < S(j_(S)+1)S\left(j_{S}\right) \leq S_{S}<S\left(j_{S}+1\right). By using Eqs. (7)-(10), we could compute the field aligned mesh in cylindrical coordinates with a given regular mesh in the core region (psi,S_(c))\left(\psi, S_{c}\right) and in the SOL region (psi,S_(S))\left(\psi, S_{S}\right), respectively. An example of global field aligned mesh is given in Fig. 2(a). The field aligned grids are irregular in cylindrical coordinates. For the overlap part of core and SOL regions at the separatrix (R > 0)(R>0), the grid positions are determined by using R_(c)(psi,S_(c))R_{c}\left(\psi, S_{c}\right) and Z_(c)(psi,S_(c))Z_{c}\left(\psi, S_{c}\right), which are shared by both core and SOL regions with the scopes of two coordinates: (psi,S_(c))\left(\psi, S_{c}\right) and (psi,S_(S))\left(\psi, S_{S}\right) as shown by the black stars. In magnetic coordinates, the grids in SOL and core regions are regular inside each domain, respectively. The shared grids at the separatrix are designed regularly with the interior grids in the core region (keep the same parallel coordinate S_(c)S_{c} value), which are shown in Figs. 2(b) and 2(c). 其中 Delta psi=psi-psi(i_(S))\Delta \psi=\psi-\psi\left(i_{S}\right) 和 Delta S=S_(S)-S(j_(S)).psi(i_(S)) <= psi < psi(i_(S)+1)\Delta S=S_{S}-S\left(j_{S}\right) . \psi\left(i_{S}\right) \leq \psi<\psi\left(i_{S}+1\right) 和 S(j_(S)) <= S_(S) < S(j_(S)+1)S\left(j_{S}\right) \leq S_{S}<S\left(j_{S}+1\right) .通过使用方程。(7)-(10)中,我们可以分别计算在核心区域 (psi,S_(c))\left(\psi, S_{c}\right) 和SOL区域 (psi,S_(S))\left(\psi, S_{S}\right) 中给定规则网格的圆柱坐标中的场对齐网格。图2(a)给出了全局场对齐网格的示例。场对齐的网格在圆柱坐标中是不规则的。对于分离点 (R > 0)(R>0) 处核心区域和 SOL 区域的重叠部分,网格位置由 和 R_(c)(psi,S_(c))R_{c}\left(\psi, S_{c}\right) 确定,它们由核心区域和 Z_(c)(psi,S_(c))Z_{c}\left(\psi, S_{c}\right) SOL 区域共享,范围为两个坐标: (psi,S_(c))\left(\psi, S_{c}\right) 和 (psi,S_(S))\left(\psi, S_{S}\right) ,如黑色星号所示。在磁坐标中,SOL 和核心区域中的网格分别在每个域内是规则的。分离点处的共享网格与核心区域的内部网格有规律地设计(保持相同的平行坐标 S_(c)S_{c} 值),如图2(b)和图2(c)所示。
In GTC-X, particle dynamic equations are evolved in cylindrical coordinates (R,zeta,Z)(R, \zeta, Z) to avoid the singularity at the separatrix. However, the field aligned mesh is irregular in (R,Z)(R, Z) space, which is difficult to carry out particle-grid gather-scatter operation for PIC simulation. It is noted that the field aligned grids are labeled by both cylindrical and magnetic coordinates: (R,Z)(R, Z) and (psi,S_(c))\left(\psi, S_{c}\right) in the core region and (R,Z)(R, Z) and (psi,S_(S))\left(\psi, S_{S}\right) in the SOL region. The mesh is regular in magnetic coordinates in the core and SOL regions, respectively, as shown in Fig. 2. Thus, we can transform the particle coordinate from (R,Z)(R, Z) to (psi,S_(c))\left(\psi, S_{c}\right) and (psi,S_(S))\left(\psi, S_{S}\right) by using Eqs. (3), (5), and (6), and then a simple linear interpolation between the particle location and the regular rectangular mesh can be used for particle-grid gather-scatter operation, 在GTC-X中,粒子动力学方程在圆柱坐标中演化, (R,zeta,Z)(R, \zeta, Z) 以避免分离点处的奇点。然而,场对齐网格在空间上 (R,Z)(R, Z) 是不规则的,难以进行粒子-网格聚集-散射操作进行PIC仿真。需要注意的是,磁场对齐的网格由圆柱坐标和磁坐标标记: (R,Z)(R, Z)(psi,S_(c))\left(\psi, S_{c}\right) 在核心区域和 (R,Z)(R, Z)(psi,S_(S))\left(\psi, S_{S}\right) SOL 区域。网格分别在核心区域和 SOL 区域的磁坐标中呈规则,如图 2 所示。因此,我们可以使用方程将粒子坐标从 (R,Z)(R, Z) 到 和 (psi,S_(c))\left(\psi, S_{c}\right)(psi,S_(S))\left(\psi, S_{S}\right) 通过 进行转换。(3)、(5)和(6),然后使用粒子位置和规则矩形网格之间的简单线性插值进行粒子网格聚集-散射操作,
FIG. 2. (a) Global field aligned mesh in cylindrical coordinates. Field aligned mesh mapping from cylindrical coordinates to magnetic coordinates: (b) core region grids in (psi,S_(c))\left(\psi, S_{c}\right) coordinates and (c)(c) SOL region grids in (psi,S_(S))\left(\psi, S_{S}\right) coordinates. The black stars represent the shared grids at the separatrix. The grids shown here are only for illustrating the algorithm, which are much sparser than the ones used in realistic simulation. where we implement 31D31 \mathrm{D} linear interpolations along psi\psi, zeta\zeta, and S_(c)//S_(S)S_{c} / S_{S} for the simulations in 3 dimensional (psi,zeta,S_(c)//S_(S))\left(\psi, \zeta, S_{c} / S_{S}\right) space. 图 2.(a) 圆柱坐标中的全局场对齐网格。从圆柱坐标到磁坐标的场对齐网格映射:(b) 坐标中 (psi,S_(c))\left(\psi, S_{c}\right) 的核心区域网格和 (c)(c) 坐标中的 (psi,S_(S))\left(\psi, S_{S}\right) SOL 区域网格。黑色星星代表分离点的共享网格。此处显示的网格仅用于说明算法,这些网格比实际模拟中使用的网格要稀疏得多。我们实现沿 psi\psi 、 zeta\zeta 和 S_(c)//S_(S)S_{c} / S_{S} 的 31D31 \mathrm{D} 线性插值,用于 3 维 (psi,zeta,S_(c)//S_(S))\left(\psi, \zeta, S_{c} / S_{S}\right) 空间的模拟。
8. Laplacian operator 8. 拉普拉斯算子
In the global simulation of FRC geometry with the field aligned mesh, the perpendicular Laplacian operator is discretized in (psi,zeta,S_(c))\left(\psi, \zeta, S_{c}\right) space for the core region and in (psi,zeta,S_(S))\left(\psi, \zeta, S_{S}\right) space for the SOL region, respectively, since the irregular mesh in cylindrical coordinates becomes regular in magnetic coordinates. 在具有场对齐网格的 FRC 几何体的全局仿真中,垂直拉普拉斯算子分别在 (psi,zeta,S_(c))\left(\psi, \zeta, S_{c}\right) 核心区域的空间和 SOL 区域的空间 (psi,zeta,S_(S))\left(\psi, \zeta, S_{S}\right) 中离散化,因为圆柱坐标中的不规则网格在磁坐标中变得规则。
The Laplacian operator can be expanded in a generalized coordinates 拉普拉斯算子可以在广义坐标中展开
where ff represents an arbitrary scalar field, xi^(alpha),xi^(beta)\xi^{\alpha}, \xi^{\beta} refer to the three dimensional coordinates, and JJ is Jacobian and defined as J^(-1)epsilon^(alpha beta gamma)J^{-1} \epsilon^{\alpha \beta \gamma}=gradxi^(alpha)xx gradxi^(beta)*gradxi^(gamma),gradxi^(alpha)=(delxi^(alpha))/(del R) hat(R)+(delxi^(alpha))/(del zeta)(1)/(R) hat(zeta)+(delxi^(alpha))/(del Z) hat(Z)=\nabla \xi^{\alpha} \times \nabla \xi^{\beta} \cdot \nabla \xi^{\gamma}, \nabla \xi^{\alpha}=\frac{\partial \xi^{\alpha}}{\partial R} \hat{R}+\frac{\partial \xi^{\alpha}}{\partial \zeta} \frac{1}{R} \hat{\zeta}+\frac{\partial \xi^{\alpha}}{\partial Z} \hat{Z}, and epsilon^(alpha beta gamma)=1\epsilon^{\alpha \beta \gamma}=1, and it becomes antisymmetric when the indices change. ^(39){ }^{39} 其中 ff 表示任意标量场, xi^(alpha),xi^(beta)\xi^{\alpha}, \xi^{\beta} 指三维坐标,是 JJ 雅可比坐标,定义为 J^(-1)epsilon^(alpha beta gamma)J^{-1} \epsilon^{\alpha \beta \gamma}=gradxi^(alpha)xx gradxi^(beta)*gradxi^(gamma),gradxi^(alpha)=(delxi^(alpha))/(del R) hat(R)+(delxi^(alpha))/(del zeta)(1)/(R) hat(zeta)+(delxi^(alpha))/(del Z) hat(Z)=\nabla \xi^{\alpha} \times \nabla \xi^{\beta} \cdot \nabla \xi^{\gamma}, \nabla \xi^{\alpha}=\frac{\partial \xi^{\alpha}}{\partial R} \hat{R}+\frac{\partial \xi^{\alpha}}{\partial \zeta} \frac{1}{R} \hat{\zeta}+\frac{\partial \xi^{\alpha}}{\partial Z} \hat{Z} 和 epsilon^(alpha beta gamma)=1\epsilon^{\alpha \beta \gamma}=1 ,当索引发生变化时,它变为反对称。 ^(39){ }^{39}
In the core region with (psi,zeta,S_(c))\left(\psi, \zeta, S_{c}\right), considering S_(c)=S_(c)[psi(R,Z),theta(R,Z)]S_{c}=S_{c}[\psi(R, Z), \theta(R, Z)], the Laplacian is written as 在核心区域中 (psi,zeta,S_(c))\left(\psi, \zeta, S_{c}\right) ,考虑到 S_(c)=S_(c)[psi(R,Z),theta(R,Z)]S_{c}=S_{c}[\psi(R, Z), \theta(R, Z)] ,拉普拉斯被写成
In the SOL region with (psi,zeta,S_(S))\left(\psi, \zeta, S_{S}\right), considering S_(S)=S_(S)[psi(RS_{S}=S_{S}[\psi(R, Z),Z]Z), Z], the Laplacian is written as 在 SOL 区域中 (psi,zeta,S_(S))\left(\psi, \zeta, S_{S}\right) ,考虑到 S_(S)=S_(S)[psi(RS_{S}=S_{S}[\psi(R , Z),Z]Z), Z] 拉普拉斯被写成
For the shared grids between core and SOL regions at the separatrix, the perpendicular Laplacian operator is expanded as 对于分离点处核心区域和 SOL 区域之间的共享网格,垂直拉普拉斯算子扩展为
where |_(b_(0)xx zeta zeta)\left.\right|_{b_{0} \times \zeta \zeta} represents the partial derivative with respect to psi\psi among the orthogonal grids along the b_(0)xx zeta\boldsymbol{b}_{0} \times \zeta direction, and 其中 |_(b_(0)xx zeta zeta)\left.\right|_{b_{0} \times \zeta \zeta} 表示相对于沿 b_(0)xx zeta\boldsymbol{b}_{0} \times \zeta 方向的正交网格 psi\psi 之间的偏导数,以及
Taking advantage of the toroidal symmetry of FRC, we could transform the Laplacian operator into Fourier space with respect to the toroidal angle zeta\zeta, which can avoid solving the 3 dimensional matrix. In this paper, we can also simplify Eqs. (12)-(14) assuming k_(_|_)≫kk_{\perp} \gg k and k_(||)≪k_(_|_)k_{\|} \ll k_{\perp}, where kappa=gradB_(0)//B_(0)\kappa=\nabla B_{0} / B_{0}. Thus, for each toroidal mode nn(del//del zeta=in zeta)(\partial / \partial \zeta=i n \zeta), the Laplacian operators in the core region, SOL region, and at the separatrix can be written as 利用FRC的环形对称性,我们可以将拉普拉斯算子变换为相对于环形角 zeta\zeta 的傅里叶空间,从而避免求解三维矩阵。在本文中,我们还可以简化方程。(12)-(14) 假设 k_(_|_)≫kk_{\perp} \gg k 和 k_(||)≪k_(_|_)k_{\|} \ll k_{\perp} ,其中 kappa=gradB_(0)//B_(0)\kappa=\nabla B_{0} / B_{0} .因此,对于每个环形模 nn(del//del zeta=in zeta)(\partial / \partial \zeta=i n \zeta) 态,核心区域、SOL 区域和分离点处的拉普拉斯算子可以写成
where f_(n)f_{n} is the nn toroidal mode component of ff. 其中 f_(n)f_{n} 是 的 nnff 环形模态分量。
The grids shown in Figs. 2 and 3 are only for illustrating the field aligned grid algorithm in cylindrical coordinates clearly, which are much sparser than the realistic simulation. 图 2 和图 3 中所示的网格仅用于清楚地说明圆柱坐标中的场对齐网格算法,比实际模拟要稀疏得多。
FIG. 3. The green + symbols denote the orthogonal grids in the SOL and core regions with respect to the shared grids at the separatrix, and the dotted line in magenta is along the perpendicular direction b_(0)xx hat(zeta)\mathbf{b}_{0} \times \hat{\zeta} from the shared grids as shown by the black stars. The grids shown here are only for illustrating the algorithm, which are much sparser than the ones used in realistic simulation. 图 3.绿色 + 符号表示 SOL 和核心区域中相对于分离点处共享网格的正交网格,洋红色的虚线沿共享网格的垂直方向 b_(0)xx hat(zeta)\mathbf{b}_{0} \times \hat{\zeta} ,如黑色星形所示。此处显示的网格仅用于说明算法,这些网格比实际模拟中使用的网格要稀疏得多。
9. PHYSICS MODEL 9. 物理模型
10. A. Formulation 10. A. 配方
We use the electrostatic Vlasov-Poisson system for physics simulation in this paper. Particle dynamics is described by the gyrokinetic equation using gyrocenter position R\boldsymbol{R}, magnetic moment mu\mu, and parallel velocity v_(||)v_{\|}as independent variables in five dimensional phase space 本文使用静电Vlasov-Poisson系统进行物理模拟。粒子动力学由陀螺动力学方程描述,使用陀螺中心位置 R\boldsymbol{R} 、磁矩 mu\mu 和平行速度 v_(||)v_{\|} 作为五维相空间中的自变量
where Z_(alpha),m_(alpha)Z_{\alpha}, m_{\alpha}, and f_(alpha)f_{\alpha} are the charge, mass, and distribution function of alpha\alpha species. B\boldsymbol{B} is the equilibrium magnetic field, b=B//B,B^(**)=B\boldsymbol{b}=\boldsymbol{B} / B, \boldsymbol{B}^{*}=\boldsymbol{B}+(Bv_(||)//Omega_(c alpha))grad xx b+\left(B v_{\|} / \Omega_{c \alpha}\right) \nabla \times \boldsymbol{b}, and B_(||)^(**)=b*B^(**).delta phiB_{\|}^{*}=\boldsymbol{b} \cdot \boldsymbol{B}^{*} . \delta \phi is the electrostatic potential. (:cdots:)=(1//2pi)int dxd xi(cdots)delta(R+rho_(alpha)-x)\langle\cdots\rangle=(1 / 2 \pi) \int \boldsymbol{d} x d \xi(\cdots) \delta\left(\boldsymbol{R}+\boldsymbol{\rho}_{\boldsymbol{\alpha}}-\boldsymbol{x}\right) represents the gyrophase average, xi\xi is the gyrophase angle, x\boldsymbol{x} represents the particle position, rho_(alpha)=b xxv_(_|_)//Omega_(c alpha)\boldsymbol{\rho}_{\boldsymbol{\alpha}}=\boldsymbol{b} \times \boldsymbol{v}_{\perp} / \Omega_{c \alpha} is the particle gyroradius, and Omega_(c alpha)\Omega_{c \alpha} is the particle cyclotron frequency. v_(E)\boldsymbol{v}_{\boldsymbol{E}} is the E xx B\boldsymbol{E} \times \boldsymbol{B} velocity, and v_(d)\boldsymbol{v}_{\boldsymbol{d}} is the magnetic drift velocity, which are given as 其中 Z_(alpha),m_(alpha)Z_{\alpha}, m_{\alpha} , 和 f_(alpha)f_{\alpha} 是物种的 alpha\alpha 电荷、质量和分布函数。 B\boldsymbol{B} 是平衡磁场, b=B//B,B^(**)=B\boldsymbol{b}=\boldsymbol{B} / B, \boldsymbol{B}^{*}=\boldsymbol{B}+(Bv_(||)//Omega_(c alpha))grad xx b+\left(B v_{\|} / \Omega_{c \alpha}\right) \nabla \times \boldsymbol{b}B_(||)^(**)=b*B^(**).delta phiB_{\|}^{*}=\boldsymbol{b} \cdot \boldsymbol{B}^{*} . \delta \phi 是静电势。 (:cdots:)=(1//2pi)int dxd xi(cdots)delta(R+rho_(alpha)-x)\langle\cdots\rangle=(1 / 2 \pi) \int \boldsymbol{d} x d \xi(\cdots) \delta\left(\boldsymbol{R}+\boldsymbol{\rho}_{\boldsymbol{\alpha}}-\boldsymbol{x}\right) 表示陀螺相位平均值, xi\xi 表示陀螺相位角, x\boldsymbol{x} 表示粒子位置, rho_(alpha)=b xxv_(_|_)//Omega_(c alpha)\boldsymbol{\rho}_{\boldsymbol{\alpha}}=\boldsymbol{b} \times \boldsymbol{v}_{\perp} / \Omega_{c \alpha} 表示粒子回转半径, Omega_(c alpha)\Omega_{c \alpha} 表示粒子回旋加速器频率。 v_(E)\boldsymbol{v}_{\boldsymbol{E}} 是 E xx B\boldsymbol{E} \times \boldsymbol{B} 速度, v_(d)\boldsymbol{v}_{\boldsymbol{d}} 是磁漂移速度,其表示为
{:[v_(E)=(cb xx grad(:delta phi:))/(B_(||)^(**))","],[v_(d)=(cm_(alpha)v_(||)^(2))/(Z_(alpha)B_(||)^(**))b xx(b*grad b)+(c mu)/(Z_(alpha)B_(||)^(**))b xx grad B.]:}\begin{gathered}
\boldsymbol{v}_{\boldsymbol{E}}=\frac{c \boldsymbol{b} \times \nabla\langle\delta \phi\rangle}{B_{\|}^{*}}, \\
\boldsymbol{v}_{\boldsymbol{d}}=\frac{c m_{\alpha} v_{\|}^{2}}{Z_{\alpha} B_{\|}^{*}} \boldsymbol{b} \times(\boldsymbol{b} \cdot \nabla \boldsymbol{b})+\frac{c \mu}{Z_{\alpha} B_{\|}^{*}} \boldsymbol{b} \times \nabla B .
\end{gathered}
In order to minimize the particle noise, the perturbative delta f\delta f simulation method ^(16,17){ }^{16,17} is applied. The particle distribution is decomposed into equilibrium and perturbed parts as f_(alpha)=f_(alpha0)(R,mu,v_(||))+deltaf_(alpha)(R,mu,v_(||),t)f_{\alpha}=f_{\alpha 0}\left(\boldsymbol{R}, \mu, v_{\|}\right)+\delta f_{\alpha}\left(\boldsymbol{R}, \mu, v_{\|}, t\right), and the equilibrium f_(alpha0)f_{\alpha 0} satisfies the following equation: 为了最小化粒子噪声,采用扰动 delta f\delta f 模拟方法 ^(16,17){ }^{16,17} 。粒子分布分解为平衡部分和扰动部分 f_(alpha)=f_(alpha0)(R,mu,v_(||))+deltaf_(alpha)(R,mu,v_(||),t)f_{\alpha}=f_{\alpha 0}\left(\boldsymbol{R}, \mu, v_{\|}\right)+\delta f_{\alpha}\left(\boldsymbol{R}, \mu, v_{\|}, t\right) ,均衡 f_(alpha0)f_{\alpha 0} 满足以下方程:
L_(0)f_(alpha0)=0L_{0} f_{\alpha 0}=0
where L_(0)=del//del t+(v_(||)b+v_(d))*grad-(mu//m_(alpha))B^(**)*grad B//B_(||)^(**)(del//delv_(||))L_{0}=\partial / \partial t+\left(v_{\|} \boldsymbol{b}+\boldsymbol{v}_{\boldsymbol{d}}\right) \cdot \nabla-\left(\mu / m_{\alpha}\right) \boldsymbol{B}^{*} \cdot \nabla B / B_{\|}^{*}\left(\partial / \partial v_{\|}\right). Because v_(d)\boldsymbol{v}_{\boldsymbol{d}} is only in the hat(zeta)\hat{\zeta} direction, the particle drift orbit width is zero in FRC geometry, then f_(alpha0)=n_(alpha0)((m_(alpha))/(2piT_(alpha0)))^(1.5)exp[-(m_(alpha)v_(||)^(2)+2mu B)/(2T_(alpha0))]f_{\alpha 0}=n_{\alpha 0}\left(\frac{m_{\alpha}}{2 \pi T_{\alpha 0}}\right)^{1.5} \exp \left[-\frac{m_{\alpha} v_{\|}^{2}+2 \mu B}{2 T_{\alpha 0}}\right] is the exact solution of Eq. (21), and n_(alpha0)(psi)n_{\alpha 0}(\psi) and T_(alpha0)(psi)T_{\alpha 0}(\psi) are the 1D1 \mathrm{D} function of magnetic flux surface. Subtracting Eq. (18) by Eq. (21), we have the equation for perturbed distribution deltaf_(alpha)\delta f_{\alpha} 其中 L_(0)=del//del t+(v_(||)b+v_(d))*grad-(mu//m_(alpha))B^(**)*grad B//B_(||)^(**)(del//delv_(||))L_{0}=\partial / \partial t+\left(v_{\|} \boldsymbol{b}+\boldsymbol{v}_{\boldsymbol{d}}\right) \cdot \nabla-\left(\mu / m_{\alpha}\right) \boldsymbol{B}^{*} \cdot \nabla B / B_{\|}^{*}\left(\partial / \partial v_{\|}\right) .因为 v_(d)\boldsymbol{v}_{\boldsymbol{d}} 只是在方向上 hat(zeta)\hat{\zeta} ,粒子漂移轨道宽度在FRC几何中为零,所以 f_(alpha0)=n_(alpha0)((m_(alpha))/(2piT_(alpha0)))^(1.5)exp[-(m_(alpha)v_(||)^(2)+2mu B)/(2T_(alpha0))]f_{\alpha 0}=n_{\alpha 0}\left(\frac{m_{\alpha}}{2 \pi T_{\alpha 0}}\right)^{1.5} \exp \left[-\frac{m_{\alpha} v_{\|}^{2}+2 \mu B}{2 T_{\alpha 0}}\right] 是方程(21)的精确解,和 n_(alpha0)(psi)n_{\alpha 0}(\psi) 是 T_(alpha0)(psi)T_{\alpha 0}(\psi) 磁通量面的 1D1 \mathrm{D} 函数。用方程(21)减去方程(18),我们得到扰动分布 deltaf_(alpha)\delta f_{\alpha} 方程
L deltaf_(alpha)=-delta Lf_(alpha0),L \delta f_{\alpha}=-\delta L f_{\alpha 0},
where delta L=v_(E)*grad-(Z_(alpha)//m_(alpha)//B_(||)^(**))B^(**)*grad(:delta phi:)(del//delv_(||))\delta L=\boldsymbol{v}_{\boldsymbol{E}} \cdot \nabla-\left(Z_{\alpha} / m_{\alpha} / B_{\|}^{*}\right) \boldsymbol{B}^{*} \cdot \nabla\langle\delta \phi\rangle\left(\partial / \partial v_{\|}\right)and L=L_(0)L=L_{0}+delta L+\delta L. Defining particle weight as w_(alpha)=deltaf_(alpha)//f_(alpha)w_{\alpha}=\delta f_{\alpha} / f_{\alpha}, we can derive the weight equation from Eq. (22) as 其中 delta L=v_(E)*grad-(Z_(alpha)//m_(alpha)//B_(||)^(**))B^(**)*grad(:delta phi:)(del//delv_(||))\delta L=\boldsymbol{v}_{\boldsymbol{E}} \cdot \nabla-\left(Z_{\alpha} / m_{\alpha} / B_{\|}^{*}\right) \boldsymbol{B}^{*} \cdot \nabla\langle\delta \phi\rangle\left(\partial / \partial v_{\|}\right) 和 L=L_(0)L=L_{0}+delta L+\delta L .将粒子重量定义为 w_(alpha)=deltaf_(alpha)//f_(alpha)w_{\alpha}=\delta f_{\alpha} / f_{\alpha} ,我们可以从方程(22)中推导出重量方程为
where we have used the chain rule gradf_(alpha0)|_(v_(_|_))= gradf_(alpha0)|_(mu)+(muf_(alpha0)grad B//T_(alpha0))\left.\nabla f_{\alpha 0}\right|_{v_{\perp}}=\left.\nabla f_{\alpha 0}\right|_{\mu}+\left(\mu f_{\alpha 0} \nabla B / T_{\alpha 0}\right) in the derivation of Eq. (23) from Eq. (22). 其中,我们在从方程(22)推导方程(23)时使用了链式法则 gradf_(alpha0)|_(v_(_|_))= gradf_(alpha0)|_(mu)+(muf_(alpha0)grad B//T_(alpha0))\left.\nabla f_{\alpha 0}\right|_{v_{\perp}}=\left.\nabla f_{\alpha 0}\right|_{\mu}+\left(\mu f_{\alpha 0} \nabla B / T_{\alpha 0}\right) 。
The gyrokinetic Vlasov equation is used for ion species, and its perturbed density is 陀螺动力学弗拉索夫方程用于离子种类,其扰动密度为
(:deltan_(i)(x,t):)=int deltaf_(i)(R,mu,v_(||),t)dvdRd xi delta(R+rho_(i)-x)//(2pi)\left\langle\delta n_{i}(\boldsymbol{x}, t)\right\rangle=\int \delta f_{i}\left(\boldsymbol{R}, \mu, v_{\|}, t\right) \boldsymbol{d} \boldsymbol{v} \boldsymbol{d} \boldsymbol{R} d \xi \delta\left(\boldsymbol{R}+\boldsymbol{\rho}_{\boldsymbol{i}}-\boldsymbol{x}\right) /(2 \pi)
Electron dynamics is assumed as adiabatic for simplicity, and the elec tron perturbed density is 为简单起见,假设电子动力学为绝热,电子加速器扰动密度为
where n_(i0)n_{i 0} and T_(i0)T_{i 0} are the equilibrium ion density and temperature. widetilde(delta phi)\widetilde{\delta \phi} is the double gyrophase average of electrostatic potential for ion species, which is given as 其中 n_(i0)n_{i 0} 和 T_(i0)T_{i 0} 是平衡离子密度和温度。 widetilde(delta phi)\widetilde{\delta \phi} 是离子种类静电势的双陀螺相平均值,其表示为
where int dv=(2pi B)/(m_(i))int dv_(||)d mu\int \boldsymbol{d} v=\frac{2 \pi B}{m_{i}} \int d v_{\|} d \mu. 其中 int dv=(2pi B)/(m_(i))int dv_(||)d mu\int \boldsymbol{d} v=\frac{2 \pi B}{m_{i}} \int d v_{\|} d \mu .
11. B. Implementation of dynamic equations in cylindrical coordinates 11. B. 圆柱坐标中动力学方程的实现
with S=S_(c)xx LS=S_{c} \times L or S=S_(S)xx LS=S_{S} \times L, and LL is the field line length, and with S=S_(c)xx LS=S_{c} \times L 或 S=S_(S)xx LS=S_{S} \times L ,是 LL 场线长度,并且
In GTC-X, the gyro-average is performed analytically by multiplying the fields with Bessel function as (:delta phi:)=delta phiJ_(0)(k_(zeta)rho_(i))\langle\delta \phi\rangle=\delta \phi J_{0}\left(k_{\zeta} \rho_{i}\right) and (:deltan_(i):)=deltan_(i)J_(0)(k_(zeta)rho_(i))\left\langle\delta n_{i}\right\rangle=\delta n_{i} J_{0}\left(k_{\zeta} \rho_{i}\right), where rho_(i)=v_(th,i)//Omega_(ci)\rho_{i}=v_{t h, i} / \Omega_{c i} is the ion gyroradius, v_(th,i)=sqrt(T_(i)//m_(i)),Omega_(ci)=Z_(i)B//cm_(i),k_(zeta)=n//Rv_{t h, i}=\sqrt{T_{i} / m_{i}}, \Omega_{c i}=Z_{i} B / c m_{i}, k_{\zeta}=n / R is the toroidal wave vector, nn is the toroidal mode number, and RR is the radial position, which is only valid for single toroidal mode simulation. The radial component of perpendicular wave vector k_(r)k_{r} is not considered for the gyroaverage in the current implementation for simplicity. In the future work, a more realistic gyro-average using the 4 point average method ^(21){ }^{21} will be implemented in GTC-X for multiple mode simulation, which is used in another FRC drift wave code ANC. 在 GTC-X 中,陀螺平均值是通过将贝塞尔函数为 (:delta phi:)=delta phiJ_(0)(k_(zeta)rho_(i))\langle\delta \phi\rangle=\delta \phi J_{0}\left(k_{\zeta} \rho_{i}\right) 和 (:deltan_(i):)=deltan_(i)J_(0)(k_(zeta)rho_(i))\left\langle\delta n_{i}\right\rangle=\delta n_{i} J_{0}\left(k_{\zeta} \rho_{i}\right) 的场相乘来执行的,其中 rho_(i)=v_(th,i)//Omega_(ci)\rho_{i}=v_{t h, i} / \Omega_{c i} 是离子陀螺半径, v_(th,i)=sqrt(T_(i)//m_(i)),Omega_(ci)=Z_(i)B//cm_(i),k_(zeta)=n//Rv_{t h, i}=\sqrt{T_{i} / m_{i}}, \Omega_{c i}=Z_{i} B / c m_{i}, k_{\zeta}=n / R 是环形波矢量, nn 是环形模态数, RR 是径向位置,仅对单环形模态模拟有效。为简单起见,在当前实现中,陀螺平均值不考虑垂直波矢量 k_(r)k_{r} 的径向分量。在未来的工作中,将在 GTC-X 中使用 4 点平均法 ^(21){ }^{21} 实现更真实的陀螺仪平均值,用于多模仿真,该仿真用于另一个 FRC 漂移波代码 ANC。
The comparisons between gyrocenter and fully kinetic particle trajectories with different particle energies and locations are shown in Fig. 4. Both gyrocenter and fully kinetic particle pitch angles at the outer midplane are tan theta=v_(||)//v_(_|_)=1\tan \theta=v_{\|} / v_{\perp}=1, which are trapped between two mirror throats. It is seen that gyrokinetic description is suitable for SOL region simulation with low temperature and high magnetic field, and its fidelity decreases with increasing the particle energy and moving toward the core region. Recently, a theoretical work has illustrated that the fidelity of the gyrokinetic equation is well achieved in the nonuniform magnetic field with epsilon=rho//L < 1,^(40)\epsilon=\rho / L<1,{ }^{40} where rho\rho is the gyroradius and LL is the magnetic field gradient scale length. With regard to FRC geometry, the gyrokinetic description of thermal ion can capture the gyro-orbit but not betatron and figure- 8 orbit. ^(41){ }^{41} However, a strong finite Larmor radius effect stabilizes the drift wave instability near or inside the core region, which has been observed in experiment ^(10){ }^{10} and by previous local simulations. ^(25-27){ }^{25-27} Thus, in this paper, we focus on gyrokinetic simulation of ITG instability in FRC as the first step to demonstrate the code capability for GTC-X as well as reveal the global nature of ITG instability in the SOL region. 具有不同粒子能量和位置的陀螺中心和全动力学粒子轨迹之间的比较如图4所示。外中平面的陀螺中心和全动力学粒子俯仰角都被困在 tan theta=v_(||)//v_(_|_)=1\tan \theta=v_{\|} / v_{\perp}=1 两个镜喉之间。可以看出,陀螺动力学描述适用于低温高磁场的SOL区域模拟,其保真度随着粒子能量的增加和向核心区域移动而降低。最近,一项理论工作表明,陀螺动力学方程的保真度在非均匀磁场中得到了很好的实现, epsilon=rho//L < 1,^(40)\epsilon=\rho / L<1,{ }^{40} 其中 rho\rho 陀螺半径和 LL 磁场梯度尺度长度。关于FRC几何形状,热离子的陀螺动力学描述可以捕获陀螺轨道,但不能捕获βtron和8字形轨道。 ^(41){ }^{41} 然而,强烈的有限拉莫尔半径效应稳定了核心区域附近或内部的漂移波不稳定性,这在实验 ^(10){ }^{10} 和先前的局部模拟中已经观察到。 ^(25-27){ }^{25-27} 因此,本文重点研究了FRC中ITG不稳定性的陀螺动力学仿真,作为展示GTC-X代码能力的第一步,并揭示了SOL区域ITG不稳定性的全局性质。
12. Poisson solver 12. 泊松求解器
Poisson's equation is solved in a semispectral form. Applying Padé approximation, widehat(delta phi)~~(1)/(1+k_(_|_)^(2)rho_(i)^(2))delta phi\widehat{\delta \phi} \approx \frac{1}{1+k_{\perp}^{2} \rho_{i}^{2}} \delta \phi, Eq. (26) can be written as 泊松方程以半光谱形式求解。应用帕德近似, widehat(delta phi)~~(1)/(1+k_(_|_)^(2)rho_(i)^(2))delta phi\widehat{\delta \phi} \approx \frac{1}{1+k_{\perp}^{2} \rho_{i}^{2}} \delta \phi 方程(26)可以写成
FIG. 4. Comparison of the trajectory between the fully kinetic particle and the gyrocenter for 44.4eV44.4 \mathrm{eV} and 1022eV1022 \mathrm{eV} deuterium cases. The black solid line represents the separatrix, and green solid lines are the contour of magnetic flux. where delta psi=delta phi-(T_(i0))/(Z_(i)n_(i0))deltan_(i)//(1+(e^(2))/(Z_(i)^(2))(n_(e0))/(n_(i0))(T_(i0))/(T_(e0))),rho_(s)=C_(s)//Omega_(ci)\delta \psi=\delta \phi-\frac{T_{i 0}}{Z_{i} n_{i 0}} \delta n_{i} /\left(1+\frac{e^{2}}{Z_{i}^{2}} \frac{n_{e 0}}{n_{i 0}} \frac{T_{i 0}}{T_{e 0}}\right), \rho_{s}=C_{s} / \Omega_{c i}, and C_(s)C_{s}=sqrt(T_(e)//m_(i))=\sqrt{T_{e} / m_{i}} is the ion sound speed. By applying the Fourier transform in the toroidal direction to Eq. (31), we have 图 4.完全动力学粒子与氘 44.4eV44.4 \mathrm{eV}1022eV1022 \mathrm{eV} 形体的陀螺中心之间的轨迹比较。黑色实线表示分离线,绿色实线表示磁通量的轮廓。其中 delta psi=delta phi-(T_(i0))/(Z_(i)n_(i0))deltan_(i)//(1+(e^(2))/(Z_(i)^(2))(n_(e0))/(n_(i0))(T_(i0))/(T_(e0))),rho_(s)=C_(s)//Omega_(ci)\delta \psi=\delta \phi-\frac{T_{i 0}}{Z_{i} n_{i 0}} \delta n_{i} /\left(1+\frac{e^{2}}{Z_{i}^{2}} \frac{n_{e 0}}{n_{i 0}} \frac{T_{i 0}}{T_{e 0}}\right), \rho_{s}=C_{s} / \Omega_{c i}