Welcome to Nuclear Fusion and Plasma Physics, Today is Share:

Nuclear Fusion and Plasma Physics ›› 2021, Vol. 41 ›› Issue (1): 8-15.DOI: 10.16568/j.0254-6086.202101002

• Plasma Physics • Previous Articles     Next Articles

Parallel computing of magnetohydrodynamic simulations based on conservative perturbed model

TAN Yao1, 2, MA Jun1, XIANG Nong 1   

  1. (1. Institute of Plasma Physics, Chinese Academy of Sciences, Hefei 230031; 
    2. University of Science and Technology of China, Hefei 230026) 
  • Received:2019-10-14 Revised:2020-01-14 Online:2021-03-15 Published:2022-01-18

基于微扰守恒模型的磁流体模拟并行计算 

谭 耀 1, 2,马 骏 1,项 农 1   

  1. (1. 中国科学院合肥物质科学研究院等离子体物理研究所,合肥 230031; 
    2. 中国科学技术大学,合肥 230026) 
  • 作者简介:谭耀(1992−),男,湖南怀化人,硕士研究生,从事等离子体物理模拟研究。
  • 基金资助:
    国家自然科学基金(1197050421) 

Abstract: Based on the conservative perturbed model, the nonlinear magnetohydrodymamics code in 
two-dimensional slab geometry is developed. It applies the flux vector splitting method and the mapped weighted 
essentially non-oscillatory reconstruction scheme. Numerical tests of the ideal Kelvin-Helmholtz instability and 
the resistive single tearing mode show its capability and high accuracy in solving linear and nonlinear MHD 
instabilities. To run the code on the computer cluster, a parallel computing architecture based on the MPI and 
OpenMPlibraries is developed. In the process of parallel computing, load balancing is used to dynamically 
allocate the computing amount of each node, which improves the computing efficiency. 

Key words: Parallel computation, Weighted essentially non-oscillatory, Conservative perturbed MHD model; 
Numerical simulation 

摘要: 基于微扰形式的守恒磁流体方程,采用基于通量向量分裂(FVS)以及加权本质无振荡格式(WENO)的
有限差分方法,发展了平板位形下的非线性磁流体模拟程序。程序准确地模拟了开尔文-亥姆霍兹不稳定性和单
撕裂模不稳定性。采用 MPI 和 OpenMP 的并行计算框架,使得程序可以在多节点上运行。在并行计算过程中采
用负载均衡化,对各个节点计算量进行动态分配,提高了计算效率。

关键词: 并行计算;WENO;微扰守恒磁流体模型;数值模拟 

CLC Number: