CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Other] VTK to Foam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 28, 2005, 00:29
Default VTK to Foam
  #1
Senior Member
 
Guoxiang
Join Date: Mar 2009
Posts: 109
Rep Power: 17
liugx212 is on a distinguished road
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.
liugx212 is offline   Reply With Quote

Old   July 1, 2009, 07:58
Default
  #2
Super Moderator
 
bigphil's Avatar
 
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,089
Rep Power: 34
bigphil will become famous soon enoughbigphil will become famous soon enough
Hi,


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

Have you had any success?


Philip
bigphil is offline   Reply With Quote

Old   October 20, 2010, 06:40
Default .vtk mesh to Foam?
  #3
New Member
 
Bertrand Delvaux
Join Date: Apr 2010
Posts: 29
Rep Power: 16
Bertrand is on a distinguished road
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
Bertrand is offline   Reply With Quote

Old   October 3, 2017, 17:54
Default Any update on this
  #4
Member
 
Ashish Kumar
Join Date: Jun 2015
Posts: 33
Rep Power: 10
ashish.svm is on a distinguished road
Hi, I am also looking for a code to convert VTK to FOAM. Please post here if there exists a code
ashish.svm is offline   Reply With Quote

Old   October 3, 2017, 21:01
Default
  #5
Senior Member
 
Join Date: Aug 2013
Posts: 407
Rep Power: 15
Antimony is on a distinguished road
Hi,

There is the vtkUnstructuredGridToFoam utility....

Cheers,
Antimony
Antimony is offline   Reply With Quote

Old   October 7, 2017, 19:11
Default
  #6
Member
 
Ashish Kumar
Join Date: Jun 2015
Posts: 33
Rep Power: 10
ashish.svm is on a distinguished road
Quote:
Originally Posted by Antimony View Post
Hi,

There is the vtkUnstructuredGridToFoam utility....

Cheers,
Antimony
I could not find that utility, can you please help me to locate it.
ashish.svm is offline   Reply With Quote

Old   October 8, 2017, 22:47
Default
  #7
Senior Member
 
Join Date: Aug 2013
Posts: 407
Rep Power: 15
Antimony is on a distinguished road
Typo in the name. Should instead read, vtkUnstructuredToFoam

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


And it is present at: applications/utilities/mesh/conversion
Antimony is offline   Reply With Quote

Old   October 10, 2017, 13:46
Default
  #8
Member
 
Ashish Kumar
Join Date: Jun 2015
Posts: 33
Rep Power: 10
ashish.svm is on a distinguished road
Quote:
Originally Posted by Antimony View Post
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.
ashish.svm is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
error with reactingFoam BakedAlmonds OpenFOAM Running, Solving & CFD 4 June 22, 2016 02:21
[blockMesh] error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Meshing & Mesh Conversion 2 March 14, 2012 09:56
[blockMesh] BlockMesh FOAM warning gaottino OpenFOAM Meshing & Mesh Conversion 7 July 19, 2010 14:11
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 14:00
[Gmsh] Import gmsh msh to Foam adorean OpenFOAM Meshing & Mesh Conversion 24 April 27, 2005 08:19


All times are GMT -4. The time now is 01:48.