|
[Sponsors] |
February 18, 2012, 04:48 |
File format for Paraview
|
#1 |
New Member
Balaji Sankar
Join Date: Nov 2011
Posts: 19
Rep Power: 14 |
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. |
|
February 18, 2012, 05:14 |
File format
|
#2 |
Member
|
Hi
You can use vtk data format and use it in paraview |
|
February 22, 2012, 03:39 |
|
#3 |
Senior Member
|
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 |
|
May 29, 2012, 10:45 |
|
#4 |
Senior Member
|
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 |
|
May 31, 2012, 02:40 |
Thank you
|
#5 |
New Member
Balaji Sankar
Join Date: Nov 2011
Posts: 19
Rep Power: 14 |
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 :-) |
|
Tags |
paraview, post processing |
|
|
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 |