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

[General] File format for Paraview

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 18, 2012, 04:48
Smile File format for Paraview
  #1
New Member
 
Balaji Sankar
Join Date: Nov 2011
Posts: 19
Rep Power: 14
Bajji is on a distinguished road
Hi,

I have written a 1 D convection diffusion equation solution solver using c++. (As in Peric). right now, I use PlotDrop and I have got output plots right.Now I wanna use paraView for the plotting as I have to use it anyway for my project work and I may as well get familiar with it. What is the format i should write my output file? I have data as X,Y .(2 arrays)

Can anybody give any pointers please?

P.S: I have googled and got a link to CSVreader . But no details on how to write the file.
Bajji is offline   Reply With Quote

Old   February 18, 2012, 05:14
Default File format
  #2
Member
 
Ramesh K
Join Date: Dec 2009
Location: Bangalore
Posts: 73
Rep Power: 16
RameshK is on a distinguished road
Send a message via Yahoo to RameshK
Hi

You can use vtk data format and use it in paraview
RameshK is offline   Reply With Quote

Old   February 22, 2012, 03:39
Default
  #3
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 2,151
Blog Entries: 29
Rep Power: 39
sbaffini will become famous soon enoughsbaffini will become famous soon enough
Send a message via Skype™ to sbaffini
You can google for vtk file formats or go trough the full documentation. However, this helped me a lot:

http://www.vtk.org/VTK/img/file-formats.pdf
sbaffini is offline   Reply With Quote

Old   May 29, 2012, 10:45
Default
  #4
Senior Member
 
Elvis
Join Date: Mar 2009
Location: Sindelfingen, Germany
Posts: 620
Blog Entries: 6
Rep Power: 24
elvis will become famous soon enough
Hi,

take a look at
http://vtk.org/gitweb?p=VTK.git;a=bl...sv_to_graph.py
http://www.vtk.org/doc/release/5.8/html/a00520.html "vtkDelimitedTextReader"

http://vtk.org/gitweb?p=VTK.git;a=bl...hon/tables2.py

So you can do a little scripting in paraview with that vtkDelimitedTextReader and get the same thing done as in pur vtk
elvis is offline   Reply With Quote

Old   May 31, 2012, 02:40
Smile Thank you
  #5
New Member
 
Balaji Sankar
Join Date: Nov 2011
Posts: 19
Rep Power: 14
Bajji is on a distinguished road
Thank you for the reply.Right now I am writing plotScript.gp files from my code and loading them into gnuplot to create simple 2D views in the development stage.
I will do nice Post processing with paraview once I validate the code.
Thanks again :-)
Bajji is offline   Reply With Quote

Reply

Tags
paraview, post processing


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
how to calculate mass flow rate on patches and summation of that during the run? immortality OpenFOAM Post-Processing 104 February 16, 2021 08:46
[foam-extend.org] problem when installing foam-extend-1.6 Thomas pan OpenFOAM Installation 7 September 9, 2015 21:53
[swak4Foam] Problem installing swak_2.x for OpenFoam-2.4.0 towanda OpenFOAM Community Contributions 6 September 5, 2015 21:03
[Other] Adding solvers from DensityBasedTurbo to foam-extend 3.0 Seroga OpenFOAM Community Contributions 9 June 12, 2015 17:18
SparceImage v1.7.x Issue on MAC OS X rcarmi OpenFOAM Installation 4 August 14, 2014 06:42


All times are GMT -4. The time now is 16:14.