TY - JOUR T1 - Automatic Generation of Finite Difference Field Solvers for Toroidally Confined Plasmas AU - Lin , Jingbo AU - Zhang , Wenlu AU - Liu , Pengfei AU - Cao , Jintao AU - Li , Ding JO - Communications in Computational Physics VL - 3 SP - 1176 EP - 1188 PY - 2020 DA - 2020/07 SN - 28 DO - http://doi.org/10.4208/cicp.OA-2017-0151 UR - https://global-sci.org/intro/article_detail/cicp/17690.html KW - Mathematica, flux coordinates, finite difference, curvilinear coordinate. AB -
Flux coordinates and field-line coordinates are ubiquitous in magnetically confined plasma research. Most of these coordinates are essentially non-orthogonal curvilinear coordinates, in which the differential operators are rather complicated. This article reports an automatic tool, OpGen, for generating a finite difference coefficient matrix for field solvers by using a computer symbolic computation system. This tool is suitable for, but is not limited to, code development for toroidally confined plasmas.