Description
- Convert
.savfiles to.np. - In the vicinity of radius
Rof any given pointO: {Ox, Oy, Oz}calculate the mean magnetic fieldB_mean. - Use this vector
B_meanas a plane normalB_n. - Init a new local cylindrical frame with the origin
OandB_nas z-axis. - Plot a 2D-distribution of
B_n,B_r,B_phiin the local coordinate system. - Plot a 2D-distribution of
curl_B_n,curl_B_r,curl_B_phiin the same frame. - Write a python script for paraview, which conviniently visualizes stream tracer of radius
Rat pointOand performs calculation of pipeline above. Then displaying the slicing plane. - Propose a numerical criteria to best choose
Rfor a twisted magnetic fluxBrope.
Use convert.py to convert .sav to .vtk. In file src/sav2vtk.py you can find a function to convert .sav to .np.
Some illustrations given in /assets dir.
.sav file could be downloaded via link Yandex.Drive