CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   ParaView (http://www.cfd-online.com/Forums/paraview/)
-   -   vtk example file (http://www.cfd-online.com/Forums/paraview/12730-vtk-example-file.html)

Harish December 21, 2006 21:26

vtk example file
 
Can someone send me a sample vtk data file for a two dimensional structured grid with scalar data.

My email id is harish.gopalan@gmail.com

Thanks


simone December 24, 2006 17:34

Re: vtk example file
 
hi there harish, I am looking for the same thing; could you forward it to me once someobody sends it to you? thanks a lot,

regards

simone marras

rt December 25, 2006 07:51

Re: vtk example file
 
hi harish and simone,

i don't has that, but propuse to write it yourself instead of waiting for somebody, it is very simple task. It is needed to look at vtk file format document, you can download it from this link:

http://www.vtk.org/pdf/file-formats.pdf

also look at vtk data files probably you can find it here (http://www.vtk.org/files/release/5.0/vtkdata-5.0.2.zip)


simone December 25, 2006 11:18

Re: vtk example file
 
hi everyone, i actually wrote it myself, becaus eas you said, it is quite easy but i dont understand why i can only view the external contour profile of ym domain and no the actual grid. Anyway, if the file i write is correct, I might be using the software in the wrong way. Ill post mine onc ei get it to work properely,

regards and thanks

simone

rt December 25, 2006 13:42

Re: vtk example file
 
do you use your in-house vtk code or vtk based software such as paraview?

if you use your in-house vtk application, you can directly import and manipulate your data witouth writing vtk file (i use this option), also vtk has some class for import/export of data of some software such as ensight, fluent, ... (look at help).

Harish December 25, 2006 13:52

Re: vtk example file
 
Thanks for the link.I wrote it myself and used mayavi to view it instead of the vtk toolkit.

Regarding viewing grid it was very simple in mayavi.

-h

simone December 25, 2006 14:15

Re: vtk example file
 
im using paraview, and im afraid that is the problem. The file is wirtten like explained in the file format documentation

thank you again

s.


All times are GMT -4. The time now is 21:30.