CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   VTK to Foam (https://www.cfd-online.com/Forums/openfoam-meshing/61649-vtk-foam.html)

liugx212 November 28, 2005 01:29

Dear all: I want to use our
 
Dear all:

I want to use our VTK mesh files in openfoam. But my VTKfoam does not work. So I want to write a converter to realize from VTK to foam. Could you please give advice?

Thanks a lot.

bigphil July 1, 2009 07:58

Hi,


I would also like to be able to convert VTK mesh files to OpenFOAM format.

Have you had any success?


Philip

Bertrand October 20, 2010 06:40

.vtk mesh to Foam?
 
Hello,

i am a new user into the wonderful world of OpenFOAM, and I would like to know if you succeeded to transform .vtk mesh into a Foam-readable format?

Best regards,

Bertrand

ashish.svm October 3, 2017 17:54

Any update on this
 
Hi, I am also looking for a code to convert VTK to FOAM. Please post here if there exists a code

Antimony October 3, 2017 21:01

Hi,

There is the vtkUnstructuredGridToFoam utility....

Cheers,
Antimony

ashish.svm October 7, 2017 19:11

Quote:

Originally Posted by Antimony (Post 666490)
Hi,

There is the vtkUnstructuredGridToFoam utility....

Cheers,
Antimony

I could not find that utility, can you please help me to locate it.

Antimony October 8, 2017 22:47

Typo in the name. Should instead read, vtkUnstructuredToFoam

https://github.com/OpenFOAM/OpenFOAM...cturedToFoam.C


And it is present at: applications/utilities/mesh/conversion

ashish.svm October 10, 2017 13:46

Quote:

Originally Posted by Antimony (Post 666945)
Typo in the name. Should instead read, vtkUnstructuredToFoam

https://github.com/OpenFOAM/OpenFOAM...cturedToFoam.C


And it is present at: applications/utilities/mesh/conversion

Thanks. I found it.

Actually, I am using foam extend 3.2 and it does not have the vtkUnstructuredToFoam utility. But I was able to use it from OpenFOAM 4.0 version.

But no cells are generated when I am using this utility. This is generating points, faces etc files which has zero points faces etc.

about my VTK input file: I am confident that my VTK file is accurate because I generated VTK from an openfoam mesh using foamToVTK.

If you have any insight on why vtkUnstructuredToFoam utility is generating blank points, faces etc then please let me know.


All times are GMT -4. The time now is 03:32.