A constrained-gradient method to control divergence errors in numerical MHD

被引:86
|
作者
Hopkins, Philip F. [1 ,2 ]
机构
[1] CALTECH, TAPIR, Mailcode 350-17, Pasadena, CA 91125 USA
[2] CALTECH, Walter Burke Inst Theoret Phys, Mailcode 350-17, Pasadena, CA 91125 USA
基金
美国国家科学基金会;
关键词
hydrodynamics; instabilities; turbulence; methods: numerical; cosmology: theory; SMOOTHED PARTICLE HYDRODYNAMICS; STAR-FORMATION; STELLAR FEEDBACK; MAGNETIC-FIELDS; IDEAL MAGNETOHYDRODYNAMICS; COSMOLOGICAL SIMULATIONS; ASTROPHYSICAL MHD; CODE; EQUATIONS; TRANSPORT;
D O I
10.1093/mnras/stw1578
中图分类号
P1 [天文学];
学科分类号
0704 ;
摘要
In numerical magnetohydrodynamics (MHD), a major challenge is maintaining del . B = O. Constrained transport (CT) schemes achieve this but have been restricted to specific methods. For more general (meshless, moving-mesh, ALE) methods, 'divergence-cleaning' schemes reduce the del . B errors; however they can still be significant and can lead to systematic errors which converge away slowly. We propose a new constrained gradient (CG) scheme which augments these with a projection step, and can be applied to any numerical scheme with a reconstruction. This iteratively approximates the least-squares minimizing, globally divergence-free reconstruction of the fluid. Unlike 'locally divergence free' methods, this actually minimizes the numerically unstable del . B terms, without affecting the convergence order of the method. We implement this in the mesh-free code GIZMO and compare various test problems. Compared to cleaning schemes, our CG method reduces the maximum del . B errors by similar to 1-3 orders of magnitude (similar to 2-5 dex below typical errors if no del . B cleaning is used). By preventing large del . B at discontinuities, this eliminates systematic errors at jumps. Our CG results are comparable to CT methods; for practical purposes, the del . B errors are eliminated. The cost is modest, similar to 30 per cent of the hydro algorithm, and the CG correction can be implemented in a range of numerical MHD methods. While for many problems, we find Dedner-type cleaning schemes are sufficient for good results, we identify a range of problems where using only Powell or '8-wave' cleaning can produce order-of-magnitude errors.
引用
收藏
页码:576 / 587
页数:12
相关论文
共 50 条
  • [1] ON THE ORIGIN OF DIVERGENCE ERRORS IN MHD SIMULATIONS AND CONSEQUENCES FOR NUMERICAL SCHEMES
    Kemm, Friedemann
    COMMUNICATIONS IN APPLIED MATHEMATICS AND COMPUTATIONAL SCIENCE, 2013, 8 (01) : 1 - 38
  • [2] A NUMERICAL IMPLEMENTATION OF MHD IN DIVERGENCE FORM
    VANPUTTEN, MHPM
    JOURNAL OF COMPUTATIONAL PHYSICS, 1993, 105 (02) : 339 - 353
  • [3] Convergence Analysis of Contrastive Divergence Algorithm Based on Gradient Method with Errors
    Ma, Xuesi
    Wang, Xiaojie
    MATHEMATICAL PROBLEMS IN ENGINEERING, 2015, 2015
  • [4] A constrained transport divergence-free finite element method for incompressible MHD equations
    Li, Lingxiao
    Zhang, Donghang
    Zheng, Weiying
    JOURNAL OF COMPUTATIONAL PHYSICS, 2021, 428 (428)
  • [5] ON SOFT ERRORS IN THE CONJUGATE GRADIENT METHOD: SENSITIVITY AND ROBUST NUMERICAL DETECTION
    Agullo, Emmanuel
    Cools, Siegfried
    Yetkin, Emrullah Fatih
    Giraud, Luc
    Schenkels, Nick
    Vanroose, Wim
    SIAM JOURNAL ON SCIENTIFIC COMPUTING, 2020, 42 (06): : C335 - C358
  • [6] A Fast Gradient Projection Method for a Constrained Fractional Optimal Control
    Du, Ning
    Wang, Hong
    Liu, Wenbin
    JOURNAL OF SCIENTIFIC COMPUTING, 2016, 68 (01) : 1 - 20
  • [7] A Fast Gradient Projection Method for a Constrained Fractional Optimal Control
    Ning Du
    Hong Wang
    Wenbin Liu
    Journal of Scientific Computing, 2016, 68 : 1 - 20
  • [8] Constrained generalised predictive control using conjugate gradient method
    Filali, Salim
    Kemih, Karim
    Kiass, Aissa
    Advances in Modeling and Analysis C, 2002, 57 (3-4): : 35 - 45
  • [9] Divergence errors in spectral element method
    Huang, Mei-Jiau
    Journal of the Chinese Society of Mechanical Engineers, Transactions of the Chinese Institute of Engineers, Series C/Chung-Kuo Chi Hsueh Kung Ch'eng Hsuebo Pao, 2002, 23 (03): : 235 - 244
  • [10] Numerical optimization on plant noise control by gradient method
    Lan, Tian-Syung
    INTERNATIONAL JOURNAL OF COMPUTER MATHEMATICS, 2009, 86 (05) : 897 - 913