I have tried to simulate the hysteresis loop for the exchange spring structure using Mumax3. I have already simulated the hysteresis loop for the conventional bilayer soft-hard structure. Please find the code (given in the link below) I used for the simulation and the hysteresis loop obtained from the simulation, which clearly shows two different coercivities from soft and hard layers, respectively. Hope, this code is correct. Please let me know if you found anything wrong in the code.
However, our experimental system is quite different from the conventional soft-hard structure. This system will also be a bilayer system like the conventional system. Additionally, we need to introduce the geometry as the following image (image-1.png) attached in the enclosure, where both the shaded black and the unshaded blank regions are magnetic. However, the magnetic properties of the two regions are different, i.e., the shaded black region is hard-magnetic, and the blank white region is soft-magnetic with OOP and IP anisotropy, respectively.
Now, what I faced the problem is that, while I set the hard magnetic properties in the figure, the rest of the image is still blank! Instead, I want to assign the blank portion as soft magnetic properties. As the unshaded portion is blank, I am not getting the required result! I am stuck at defining such nonconventional complex geometry.
Link for the codes and the image: https://drive.google.com/drive/folders/1-ZVRwPAsAl_pI506m29PVqepNwdntZmw?usp=sharing
Could you please let me know where I should modify the code for the nonconventional system?