Multi-Static Kinematic Model of Magnets Error
Hello
I am new to Altair Flux and I am trying to plot a torque-deflection curve for the following permanent disc magnet arrangement:
(Note: Infinite box is hidden)
Where:
-The two magnets inside the yellow boxes rotate about the centreline shown in the LHS screenshot above
-The yellow boxes are the mobile air regions that the two magnets move through
-The four magnets outside of these regions are fixed and interact with the rotating ones to generate a torque
I have used the rotating motion tutorial shown below to help set this simulation up (adjusting it as best as I can for the model differences):
I followed this as closely as I could when I set up my model
When I try to solve the simulation, I get the following error:
(Note: For each line that reference geometrical features, I have highlighted them in the model on the RHS)
For the faces referenced below:
- Nothing on the model is highlighted when I select them
- I cannot delete them because of their usages
- They are all used with lots of features (FaceElements, Nodes, Triantops, a few volumes), which is confusing as I cannot see them on the model or infinite box
This is most of the advanced error info:
<?xml version="1.0" encoding="UTF-8"?>
From looking at the information provided, does anyone know what I could be doing wrong to cause these errors?
I can provide additional information if required
Thank you in Advance
Rory
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
Answers
-
Hello,
The problem here is in the mechanical set definition, I guess you have defined your magnets in yellow as a rotating mechanical set and magnets in purple as fixed and you do not have defined the yellow box of air as compressible.
In order to solve your project, you need to define a mechanical set compressible and assign it to the yellow box of air. This is the way to that the yellow air area must be remeshed each time step, otherwise Flux will not be able to consider the movement.
Hope this helps.
Best regards.
P.S: The method shown in the tutorial does not work in your case because, in the tutorial, there exists a sliding surface (i.e., the border between moving and fixed part is a well-defined revolution surface. That quality makes the remeshing unnecesary), which is not your case.
0 -
Hello,
*Edit: Original reply deleted as I fixed the error I asked about*
Thank you for such a quick response.
I created a compressible mechanical set, applied it to the yellow volume and re-ran the simulation.
The simulation has run, but when I try to plot the Torque Deflection Curve (Using the tutorial mentioned above as a guide), I get this:
<?xml version="1.0" encoding="UTF-8"?>
This is not correct as the curve should like this (With a bit more of a linear gradient near the 0,0):
I believe I have either set the simulation up wrong, or defined the curve incorrectly. This is how I defined the curve plot:
<?xml version="1.0" encoding="UTF-8"?>
- I used the mobile magnets as the region as I am looking for the torque applied to the moving part of the assembly
This is what the Br arrows look like on the solution:
- I'm not sure if this is correct, so it may be an issue with how I set up the simulation
If there is anything you could do to advise on this, I would appreciate it
Thank you for your help
Rory0 -
Hello,
You are welcome.
I advise you to check your magnets orientation, you have defined their Br following x axis but, seeing your geometry, it seems more likely to me that Br orientation follows z axis. You can update the orientation through the menu physics -> Material -> Orient material for volume region.
Regarding magnetic torque, the best way to obtain it is to represents the global torque of the mechanical set: Curve-> 2D curve (I/O parameter)-> new 2D curve and then to define the formula select the mechanical set option (see the image attached).
Hope this helps.
Best regards.
Alejandro
0 -
Hello,
Thank you again for the help, I really appreciate the time you are putting into helping me.
When changing the orientation of the material, I cannot find an option that clearly sets it to being in the z-axis:
- Im not sure which of the options above I should be using
I played around with a few of them and i could never get the flux lines to go in the z-axis, they either go in the y (Shown below) or the x:
- Also, from this image, you can see that the rotating magnet has collided with two of the static magnets (and it's rotated in another axis as well)
- I have defined the rotation so that its only about the centreline shown above and shouldn't touch the static magnets
- Does this indicate that I have set up the simulation incorrectly?
- If so, do you have any idea what I've done wrong?
Which one do I need to use? Also, are their any other parameters that need their coordinate systems redefined to match the materials?
In regards to your second point about plotting the torque deflection curve, as the image you shared was low resolution, I guessed at what exactly you meant. Is the image below correct for setting up the 2D curve you described?
<?xml version="1.0" encoding="UTF-8"?>
Again, thank you for all your help with this
Kindest regards
Rory
0 -
Hi,
Sorry for my late answer.
Please, find below the answer to your questions.
- · To define the magnet orientation along z axis, stablish the orientation variables as shown in the image. In fact, it is a matter to choose the proper coordinate system and angle. You can also represent your Br orientation before resolution through the menu Physics -> Display arrows on magnet.
- · This type of collision should not be possible. If I have understood correctly, your magnets are moving inside the air region (in yellow). Your magnets must remain inside this region at any time, this will automatically avoid collision with the external (fixed) magnets. Please, check your mechanical set options and the time instant you are simulating in your scenario and make sure your air region is compressible and not part of the moving mechanical set.
- · Sorry for the low quality of my image in the previous post. You are right, the best way to represent the torque of the moving part is the formula TorqueElecMag(MOBILE).
Best regards,
Alejandro
0 -
Hi Alejandro
Thank you, I have managed to set up the magnetic fields and the fixed the rotation of the magnets thanks to your help. Please see below:
- White arrows are from the two moving magnets
- Purple arrows are from the static magnets
I have plotted a torque deflection curve using the method you described, but I still get this:
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
- I have also tried plotting the Torque curves of the regions of the two rotating magnets, that has produced the same curve as above
- I have orientated the magnetic fields so that the four static magnets always repel the two rotating ones, regardless of its position.
- So the torques on each magnet should not be cancelling each other out
I'm unsure of what I'm doing wrong, are there other ways of plotting this?
Many Thanks
Rory
0 -
Hi Rory,
The way you are representing the torque is correct, and it seems that now you have a proper mechanical set definition.
From these images, I do not know exactly what the problem is. It seems quite probable that the torque generated by the right moving magnet is cancelled by the left one.
I am sorry, but the only way to help you further is to have your project to work on it, if you want to share it.
Hope this helps
Best regards,
Alejandro
0 -
Hello Alejandro,
I have tried inverting the field directions of the magnets on one side of the rotation and the torque deflection curve still does not plot
Please see attachment for my project folder, please have a look if you can
Thanks for your help
Rory
0 -
Hello Rory,
The problem was completely different that I have imagined.
Actually, it was a geometrical problem, the moving magnets volumes were not assembled with the air volumes, that means that these magnets did not 'see' the rest of the geometry from a magnetic point of view. In other words, these magnets were completely isolated. I do not know the source of this problem, but it is likely something related with geometry import or the geometry treatment in the modeler.
I have corrected this problem and now you are having more coherent results. Please, find the corrected project attached.
Good luck with your research!
Best regards,
Alejandro
0 -
Hello Alejandro,
Thank you again for the help!
- I ran the simulation and found that the torque deflection curve was not what I was expecting.
- I changed the model so that the compressible region contains all the magnets (not just the rotating ones)
- Original compressible region:
- Modified Compressible region:
- I assembled all the volumes within the compressible area (Like you described in your previous reply)
- I ran the simulation again and got good looking results!
- However, I noticed these errors:
- 'The region MAGNET_ROTATING_LEFT.....' error repeats itself a lot (for each iteration I think)
- I tried re-assigning the region to volume 7 (Compressible region on the right), but that has not worked
- I have attached the new version of the project file (I deleted the results as the file was too large)
Please can you have a quick look through it (and solve the solution again to see the error messages) to see where this error is coming from?
Many Thanks
Rory
0