LowFieldBench
In this test case, we consider a polyhelix magnet consisting of 2 helices operated at a low current. The simulations are compared with experimental results, more precisely with magnetic field measurements with a 3D hall probe in the zone of interest for researchers.
The magnetic field produced will be computed on a zone of interest namely a cylinder along the helicesZ-Axis.
1. Running the case
As the CAD generation is time consuming, the mesh is provided but will eventually need to be partitionned. However if you ever want to rebuild the CAD and Mesh you will find detailled instructions bellow.
To run this example on MSO4SC portal see this section.
1.1. Creating the geometry
salome -t $HIFIMAGNET_SALOME_DIR/HIFIMAGNET_Cmd.py args:--cfg=BancMesure_H3H4_with_shapes.yaml,--hideIsolant
1.2. Creating the mesh
salome -t $HIFIMAGNET_SALOME_DIR/HIFIMAGNET_Cmd.py args:--insert=BancMesure_H3H4_with_shapes.yaml,--hideIsolant,--mesh
1.3. Create the zone of interest for the magnetic field calculation and generate corresponding mesh:
gmsh -0 -bin BancMesure_H3H4_with_shapes-biotsavart_z_wo_glue.geo -o BancMesure_H3H4_with_shapes_wo_isolant.msh
The dimensions of the box may be changed in the geo:
Merge "BancMesure_H3H4_with_shapes.med";
hs=5;
rbox = 10;
zbox0 = -45;
zbox1 = 185;
Include "createbox.geo";
2. Data files
4. Notes
the executables must be in the path or should be prefixed with appropriate directories.
For instance on Lncmi server:
FEELPP_MESH_APPS_DIR=$FEELPP_BUILD_DIR/applications/mesh/
HIFIMAGNET_APPS_DIR=~/feelpp_build/new_Json/research/hifimagnet/applications
HIFIMAGNET_SALOME_DIR=~/SALOME-8.3.0-DB9.5/INSTALL/HIFIMAGNET/bin/salome
The coupledcart model is in $HIFIMAGNET_APPS_DIR/CoupledCartModel/