Magnetic Field Map (Axisymetric geom)
In this example, we will compute the "ideal" magnetic field produced by a test insert described using MagnetTools format.
1. Running the case
To run this example on MSO4SC portal see this section.
1.1. Magnet Geometry
To get the geometry, you can use:
Edit
Plot the geometry with
|
1.2. Magnet Field
To compute the magnetic field:
B_map --interactive HL-31.d
then enter the data for:
-
Helix input current,
-
Bitter input current,
-
and eventually Supra outsert input current.
and set the ranges for the plot:
-
\(r_0\), \(r_1\),
-
\(z_0\), \(z_1\)
and the number of points in each direction
-
\(n_r\), \(n_z\)
Watchout default unit is set to meter for the position range. |
The result is stored in HL-31_FieldMap.dat
.
On first run, you will need to enter some more parameters before entering the currents and plot ranges data
if you don’t have an On MSO4SC Data Catalogue this file is already included in the dataset. |
For instance using the default current params, you get the following magnetic field \(B_z\) profile along \(Oz\) axis.
There are others usefull options to carry out calculation on list of points and so on.
See here for details.
2. Data files
The data files may be retreived from Data Catalogue. See the dataset HL-31 in Lncmi collection.
The gzipped archive tarball HL-31-ana.tgz
contains all the files needed.