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

Angle of incidence in wall loads #49

Closed miekkasarki closed 11 months ago

miekkasarki commented 12 months ago

As the title says, this feature is missing. My plan is to implement this in post-processing as the endstate store the marker position(on the wall) and the velocity vector. The angle of incidence is defined with respect to the surface normal, but here we can decide that the normal always points in the same direction as where the marker came. (The other option would be to fix the order in which triangle vertices must be given in input).