A methodology for the rigorous verification of plasma simulation codes

COFFEE_KLATCH · Invited

Abstract

The methodology used to assess the reliability of numerical simulation codes constitutes the Verification and Validation (V\&V) procedure. V\&V is composed by two separate tasks: the verification, which is a mathematical issue targeted to assess that the physical model is correctly solved, and the validation, which determines the consistency of the code results, and therefore of the physical model, with experimental data. In the present talk we focus our attention on the verification, which in turn is composed by the code verification, targeted to assess that a physical model is correctly implemented in a simulation code, and the solution verification, that quantifies the numerical error affecting a simulation. Bridging the gap between plasma physics and other scientific domains, we introduced for the first time in our domain a rigorous methodology for the code verification, based on the method of manufactured solutions, as well as a solution verification based on the Richardson extrapolation [Riva \emph{et al.}, Phys. Plasmas \textbf{21}, 062301 (2014)]. This methodology was applied to GBS [Ricci \emph{et al.}, Plasma Phys. Controlled Fusion \textbf{54}, 124047 (2012), Halpern \emph{et al.}, J. Comp. Phys. \textbf{315}, 388 (2016)], a three-dimensional fluid code based on a finite difference scheme, used to investigate the plasma turbulence in basic plasma physics experiments and in the tokamak scrape-off layer. Overcoming the difficulty of dealing with a numerical method intrinsically affected by statistical noise, we have now generalized the rigorous verification methodology to simulation codes based on the particle-in-cell algorithm, which are employed to solve Vlasov equation in the investigation of a number of plasma physics phenomena.

Authors

  • Fabio Riva

    \'Ecole Polytechnique F\'ed\'erale de Lausanne (EPFL), Swiss Plasma Center (SPC), CH-1015 Lausanne, Switzerland