一个完全隐式的牛顿?克里洛夫?托卡马克磁流体动力学的Schwarz方法:雅可比矩阵构造和预条件公式

D. Reynolds, R. Samtaney, H. Tiedeman
{"title":"一个完全隐式的牛顿?克里洛夫?托卡马克磁流体动力学的Schwarz方法:雅可比矩阵构造和预条件公式","authors":"D. Reynolds, R. Samtaney, H. Tiedeman","doi":"10.1088/1749-4699/5/1/014003","DOIUrl":null,"url":null,"abstract":"Single-fluid resistive magnetohydrodynamics (MHD) is a fluid description of fusion plasmas which is often used to investigate macroscopic instabilities in tokamaks. In MHD modeling of tokamaks, it is often desirable to compute MHD phenomena to resistive time scales or a combination of resistive-Alfven time scales, which can render explicit time stepping schemes computationally expensive. We present recent advancements in the development of preconditioners for fully nonlinearly implicit simulations of single- fluid resistive tokamak MHD. Our work focuses on simulations using a structured mesh mapped into a toroidal geometry with a shaped poloidal cross-section, and a finite-volume spatial discretization of the partial differential equation model. We discretize the temporal dimension using a fully implicit or the backwards differentiation formula method, and solve the resulting nonlinear algebraic system using a standard inexact Newton-Krylov approach, provided by the sundials library. The focus of this paper is on the construction and performance of various preconditioning approaches for accelerating the convergence of the iterative solver algorithms. Effective preconditioners require information about the Jacobian entries; however, analytical formulae for these Jacobian entries may be prohibitive to derive/implement without error. We therefore compute these entries using automatic differentiation with OpenAD. We then investigate a variety of preconditioning formulations inspired by standard solution approaches in modern MHD codes, in order to investigate their utility in a preconditioning context. We first describe the code modifications necessary for the use of the OpenAD tool and sundials solver library. We conclude with numerical results for each of our preconditioning approaches in the context of pellet-injection fueling of tokamak plasmas. Of these, our optimal approach results in a speedup of a factor of 3 compared with non-preconditioned implicit tests, with that performance gap rapidly widening with increasing mesh refinement.","PeriodicalId":89345,"journal":{"name":"Computational science & discovery","volume":"5 1","pages":"014003"},"PeriodicalIF":0.0000,"publicationDate":"2012-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://sci-hub-pdf.com/10.1088/1749-4699/5/1/014003","citationCount":"12","resultStr":"{\"title\":\"A fully implicit Newton?Krylov?Schwarz method for tokamak magnetohydrodynamics: Jacobian construction and preconditioner formulation\",\"authors\":\"D. Reynolds, R. Samtaney, H. Tiedeman\",\"doi\":\"10.1088/1749-4699/5/1/014003\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Single-fluid resistive magnetohydrodynamics (MHD) is a fluid description of fusion plasmas which is often used to investigate macroscopic instabilities in tokamaks. In MHD modeling of tokamaks, it is often desirable to compute MHD phenomena to resistive time scales or a combination of resistive-Alfven time scales, which can render explicit time stepping schemes computationally expensive. We present recent advancements in the development of preconditioners for fully nonlinearly implicit simulations of single- fluid resistive tokamak MHD. Our work focuses on simulations using a structured mesh mapped into a toroidal geometry with a shaped poloidal cross-section, and a finite-volume spatial discretization of the partial differential equation model. We discretize the temporal dimension using a fully implicit or the backwards differentiation formula method, and solve the resulting nonlinear algebraic system using a standard inexact Newton-Krylov approach, provided by the sundials library. The focus of this paper is on the construction and performance of various preconditioning approaches for accelerating the convergence of the iterative solver algorithms. Effective preconditioners require information about the Jacobian entries; however, analytical formulae for these Jacobian entries may be prohibitive to derive/implement without error. We therefore compute these entries using automatic differentiation with OpenAD. We then investigate a variety of preconditioning formulations inspired by standard solution approaches in modern MHD codes, in order to investigate their utility in a preconditioning context. We first describe the code modifications necessary for the use of the OpenAD tool and sundials solver library. We conclude with numerical results for each of our preconditioning approaches in the context of pellet-injection fueling of tokamak plasmas. Of these, our optimal approach results in a speedup of a factor of 3 compared with non-preconditioned implicit tests, with that performance gap rapidly widening with increasing mesh refinement.\",\"PeriodicalId\":89345,\"journal\":{\"name\":\"Computational science & discovery\",\"volume\":\"5 1\",\"pages\":\"014003\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2012-01-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"https://sci-hub-pdf.com/10.1088/1749-4699/5/1/014003\",\"citationCount\":\"12\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Computational science & discovery\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1088/1749-4699/5/1/014003\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computational science & discovery","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1088/1749-4699/5/1/014003","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 12

摘要

单流体电阻磁流体力学(MHD)是一种对聚变等离子体的流体描述,常用于研究托卡马克的宏观不稳定性。在托卡马克的MHD建模中,通常需要将MHD现象计算为电阻时间尺度或电阻- alfven时间尺度的组合,这可能会使显式时间步进方案的计算成本很高。本文介绍了用于单流体电阻托卡马克MHD全非线性隐式模拟的预调节器的最新进展。我们的工作重点是使用结构网格映射到具有形状极向截面的环面几何形状的模拟,以及偏微分方程模型的有限体积空间离散化。我们使用完全隐式或反向微分公式方法离散时间维度,并使用由日晷库提供的标准非精确牛顿-克雷洛夫方法求解得到的非线性代数系统。本文重点讨论了加速迭代求解算法收敛的各种预处理方法的构造和性能。有效的预条件需要雅可比矩阵项的信息;然而,这些雅可比矩阵项的解析公式可能无法准确地推导/实现。因此,我们使用OpenAD的自动区分来计算这些条目。然后,我们研究了各种预处理配方,灵感来自现代MHD代码中的标准解决方法,以研究它们在预处理环境中的效用。我们首先描述使用OpenAD工具和日晷求解器库所需的代码修改。最后,我们给出了在托卡马克等离子体颗粒注入燃料的情况下每种预处理方法的数值结果。其中,我们的最优方法与非预置的隐式测试相比,速度提高了3倍,随着网格细化的增加,性能差距迅速扩大。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
A fully implicit Newton?Krylov?Schwarz method for tokamak magnetohydrodynamics: Jacobian construction and preconditioner formulation
Single-fluid resistive magnetohydrodynamics (MHD) is a fluid description of fusion plasmas which is often used to investigate macroscopic instabilities in tokamaks. In MHD modeling of tokamaks, it is often desirable to compute MHD phenomena to resistive time scales or a combination of resistive-Alfven time scales, which can render explicit time stepping schemes computationally expensive. We present recent advancements in the development of preconditioners for fully nonlinearly implicit simulations of single- fluid resistive tokamak MHD. Our work focuses on simulations using a structured mesh mapped into a toroidal geometry with a shaped poloidal cross-section, and a finite-volume spatial discretization of the partial differential equation model. We discretize the temporal dimension using a fully implicit or the backwards differentiation formula method, and solve the resulting nonlinear algebraic system using a standard inexact Newton-Krylov approach, provided by the sundials library. The focus of this paper is on the construction and performance of various preconditioning approaches for accelerating the convergence of the iterative solver algorithms. Effective preconditioners require information about the Jacobian entries; however, analytical formulae for these Jacobian entries may be prohibitive to derive/implement without error. We therefore compute these entries using automatic differentiation with OpenAD. We then investigate a variety of preconditioning formulations inspired by standard solution approaches in modern MHD codes, in order to investigate their utility in a preconditioning context. We first describe the code modifications necessary for the use of the OpenAD tool and sundials solver library. We conclude with numerical results for each of our preconditioning approaches in the context of pellet-injection fueling of tokamak plasmas. Of these, our optimal approach results in a speedup of a factor of 3 compared with non-preconditioned implicit tests, with that performance gap rapidly widening with increasing mesh refinement.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信