Hi all,
I am working on a permanent magnet or Halbach array simulation. I created a 3D model in COMSOL and saved it as MATLAB file. The magnets are rectangular blocks and now I wanted to include discrete rotations and slight motions in order to simulate the different magnetic field configurations in the centre. If I use the MATLAB code, I noticed that for material properties domain numbers are assigned not visible in COMSOL. For instance, as illustration, Magnet 24 in array A has the domain number 135. Again it was assigned by COMSOL and I don't know how it was done. This domain number is used to assign to magnetic properties to this particular magnet 24 in array A. However, if I rearrange the magnets even slightly, Magnet 24 in array A has a different domain number, and the magnetic properties (which is connected to the domain number) is incorrect.
Does anyone have a similar problem, or any idea how to assign a domain number to the object?
Regards
Michael
I am working on a permanent magnet or Halbach array simulation. I created a 3D model in COMSOL and saved it as MATLAB file. The magnets are rectangular blocks and now I wanted to include discrete rotations and slight motions in order to simulate the different magnetic field configurations in the centre. If I use the MATLAB code, I noticed that for material properties domain numbers are assigned not visible in COMSOL. For instance, as illustration, Magnet 24 in array A has the domain number 135. Again it was assigned by COMSOL and I don't know how it was done. This domain number is used to assign to magnetic properties to this particular magnet 24 in array A. However, if I rearrange the magnets even slightly, Magnet 24 in array A has a different domain number, and the magnetic properties (which is connected to the domain number) is incorrect.
Does anyone have a similar problem, or any idea how to assign a domain number to the object?
Regards
Michael