ovf2vtk conversion

445 views
Skip to first unread message

Nishtha Vats (P19PH016)

unread,
Sep 6, 2022, 9:41:16 AM9/6/22
to mumax2
Dear All,

I want to convert ovf to vtk file. I am trying for
https://fangohr.github.io/software/ovf2vtk/index.html, but installer link is not working. 
Please help me through this.

Best regards,
Nishtha

Josh Lauzier

unread,
Sep 6, 2022, 10:36:21 PM9/6/22
to mumax2
Hello,

mumax3-convert has a built in vtk conversion option. Something like 

mumax3-convert -vtk="ascii" filename.ovf

should work. (Also, note that that project is no longer supported as of 2020, and they recommend you move to the 'discretisedfield' package, which is linked on that page)

Best,
Josh L.

Nishtha Vats (P19PH016)

unread,
Sep 7, 2022, 1:47:49 AM9/7/22
to mumax2
Dear Josh,

Also, I tried the 'discretisedfield' package, but it didn't work. Even I tried for mumax3 convert using the above mentioned command, but I am getting some file converted to "vts" and not "vtk".

Felipe Garcia

unread,
Sep 7, 2022, 5:24:09 AM9/7/22
to mumax2
Dear Nishtha,

Vtk is the legacy format. Vts is the new format (or new at a previous time). So it is basically the same and they can be manipulated with the same tools. So there is no problem. That is enough for the standard case but the other tools are more powerful. If you want to find the files for ovf2vtk they are here not in the link you sent https://github.com/fangohr/ovf2vtk


Best regards,
Felipe


--
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 on the web visit https://groups.google.com/d/msgid/mumax2/de81700d-59ff-4b4d-8652-dfef2450cd12n%40googlegroups.com.

Nishtha Vats (P19PH016)

unread,
Sep 7, 2022, 10:05:09 AM9/7/22
to mum...@googlegroups.com
Dear Felipe,

I am interested in 3D morphology, which is why I am converting OVF files to VTK files. My 3D morphology does not appear when I use the mumax3 converter tool and go to paraview. There are many readers available. Which one should I choose?

Best regards,
Nishtha Vats
PhD Research Scholar
Department of Physics
Indian Institute of Technology Jodhpur
NH 65 Nagaur Road, Karwar, 
Jodhpur
Rajasthan 342037 INDIA

Mailtrack Sender notified by
Mailtrack
09/07/22, 07:31:08 PM

Felipe Garcia

unread,
Sep 7, 2022, 11:54:44 AM9/7/22
to mumax2
Dear Nishtha,

Many filters will show you the 3D magnetization. For example Extract Surface, from there what you need is a paraview tutorial. If your geometry is not a cuboid, then you need extra steps.
I tried to describe the steps in the following post: https://groups.google.com/g/mumax2/c/_fjsRoUu4so/m/7KNrysCCAgAJ

Best regards,
Felipe

Nishtha Vats (P19PH016)

unread,
Sep 7, 2022, 2:32:51 PM9/7/22
to mum...@googlegroups.com
Okay. Thank you very much. If I encounter any issues, I will let you know.

Best regards,
Nishtha Vats
PhD Research Scholar
Department of Physics
Indian Institute of Technology Jodhpur
NH 65 Nagaur Road, Karwar, 
Jodhpur
Rajasthan 342037 INDIA

Mailtrack Sender notified by
Mailtrack
09/08/22, 12:01:23 AM

Nishtha Vats (P19PH016)

unread,
Sep 7, 2022, 2:41:30 PM9/7/22
to mum...@googlegroups.com
PFA reader list. I am trying spherical morphology. But I didn't find any extract reader or calculator reader in it.

image.png


Best regards,
Nishtha Vats
PhD Research Scholar
Department of Physics
Indian Institute of Technology Jodhpur
NH 65 Nagaur Road, Karwar, 
Jodhpur
Rajasthan 342037 INDIA

Mailtrack Sender notified by
Mailtrack
09/08/22, 12:09:52 AM

Felipe Garcia

unread,
Sep 8, 2022, 3:57:53 PM9/8/22
to mumax2
Dear Nishtha,

I think you have renamed the vts file to vtk extension. Why have you done that? Paraview then realizes that you are trying to open a file with the wrong extension. First, one opens the file and then one applies filters that are different operations and procedures on the existing file. Extract surface or calculator are filters.

Best regards,
Felipe


Reply all
Reply to author
Forward
0 new messages