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

VTK to Foam

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   November 28, 2005, 01:29
Default Dear all: I want to use our
  #1
Senior Member
 
Guoxiang
Join Date: Mar 2009
Posts: 109
Rep Power: 10
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
Senior Member
 
bigphil's Avatar
 
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 639
Rep Power: 23
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: 9
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
New Member
 
Ashish Kumar
Join Date: Jun 2015
Posts: 16
Rep Power: 4
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: 313
Rep Power: 7
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
New Member
 
Ashish Kumar
Join Date: Jun 2015
Posts: 16
Rep Power: 4
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: 313
Rep Power: 7
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
New Member
 
Ashish Kumar
Join Date: Jun 2015
Posts: 16
Rep Power: 4
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

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
FEM solver in FOAM Hrvoje Jasak (Hjasak) OpenFOAM 2 March 31, 2013 12:52
VTK to FOAM? Milos Main CFD Forum 0 March 11, 2009 11:57
FOAM CFDtoy Main CFD Forum 5 September 21, 2004 14:09
FOAM luiz Main CFD Forum 1 May 10, 2004 03:21
Foam Chris Rand FLUENT 0 May 4, 2004 04:37


All times are GMT -4. The time now is 13:17.