unknown header:#oommf ovf 2.0

10 views
Skip to first unread message

Natalie

unread,
Dec 11, 2025, 1:12:28 AM (yesterday) Dec 11
to mumax2
I have created a 3D irregular polycrystalline structure based on Voronoi and added two layers of grain boundary phases, but this type of error occurs when I import the file.When i use  regions.LoadFile("double_boundary_mumax.ovf") ,it occurs error.  How should I solve this problem? Thank you all.



Josh Lauzier

unread,
Dec 11, 2025, 3:12:33 AM (yesterday) Dec 11
to mumax2
Hi,

Please post the script and OVF file, as it makes it easier to diagnose. That error likely means you have a typo somewhere in the header file, that doesn't match the OVF formatting.

In general, the quickest way to find this error would be to generate an OVF file (using a script with the same mesh details), and compare the headers. If you happen to be on Windows in particular and nothing seems to be mismatched, be very careful about hidden characters (usually newline) which can cause issues.

Best,
Josh L.
Reply all
Reply to author
Forward
0 new messages