CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[General] vtk example file

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 21, 2006, 20: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, 16: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, 06: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, 10: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, 12: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, 12: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, 13: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


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
[foam-extend.org] problem when installing foam-extend-1.6 Thomas pan OpenFOAM Installation 7 September 9, 2015 21:53
[OpenFOAM.org] Compile OF 2.3 on Mac OS X .... the patch gschaider OpenFOAM Installation 225 August 25, 2015 19:43
[swak4Foam] swak4foam building problem GGerber OpenFOAM Community Contributions 54 April 24, 2015 16:02
Version 15 on Mac OS X gschaider OpenFOAM Installation 113 December 2, 2009 10:23
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 01:24


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