Dear Sir,
This problem stems from the situation that will be encountered in reality. Especially in the surface of thin films, there are irregular domains, just like the image shown.
In this case, I want to set the magnetization for different areas (different color blocks).
So how can we define these irrgular regions and fields in our simulation?
Any help will be really appreciated.
Hi @Andyuch, you could do this using additional (Python) packages as follows.
Create an image (or a series of images for a 3d sample) with an external program to define the different regions (so grey-scale would be good) and save as png.
Use one of the standard Python image libraries (e.g. imageio or PIL) to load the image and convert it into a numpy array.
Use this array to select the different parts of the mesh to initialise the magnetisation as desired.
Dear Sir, This problem stems from the situation that will be encountered in reality. Especially in the surface of thin films, there are irregular domains, just like the image shown. In this case, I want to set the magnetization for different areas (different color blocks).
So how can we define these irrgular regions and fields in our simulation? Any help will be really appreciated.