ascot4fusion / ascot5

ASCOT5 is a high-performance orbit-following code for fusion plasma physics and engineering
https://ascot4fusion.github.io/ascot5/
GNU Lesser General Public License v3.0
31 stars 9 forks source link

Feature/110 some features to analyze 2d wall loads #112

Closed Otsooni closed 4 months ago

Otsooni commented 4 months ago

Now possible to calculate the heatloads for 2D walls.

Also implemented some plotting routines.

Example: Note: this simulation had only 1 wall hit so nothing cool seen here.

ref_indices allows for checking which point correspond to parametrized contour in the R-z contour

ref_indices = [0,10,20,30,40,50,60,70,80,90,100,110,120,130,140,150,160,170,180,190,200,210,220,230,240,250] a5.data.active.plotwall_2D_contour(ref_indices=ref_indices) a5.data.active.plotwall_2D_parametrized(ref_indices=ref_indices)

Screenshot from 2024-07-04 14-27-25 Screenshot from 2024-07-04 14-28-16