CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > ParaView

File format for Paraview

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

Reply
 
LinkBack Thread Tools 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: 4
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: 62
Rep Power: 6
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: 420
Blog Entries: 13
Rep Power: 14
sbaffini will become famous soon enough
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: 501
Blog Entries: 4
Rep Power: 12
elvis is on a distinguished road
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: 4
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

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
2.0.x on Mac OSX niklas OpenFOAM Installation on Windows, Mac and other Unsupported Platforms 74 March 28, 2012 16:46
"parabolicVelocity" in OpenFoam 2.1.0 ? sawyer86 OpenFOAM Running, Solving & CFD 21 February 7, 2012 11:44
OpenFOAM 1.7.1 installation problem on OpenSUSE 11.3 flakid OpenFOAM Installation 16 December 28, 2010 08:48
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 06:51
error while compiling the USER Sub routine CFD user CFX 3 November 25, 2002 15:16


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