Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Axisymmetric permanent magnet and ferromagnetic shield simulation model and plots
Posted Dec 1, 2023, 2:43 a.m. EST Results & Visualization, Physics Interfaces, User Interface Version 6.1 8 Replies
Please login with a confirmed email address before reporting spam
Hello,
Currently I am trying to simulate, in 2D axisymmetry, a set of 7 ring magnets surrounded by 3 layers of iron and one external layer of mumetal shield. The goal is to optimize the shield in order to get a very low field in the outside area. The results look too good: the field outside the shield is so low that I am wondering if I did something wrong when setting up the MFNC sub-componnents for the different parts of my setup (permanent magnets, soft ferrommagnetic layers, air, axisymmetry, ...). For instance am I correctly using the "Magnetic field conservation" sub-components ? Should everything be set under "Axial symmetry" ? ... Unfortunately, I did not found examples for similar cases, this is why I ask for support and join the Comsol .mph file to this request.
In addition to the above mentioned doubts, I have encountered several annoying problems when adding some plots:
1) In 1D plot group 2 I draw the field modulus along some lines parallel to the Z axis and therefore, instead of the arc length starting at 0 and ending at 60 mm on the abscissa axis, I would like to put the Z value going from -30 to +30 mm. In this way, the 0 on the plot will correspond to the 0 in my setup at the center of the central ring magnet. Unfortunately, I did not figured out how to shift these values easily.
2) On the same plot, I have decided to draw the field not only on the axis, but also on several lines parallel to this axis. For that, when defining the Cut line 2D named "Short Z axis", I checked the box "Additional parallel lines" and used the Range button on the right. If I put positive start, step and stop values, which seems logic, it does not work. After some trials, I figured out that I have to put negative values ? This is really weird.
3) When generating and writing the automatic" report, the figures look really ugly and zooms are not conserved for the individual plots. All the figures are rescaled to the entire figure. The legend fonts are not rescaled as well. All this makes the report kind of useless ... In addition to Microsoft Word format, could there be also a LaTeX format ?
4) If I want to plot data in 2D (surface or contour) in a rectangle with custom dimensions and location, should I use 2D Grid or 2D Array ? I do not understand the difference between these 2.
5) In this simulation, I am interested in the shielding factor, i.e. the ratio of the field with and without the shield layers. Is there a way to get that in a single simulation file or do I need to run 2 different Comsol simulations, export the results and perform some post-analysis in a C++ or Python code ?
6) Finally, there should be a way in comsol to obtain the weights of the shielding layers, but I did not found how to do it.
Thanks a lot for any help,
Gilles
Attachments: