my question is simple, in openfoam we have the function foamToVTK which creates vtk files for each timestep of the solution.

Now I have a huge VTK tar file (has atleast 100 timesteps), i have system 0 and constant folders can we convert those vtk files back to time folders?


As of today, there is no officially released functionality in OpenFOAM versions that converts VTK data to OpenFOAM grid data. Yet, a heuristically written python script was provided for such purposes: herein.

| cite | improve this answer | |
  • $\begingroup$ Good stuff, I don't need it anymore but I will try it out. $\endgroup$ – fedvasu Aug 10 '17 at 21:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.