1. Spatial coupling of gyrokinetic simulations, a generalized scheme based on first-principles
- Author
-
Robert Hager, Choong-Seock Chang, Albert Mollén, Lee Ricketson, E. Suchyta, Gabriele Merlo, Julien Dominski, Norbert Podhorszki, Amitava Bhattacharjee, Stephane Ethier, Scott Parker, Frank Jenko, Varis Carey, Ruonan Wang, Pallavi Trivedi, Dave Pugmire, Junyi Cheng, Jeffrey Hittinger, Seung-Hoe Ku, Scott Klasky, Kai Germaschewski, and Jong Youl Choi
- Subjects
Scheme (programming language) ,Physics ,Coupling ,Field (physics) ,Continuum (topology) ,Condensed Matter Physics ,Topology ,Grid ,01 natural sciences ,010305 fluids & plasmas ,Distribution function ,Resampling ,0103 physical sciences ,Enhanced Data Rates for GSM Evolution ,010306 general physics ,computer ,computer.programming_language - Abstract
We present a scheme that spatially couples two gyrokinetic codes using first-principles. Coupled equations are presented and a necessary and sufficient condition for ensuring accuracy is derived. This new scheme couples both the field and the particle distribution function. The coupling of the distribution function is only performed once every few time-steps, using a five-dimensional (5D) grid to communicate the distribution function between the two codes. This 5D grid interface enables the coupling of different types of codes and models, such as particle and continuum codes, or delta-f and total-f models. Transferring information from the 5D grid to the marker particle weights is achieved using a new resampling technique. Demonstration of the coupling scheme is shown using two XGC gyrokinetic simulations for both the core and edge. We also apply the coupling scheme to two continuum simulations for a one-dimensional advection–diffusion problem.
- Published
- 2021