Download Poisson Equation Solver Parallelisation for Particle-in

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Document related concepts

Phase transition wikipedia , lookup

Transcript
PODOLNÍK ET AL.: POISSON SOLVER PARALLELISATION
A: Charge density
B: UMFPACK result
C: Difference using HSL
900
0.3
900
800
0.25
800
700
0.2
700
600
0.15
600
500
0.1
400
0.05
400
−1.5
300
0
300
−2
200
−0.05
200
100
−0.1
100
200
400 600
z [cells]
800
D: Difference using MUMPS−C
0
−1
−2.5
200
−13
400 600
z [cells]
800
E: Difference using MUMPS−D
x 10
2
−2
500
−3
400
−4
300
−5
200
−6
−7
200
e
−13
400 600
z [cells]
800
F: Difference using PARDISO
x 10
0
−2
600
500
−4
400
y [cells]
y [cells]
400
−1
600
∆V [kT ]
e
−13
x 10
0.5
900
800
−2
−4
0
700
−3
V [kT ]
700
500
1
800
2
0
600
900
100
900
700
y [cells]
y [cells]
−0.5
500
n [e]
900
800
−10
x 10
0.5
y [cells]
y [cells]
0.35
800
0
700
−0.5
600
−1
500
−1.5
400
−2
300
−6
200
300
−6
200
−8
100
200
400 600
z [cells]
800
∆V [kT ]
e
300
−2.5
200
−8
100
200
400 600
z [cells]
800
∆V [kT ]
e
−3
100
200
400 600
z [cells]
800
−3.5
∆V [kT ]
e
Figure 2. (A) Charge density used to provide the right hand side for equation (2); (B)
UMFPACK reference result potential; (D–F): Differences from the result potential; All figures
represent the result of the scenario B.
Testing case
The testing case was modelled after a typical scenario simulated with the SPICE2 code
— the geometry and plasma parameters were taken from the setup used for the study the
effect of shaped plasma-facing components that was carried out for the TEXTOR group. The
results provided comparison for the experiment performed at DIII-D tokamak [Litnovsky et al.,
2014]. The geometry and dimensions are shown in Figure 1. Plasma parameters were set to
Te = 15 eV, ne = 1.3 × 1018 m−3 , Ti /Te = 2. Magnetic field of magnitude B = 1.9078 T1 and
inclination α = 3 ◦ was superimposed over the region. This has resulted in base grid dimensions
of 445 × 505 cells (scenario A) and subdivided grid dimensions of 873 × 991 cells (scenario B).
The value of charge density ρ (2) was taken from the final output of DIII-D simulation and is
shown in Figure 2 (panel A).
Scaling results
Following the implementation of all solvers, the accuracy run was done to prove their
usability. It has been found that the results are in acceptable agreement with the reference
case (Figure 2). The magnitude of the difference caused probably by rounding error is below
10−9 kTe .
The time consumption scan was performed for up to 128 processes. Two scenarios were
tested on Abacus cluster to provide a comparison for scaling with the problem size. The results
are proportional to matrix dimensions and they show similar tendencies in the dependency on
the degree of parallelisation. HELIOS cluster was used to enhance the range of the scan up to
1
Precise value provided by the TEXTOR group.
235