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.
GNU General Public License v3.0
84 stars 18 forks source link

Include real timesteps by apendding .pvd file #5

Closed dai-zijian closed 4 years ago

dai-zijian commented 4 years ago

Hello. Thank you for your nice work. I notice that in the converted .vtu files, there is no real timesteps, only seriers like [0,1,2,3...]. However this can be solved by by apendding one .pvd file like this: <VTKFile type="Collection" version="0.1" byte_order="LittleEndian"> <Collection> <DataSet timestep="0.01" file="tank.01.vtu"/> <DataSet timestep="0.02" file="tank.02.vtu"/> <DataSet timestep="0.03" file="tank.03.vtu"/> </Collection> </VTKFile> which 0.01,0.02,0.03 are real timesteps. How about inplenting auto generation of this .pvd file into code?

imirzov commented 4 years ago

Thank you for this elegant solution! Now it's implemented. Please, test the source code on your data.

dai-zijian commented 4 years ago

image It works now. Thank you for your quick response!!