hexagon logo

How to convert .ARC files to .VTK

Hello,
 
I would like to know how to convert some .ARC files created in 2013 DYTRAN to a format supported by PARAVIEW in order to postprocess some results.
 
I know there is a converter which can be called with the following sintaxis in CMD:
 
C:\MSC.Software\Dytran\201302\bin\exe\arc2vtk.exe [-ascii] [-vtk] [-nonauto] <archive-file.ARC>
 
But how should I execute it? Do i have to have all my .ARC files in the same location as the arc2vtk.exe?
 
Thanks in advance!
Parents
  • Hi Guys,
    I've found it easier to use the windows Open With... function on a filename_0.ARC file to point to a bat file that will run the converter.
     
    This bat file would point to the exe mentioned above and the %1 to add the file as argument automatically, eg:
     
    C:\MSC.Software\Dytran\201302\bin\exe\arc2vtk.exe %1
     
    Then this can be run on all filename_0.ARC files.
     
    Alternatively if you have python installed, the script attached can be run in a bat file that will find all *_0.ARC files and convert them as well as create a simple paraview script that processes all pvd files and runs the cellDataToPointData filter. If the ARC file has 'Euler' somewhere in its name I also process the FMATPLT isovolume filter afterwards.

    Attached Files (1)
Reply
  • Hi Guys,
    I've found it easier to use the windows Open With... function on a filename_0.ARC file to point to a bat file that will run the converter.
     
    This bat file would point to the exe mentioned above and the %1 to add the file as argument automatically, eg:
     
    C:\MSC.Software\Dytran\201302\bin\exe\arc2vtk.exe %1
     
    Then this can be run on all filename_0.ARC files.
     
    Alternatively if you have python installed, the script attached can be run in a bat file that will find all *_0.ARC files and convert them as well as create a simple paraview script that processes all pvd files and runs the cellDataToPointData filter. If the ARC file has 'Euler' somewhere in its name I also process the FMATPLT isovolume filter afterwards.

    Attached Files (1)
Children
No Data