Converting results to ParaView format

ParaView doesn’t support CalculiX’s results (.frd) files but there are several converters to .vtk format available:

  1. FreeCAD:
    a) Import the .frd file
    b) Select the Results object in the tree
    c) Export to .vtk
    note: FreeCAD’s FEM module currently displays results in SI(m) unit system and the conversion will also write the results in this unit system

  2. GitHub - calculix/ccx2paraview: CalculiX to Paraview converter (frd to vtk/vtu). Makes possible to view and postprocess CalculiX analysis results in Paraview. Generates Mises and Principal components for stress and strain tensors.
    a) Open the command line (cmd) and use the following command: pip3 install numpy vtk
    b) Download the newest release of the converter from the aforementioned repository
    c) Unpack the files, place the .frd file in the same folder as the one with ccx2paraview.py and other converter’s files
    d) Open the command line in this directory and use: python3 ccx2paraview.py file_name.frd vtk

  3. CalculiX results 'frd' to Paraview 'vtk' converter - FreeCAD Forum
    a) Download the executable from the Google Drive
    b) Place the .frd file in the same folder as the one with mmh_ccx2vtk.exe
    c) Open the command line in this directory and type: mmh_ccx2vtk file_name.frd

7 Likes

Thanks for this helpul tip!
I have trouble saving the post processing done in paraview. When I “Safe Data” as vtk and reopen the file, all the filters I had applied are no longer there.

What am I doing wrong?

Use “Save State” instead and then “Load State”.

Thanks for the hint.
Sadly, when I try to load state I get an error…


Any ideas?

Maybe file path contains some invalid characters. But it’s better to ask here: https://discourse.paraview.org/c/paraview-support/7

The path was the issue, thanks for the advice!

Is there any way to export node sets and element sets defined in Prepomax to Paraview ‘vtk’ along side the results?

Dear FEAnalyst,
let me first thank you and Matej for the outstanding work you are doing: Prepomax is getting really a professional tool. I have a small suggestion, out of the many I’m sure you receive everyday. Since now prepomax supports time harmonic analysis alongside multiple steps analysis, it seems to me that converting frd to vtk and getting advantage of the also outstanding Paraview, FreeCAD is no longer adequate, for it is unable to deal with many steps at once: Namely, you need to convert one step at a time, if I am not mistaken. Wouldn’t it be the right time to implement a streamline conversion button (which may call ccx2paraview) ? Is it troublesome to set up? Thank you, Andrea

1 Like

I am not using ParaView for post-processing CalculiX results, and I am unfamiliar with the ccx2paraview tool. However, once the PrePoMax imports the results, the ccx2paraview tool will not help anymore since all results are stored in a different format. Exporting the data is not hard, but it requires time.