CFD Online URL
[Sponsors]
Home > Forums > ParaView

vtk example file

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

Reply
 
LinkBack Thread Tools Display Modes
Old   December 21, 2006, 21:26
Default vtk example file
  #1
Harish
Guest
 
Posts: n/a
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

  Reply With Quote

Old   December 24, 2006, 17:34
Default Re: vtk example file
  #2
simone
Guest
 
Posts: n/a
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
  Reply With Quote

Old   December 25, 2006, 07:51
Default Re: vtk example file
  #3
rt
Guest
 
Posts: n/a
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)

  Reply With Quote

Old   December 25, 2006, 11:18
Default Re: vtk example file
  #4
simone
Guest
 
Posts: n/a
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
  Reply With Quote

Old   December 25, 2006, 13:42
Default Re: vtk example file
  #5
rt
Guest
 
Posts: n/a
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).
  Reply With Quote

Old   December 25, 2006, 13:52
Default Re: vtk example file
  #6
Harish
Guest
 
Posts: n/a
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
  Reply With Quote

Old   December 25, 2006, 14:15
Default Re: vtk example file
  #7
simone
Guest
 
Posts: n/a
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.
  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
c++ libraries and solver compiling vaina74 OpenFOAM Installation 13 February 3, 2012 18:43
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found piprus OpenFOAM Installation 22 February 25, 2010 14:43
Version 15 on Mac OS X gschaider OpenFOAM Installation 120 December 2, 2009 11:23
Paraview command not found hardy OpenFOAM Paraview & paraFoam 7 September 18, 2008 05:59
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 02:24


All times are GMT -4. The time now is 18:59.