Please login with a confirmed email address before reporting spam
Posted:
2 years ago
20 apr 2023, 03:36 GMT-4
Updated:
2 years ago
20 apr 2023, 03:45 GMT-4
You just need to add a Magnet node to your physics, and then use a user defined magnetisation, as shown in the attached file (v6.1), where I have defined the magnetisation with a unit vecor (1,0,0).
If your a plan on looking at how the field changes as the magnet rotates about it's axis, you can use a trigonometric function in the magnetisation definition based on a rotation angle that you can parameterise, for example a unit vector defined as (sin(theta), cos(theta),0). A parametric sweep in this instance will simply rotate the magnetisation and will not require re-meshing for each solution, (much quicker than physically rotating your domain, which would require the mesh to be generated for each solution).
In theory, as your geometry is symmetric, the on axis field would rotate exactly with the magnetisation rotation, and deviation from the ideal can be considered as a model error, which you could minimise by refining your mesh. If your point of interest is slightly off axis, then you would see the "real" error. You want to make sure that the model error is sufficiently smaller than the real error you are looking to determine.
You just need to add a Magnet node to your physics, and then use a user defined magnetisation, as shown in the attached file (v6.1), where I have defined the magnetisation with a unit vecor (1,0,0).
If your a plan on looking at how the field changes as the magnet rotates about it's axis, you can use a trigonometric function in the magnetisation definition based on a rotation angle that you can parameterise, for example a unit vector defined as (sin(theta), cos(theta),0). A parametric sweep in this instance will simply rotate the magnetisation and will not require re-meshing for each solution, (much quicker than physically rotating your domain, which would require the mesh to be generated for each solution).
In theory, as your geometry is symmetric, the on axis field would rotate exactly with the magnetisation rotation, and deviation from the ideal can be considered as a model error, which you could minimise by refining your mesh. If your point of interest is slightly off axis, then you would see the "real" error. You want to make sure that the model error is sufficiently smaller than the real error you are looking to determine.