How to visualize top and bottom magnetic layers seperately for a multilayer MuMax3 simulation?

44 views
Skip to first unread message

Chandu Pavanmayi

unread,
Jul 7, 2026, 7:54:42 AMJul 7
to mumax2
Hello everyone,

I am working on a multilayer MuMax3 simulation with the following structure:

- Bottom CoFeSiB: 4 nm
- Non-magnetic spacer: 0.5 nm
- Top CoFeSiB: 4 nm

Simulation parameters:

- Cell size: 2 × 2 × 0.5 nm³
- Grid size: 150 × 150 × 17
- Circular geometry (300 nm diameter)

The simulation runs successfully and generates around 503 OVF files for the complete time evolution.

My supervisor asked me to analyze the magnetization orientation of the top and bottom CoFeSiB layers separately during the entire simulation.

However, when I open the OVF files in MuView, I only see the complete multilayer together and cannot separate the top and bottom magnetic layers.

Is there a way in the MuMax3/MuView workflow to:

1. Visualize only the bottom CoFeSiB layer (layers 0–7)?
2. Visualize only the top CoFeSiB layer (layers 9–16)?
3. Do this for the complete sequence of OVF files (not just a single OVF file)?

For reference:
  -MuMax version :3.10
  - Viewer : MuView 2.2.2

Any guidance or recommended workflow would be greatly appreciated.

Thank you.
      

The information contained in this electronic communication is intended solely for the individual(s) or entity to which it is addressed. It may contain proprietary, confidential and/or legally privileged information. Any review, retransmission, dissemination, printing, copying or other use of, or taking any action in reliance on the contents of this information by person(s) or entities other than the intended recipient is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us by responding to this email or telephone and immediately and permanently delete all copies of this message and any attachments from your system(s). The contents of this message do not necessarily represent the views or policies of BITS Pilani.

Josh Lauzier

unread,
Jul 7, 2026, 5:50:11 PMJul 7
to mumax2
Hi,

Muview has sliders to slice through the magnetization. You can use the slider for the z-direction. You can also use mumax-view, similar to muview, which also has a slider to visualize particular layers.  Alternatively, mumax has the Crop() command, which you can use to only save a selected part of the magnetization. You can find an example of Crop on the examples page under "Slicing and dicing output". mumax3-convert also has a -crop flag, for a similar result.

If you want to automate this for many files (500+), I would start with the Crop() command.

Best,
Josh L.

Chandu Pavanmayi .

unread,
Jul 8, 2026, 1:54:30 AMJul 8
to mum...@googlegroups.com

Thank you for your reply.

I can now use the slicing slider to distinguish the top magnetic layer, the non-magnetic spacer, and the bottom magnetic layer.

I would like to compare the magnetization orientation of the top and bottom magnetic layers separately throughout the simulation.

Is comparing the HSL colors of the two slices the correct approach, or is there a recommended way in MuView to visualize and compare the magnetization orientation of each layer?

Thank you. 

Pavanmayi Chandu 


--
You received this message because you are subscribed to the Google Groups "mumax2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mumax2+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/mumax2/39066562-b6b4-48cb-9986-da60295709adn%40googlegroups.com.

Антон Луценко

unread,
Jul 15, 2026, 4:51:35 AMJul 15
to mumax2
HI, I recommend loading the OVF files into Python/Wolfram/Matlab and process the raw data rather than comparing colors of the images. For Python, Ubermag package (specifically discretisedfield) might be helpful.
Reply all
Reply to author
Forward
0 new messages