Hostname: page-component-74656f9884-skzmx Total loading time: 0 Render date: 2026-11-05T11:33:43.041Z Has data issue: false hasContentIssue false

Computational methods for plasma fluid models

Published online by Cambridge University Press:  19 September 2016

G. Fuhr*
Affiliation:
Aix Marseille Univ, CNRS, PIIM, Faculte de Saint Jerome, C631, 13397 Marseille Cedex 20, France
P. Beyer
Affiliation:
Aix Marseille Univ, CNRS, PIIM, Faculte de Saint Jerome, C631, 13397 Marseille Cedex 20, France
S. Benkadda
Affiliation:
Aix Marseille Univ, CNRS, PIIM, Faculte de Saint Jerome, C631, 13397 Marseille Cedex 20, France
*
†Email address for correspondence: guillaume.fuhr@univ-amu.fr
Rights & Permissions [Opens in a new window]

Abstract

Challenges in plasma physics are wide. Investigation and advances are made in experiments but at the same time, to understand and to reach the experimental limits, accurate numerical simulations are required from systems of nonlinear equations. The numerical challenges of solving the associated fluid equations are discussed in this paper. Using the framework of the finite difference discretization, the most widely used methods for the problems linked to the diffusion or advection operators are presented.

Information

Type
Research Article
Copyright
© Cambridge University Press 2016 
Figure 0

Figure 1. Discretization of a function $f(x)$.

Figure 1

Figure 2. Discrete grid used for the function $u(x,t)$.

Figure 2

Figure 3. Relative error in the calculation of $\text{d}\exp (x)/\text{d}x$ as a function of the step size using different-order approximations.

Figure 3

Figure 4. Oscillator motion in $x{-}v$ diagram (phase space) and associated time behaviour of the total energy. The red point corresponds to the initial position velocity.

Figure 4

Figure 5. Solution obtained for the diffusion equation with $N_{x}=256,L_{x}=2\unicode[STIX]{x03C0}$. $\unicode[STIX]{x0394}t=5e{-}4$ for cases (a) and (b) and $\unicode[STIX]{x0394}t=8e{-}4$ for cases (c) and (d).

Figure 5

Figure 6. Speed-up as function of number of processors, using Amdahl’s (a) and Gustafson’s (b) laws.

Figure 6

Table 1. Reference numerical set-up for the resolution of (4.16).

Figure 7

Figure 7. Data storage in memory in a serial implementation, the arrow represent the computation of $u$ at $t+\unicode[STIX]{x0394}t$ in function of $u$ at $t$.

Figure 8

Figure 8. Source profile (a) and initial/final field for numerical simulation (b) of (4.16).

Figure 9

Figure 9. MPI implementation sketching computation from time $t^{n}$ to time $t^{n+1}$.

Figure 10

Figure 10. Speed-up $S(P)$ obtained using MPI implementation. The solid line corresponds to the ideal case ($S(P)=P$) and dashes lines to the measured values for resolutions of 1024 and 2048 points.

Figure 11

Figure 11. Fine-graining method. Arrows indicates scattering and gathering of data between cores through OpenMP directives (4 cores and 16 points are considered here).

Figure 12

Figure 12. Measured speed-up for a fine-graining implementation of OpenMP directives.

Figure 13

Figure 13. Schematic representation of the coarse-graining communication process.

Figure 14

Figure 14. Coarse-graining method.

Figure 15

Figure 15. Speed-up ($S(P)$) for a coarse-graining implementation of OpenMP directives. Solid line correspond to the ideal case and dashed line to measured values.

Figure 16

Table 2. Reference numerical set-up for the resolution of (5.1).

Figure 17

Figure 16. Numerical resolution of advection equation using CD in space for $\unicode[STIX]{x1D70E}=1.5$ with parameters: $N_{x}=512$, $L_{x}=51.2$ and $\unicode[STIX]{x0394}t=1e{-}2$.

Figure 18

Table 3. Analytic expression for function $F(q)$.

Figure 19

Figure 17. Influence on flow direction ($V=-6$ on top and $V=6$ on bottom) on implicit and explicit time schemes (IE and EE) with, forward/backward spatial derivative.

Figure 20

Figure 18. Advection using LW scheme with $V=-6$ (a) and $V=6$ (b).

Figure 21

Figure 19. Stability diagram for IE, EE, CN, RK-2, RK-3 and RK-4 schemes using the absolute stability criterion. A scheme is stable if $|q|\leqslant 1$ which corresponds to the colour range from blue to red. Grey zones correspond to $|q|>1$.

Figure 22

Figure 20. Slice of the absolute stability diagrams for IE, EE, CN, RK-2, RK-3 and RK-4 schemes corresponding to values of $q$ purely imaginary.

Figure 23

Figure 21. Oscillations occurring in the resolution of advection equation ($\unicode[STIX]{x1D70E}=0.5$) for LW (b) and RK-4 (c) schemes.

Figure 24

Figure 22. Numerical resolution of advection equation for $\unicode[STIX]{x1D70E}=0.5$ with WENO scheme and parameters: $N_{x}=512,L_{x}=51.2$, and $\unicode[STIX]{x0394}t=1e{-}2$.

Figure 25

Figure 23. Representation of input functions $\unicode[STIX]{x1D701}$, $\unicode[STIX]{x1D713}$ and calculated Jacobian ($J$) for a mesh size of $512\times 512$ points.

Figure 26

Figure 24. Computed Jacobian with CD (a,c) and Arakawa (b,d) methods for two grid sizes, $64\times 64$ and $256\times 256$.

Figure 27

Figure 25. $R^{2}$ value with respect to exact value of the Jacobian for the 2 schemes, Arakawa and CD.

Figure 28

Figure 26. Arakawa stencils used to ensure conservation of enstrophy and kinetic energy.