CFD Online Discussion Forums

CFD Online Discussion Forums (
-   ParaView (
-   -   File format for Paraview (

Bajji February 18, 2012 05:48

File format for Paraview

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?:o

P.S: I have googled and got a link to CSVreader . But no details on how to write the file.

RameshK February 18, 2012 06:14

File format

You can use vtk data format and use it in paraview

sbaffini February 22, 2012 04:39

You can google for vtk file formats or go trough the full documentation. However, this helped me a lot:

elvis May 29, 2012 10:45


take a look at; "vtkDelimitedTextReader";a=bl...hon/

So you can do a little scripting in paraview with that vtkDelimitedTextReader and get the same thing done as in pur vtk

Bajji May 31, 2012 02:40

Thank you
Thank you for the reply.Right now I am writing 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 :-):)

All times are GMT -4. The time now is 13:05.