Ccx2paraview converter for large FRD files

Dear CalculiX users,

I’ve improved ccx2paraview converter to process FRD files increment by increment, which makes possible to process really big results files. Before making a new release it would be good to test the converter on some FRD files bigger than 1 GB. Unfortunately, I do not have such a big model. Please, if you have, could you share your huge FRD? Thank you in advance.

The code is here:

Related issue:

2 Likes

Hi imirzov,

first, thanks for your work on the converter. It is really helpful.

I tried the new version, but I get an error message when loading the PVD file. The individual VTU files look ok though.

What I like is that the individual time steps are now processed one after the other, so you can see the progress. However, the total conversion time is a bit longer (in my test case with a nearly 800MByte file from 14 minutes to 20 minutes).

This is the error message:

ERROR: In C:\bbd\ecd3383f\build\superbuild\paraview\src\ParaViewCore\VTKExtensions\Default\vtkXMLCollectionReader.cxx, line 444
vtkPVDReader (0000021BFAA6E270): Could not determine the data type for the first dataset. Please make sure this file format is supported.

ERROR: In C:\bbd\ecd3383f\build\superbuild\paraview\src\VTK\Common\ExecutionModel\vtkExecutive.cxx, line 782
vtkPVCompositeDataPipeline (0000021BFF548700): Algorithm vtkPVDReader(0000021BFAA6E270) returned failure for request: vtkInformation (0000021B91025380)
Debug: Off
Modified Time: 324273
Reference Count: 1
Registered Events: (none)
Request: REQUEST_DATA_OBJECT
FORWARD_DIRECTION: 0
ALGORITHM_AFTER_FORWARD: 1

ERROR: In C:\bbd\ecd3383f\build\superbuild\paraview\src\ParaViewCore\VTKExtensions\Default\vtkXMLCollectionReader.cxx, line 444
vtkPVDReader (0000021BFAA6E270): Could not determine the data type for the first dataset. Please make sure this file format is supported.

ERROR: In C:\bbd\ecd3383f\build\superbuild\paraview\src\VTK\Common\ExecutionModel\vtkExecutive.cxx, line 782
vtkPVCompositeDataPipeline (0000021BFF548700): Algorithm vtkPVDReader(0000021BFAA6E270) returned failure for request: vtkInformation (0000021B91025380)
Debug: Off
Modified Time: 324273
Reference Count: 1
Registered Events: (none)
Request: REQUEST_DATA_OBJECT
FORWARD_DIRECTION: 0
ALGORITHM_AFTER_FORWARD: 1

ERROR: In C:\bbd\ecd3383f\build\superbuild\paraview\src\ParaViewCore\VTKExtensions\Default\vtkXMLCollectionReader.cxx, line 444
vtkPVDReader (0000021BFAA6E270): Could not determine the data type for the first dataset. Please make sure this file format is supported.

ERROR: In C:\bbd\ecd3383f\build\superbuild\paraview\src\VTK\Common\ExecutionModel\vtkExecutive.cxx, line 782
vtkPVCompositeDataPipeline (0000021BFF548700): Algorithm vtkPVDReader(0000021BFAA6E270) returned failure for request: vtkInformation (0000021B91025380)
Debug: Off
Modified Time: 324273
Reference Count: 1
Registered Events: (none)
Request: REQUEST_DATA_OBJECT
FORWARD_DIRECTION: 0
ALGORITHM_AFTER_FORWARD: 1

1 Like

You may want to try CalculiX Extras by Dr. Gustafson:

Hi Nobody-86,

Thank you for testing PVD files. Yep, I’ve found a mistake in a function exporting the PVD. Now it is fixed - you can use the code by the same URL above.

Yes, unfortunately, processing time is now approximately 30% longer. But I believe it could be slightly optimized. To accomplish this task I need your 800 MB file. Please, can you share it?

Hi @imirzov , attached a 3 GB .frd result file from a no lineal analysis (bolt preloading + internal pressure, with plastic material, 20 increments total). CalMED took 5 minuts to convert to .rmed result (compatible with Paraview)

cylinder_lr

1 Like

To accomplish this task I need your 800 MB file. Please, can you share it?

I could share the model, however I don’t know where to upload such a large amount of data.

Dear @SergioP, thank you for sharing the model!
It took 28.5 minutes to convert you FRD to both VTK and VTU with ccx2paraview on my laptop. I will try to improve the algorithm. While converting your file I’ve got a few ideas :slight_smile:

1 Like