×

BOUT++: a framework for parallel plasma fluid simulations. (English) Zbl 07872388

Summary: A new modular code called BOUT++ is presented, which simulates 3D fluid equations in curvilinear coordinates. Although aimed at simulating Edge Localised Modes (ELMs) in tokamak \(x\)-point geometry, the code is able to simulate a wide range of fluid models (magnetised and unmagnetised) involving an arbitrary number of scalar and vector fields, in a wide range of geometries. Time evolution is fully implicit, and 3rd-order WENO schemes are implemented. Benchmarks are presented for linear and non-linear problems (the Orszag-Tang vortex) showing good agreement. Performance of the code is tested by scaling with problem size and processor number, showing efficient scaling to thousands of processors.
Linear initial-value simulations of ELMs using reduced ideal MHD are presented, and the results compared to the ELITE linear MHD eigenvalue code. The resulting mode-structures and growth-rate are found to be in good agreement (\(\gamma_{\mathrm{BOUT++}} = 0.245 \omega_A\), \(\gamma_{\mathrm{ELITE}} = 0.239 \omega_A\), with Alfvénic timescale \(1/\omega_A = R/V_A\)). To our knowledge, this is the first time dissipationless, initial-value simulations of ELMs have been successfully demonstrated.

MSC:

76-XX Fluid mechanics
82-XX Statistical mechanics, structure of matter

Software:

BOUT++; HDF5

References:

[1] Xu, X. Q.; Cohen, R. H., Contrib. Plasma Phys., 38, 158 (1998)
[2] Xu, X. Q., J. Nucl. Materials, 266-269, 993 (1999)
[3] Xu, X. Q.; Cohen, R. H.; Rognlien, T. D.; Myra, J. R., Phys. Plasmas, 7, 1951 (2000)
[4] Rognlien, T. D.; Xu, X. Q.; Hindmarsh, A. C., J. Comput. Phys., 175, 249 (2002) · Zbl 1168.76353
[5] Xu, X. Q.; Umansky, M. V.; Dudson, B.; Snyder, P. B., Comm. in Comput. Phys., 4, 949 (2008)
[6] Umansky, M. V.; Xu, X. Q.; Dudson, B.; LoDestro, L. L.; Myra, J. R., Comput. Phys. Comm., 180, 887-903 (2009)
[7] Simakov, A. N.; Catto, P. J., Phys. Plasmas, 10, 4744 (2003)
[8] Catto, P. J.; Simakov, A. N., Phys. Plasmas, 11, 90 (2004)
[9] Chankin, A. V.; Stangeby, P. C., Nucl. Fusion, 46, 975 (2006)
[10] Advanced CompuTational Software collection, US DOE
[11] Weller, H. G.; Tabor, G.; Jasak, H.; Fureby, C., Comp. in Phys., 12, 620 (1998)
[12] Jasak, H.; Weller, H. G.; Gosman, A. D., Int. J. Numer. Meth. Fluids, 31, 431 (1999) · Zbl 0952.76057
[13] Jasak, H.; Weller, H. G.; Nordin, N., In-cylinder CFD simulation using a C++ object-oriented toolkit (2004), in: SAE World Congress, Detroit, number 2004-01-0110
[14] Wilson, H. R.; Snyder, P. B.; Huysmans, G. T.A.; Miller, R. L., Phys. Plasmas, 9, 1277 (2002)
[15] Snyder, P. B., Phys. Plasmas, 9, 2037 (2002)
[16] Kirk, A., Phys. Rev. Lett., 96, 185001 (2006)
[17] Hegna, C. C.; Connor, J. W.; Hastie, R. J.; Wilson, H. R., Phys. Plasmas, 3, 584 (1996)
[18] Connor, J. W.; Hastie, R. J.; Wilson, H. R.; Miller, R. L., Phys. Plasmas, 5, 2687 (1998)
[19] Wilson, H. R.; Cowley, S. C., Phys. Rev. Lett., 92, 175006 (2004)
[20] Zhu, P.; Hegna, C. C.; Sovinec, C. R.; Bhattacharjee, A.; Germaschewski, K., Phys. Plasmas, 14, 055903 (2007)
[21] Sovinec, C. R., J. Comput. Phys., 195, 355 (2004)
[22] Brennan, D. P.; Kruger, S. E.; Schnack, D. D.; Sovinec, C. R.; Pankin, A. Y., Journal of Physics: Conference Series, 46, 63 (2006)
[23] Pankin, A. Y., Plasma Phys. Control. Fusion, 49, S63 (2007)
[24] Snyder, P. B.; Wilson, H. R.; Xu, X. Q., Phys. Plasmas, 12, 056115 (2005)
[25] P.B. Snyder, H.R. Wilson, X.Q. Xu, Nonlinear 3D Simulations of ELMs with the BOUT code, in: Fluid Modelling of ELMs Workshop, Boulder, Colorado, 2006; P.B. Snyder, H.R. Wilson, X.Q. Xu, Nonlinear 3D Simulations of ELMs with the BOUT code, in: Fluid Modelling of ELMs Workshop, Boulder, Colorado, 2006
[26] Huysmans, G. T.A.; Czarny, O., Nucl. Fusion, 47, 659 (2007)
[27] Scott, B., Phys. Plasmas, 12, 102307 (2005)
[28] Scott, B., Plasma Phys. Control. Fusion, 48, A387 (2006)
[29] Park, W., Phys. Plasmas, 6, 1796 (1999)
[30] Park, G., Journal of Physics: Conference Series, 78, 012087 (2007)
[31] Sovinec, C. R., Journal of Physics: Conference Series, 78, 012070 (2007)
[32] Portable application code toolkit
[33] Brown, S. A.; Folk, M.; Goucher, G.; Rew, R., Computers in Physics, 7, 304 (1993)
[34] Unidata, netCDF
[35] The HDF Group, HDF5
[36] Knuth, D., ACM Journal Computing Surveys, 6, 268 (1974)
[37] Haeseler, W. D., Flux Coordinates and Magnetic Field Structure (1991), Springer · Zbl 0989.76500
[38] (Wesson, J. A., Tokamaks (1997), Clarendon Press)
[39] Dimits, A. M., Phys. Rev. E, 48, 4070 (1993)
[40] Lovelock, D.; Rund, H., Tensors, Differential Forms, and Variational Principles (1989), Dover
[41] Levy, D.; Puppo, G.; Russo, G. (1999)
[42] Bryson, S.; Levy, D., SIAM J. Numer. Anal., 41, 1339 (2003) · Zbl 1050.65076
[43] Jiang, G.-S.; Shu, C.-W., J. Comput. Phys., 126, 202 (1996) · Zbl 0877.65065
[44] Jiang, G.-S.; Peng, D., SIAM J. Sci. Comp., 21, 2126 (2000) · Zbl 0957.35014
[45] Press, W. H.; Teukolsky, S. A.; Vetterling, W. T.; Flannery, B. P., Numerical Recipes in C. The Art of Scientific Computing (1999), Cambridge University Press
[46] Umansky, M. V.; Cohen, R. H.; LoDestro, L. L.; Xu, X. Q., Contrib. Plasma Phys., 48, 27 (2008)
[47] Umansky, M. V.; LoDestro, L. L.; Xu, X. Q., Bull. Amer. Phys. Soc., 51, 262 (2006)
[48] Hazeltine, R. D.; Meiss, J. D., Plasma Confinement (2003), Dover Publications
[49] Orszag, S. A.; Tang, C.-M., J. Fluid Mech., 90, 129 (1979)
[50] Dai, W.; Woodward, P. R., Astrophys. J., 494, 317 (1998)
[51] Stone, J. M.; Gardiner, T. A.; Teuben, P.; Hawley, J. F.; Simon, J. B. (2008), eprint
[52] Londrillo, P.; Del Zanna, L., Astrophys. J., 530, 508 (2000)
[53] Ryu, D.; Miniati, F.; Jones, T. W.; Frank, A., Astrophys. J., 509, 244 (1998)
[54] Zhang, M.; John Yu, S. T.; Henry Lin, S. C.; Chang, S.-C.; Blankson, I., J. Comput. Phys., 214, 599 (2006) · Zbl 1136.76399
This reference list is based on information provided by the publisher or from digital mathematics libraries. Its items are heuristically matched to zbMATH identifiers and may contain data conversion errors. In some cases that data have been complemented/enhanced by data from zbMATH Open. This attempts to reflect the references listed in the original paper as accurately as possible without claiming completeness or a perfect matching.