[Paraview] Program to write .VTK

Renan Leser leser21 at gmail.com
Thu Feb 12 03:29:53 EST 2009


Hello everybody,

I'm searching for a program to write some .DAT files in .VTK format. (for *
Paraview* visualization)

These .DATs contains grid structure(bathymetry), lat, long,  scalars and
vectors. I'm writing them *manually* in .VTK, like these:

# vtk DataFile Version 3.0
vtk output
ASCII
DATASET STRUCTURED_POINTS
*DIMENSIONS 387 312 1 *
SPACING 1 1 1
ORIGIN 0 0 0
*POINT_DATA 120744  *
SCALARS batimetria float
*LOOKUP_TABLE default
0.0000000e+000  0.0000000e+000  0.0000000e+000  0.0000000e+000
0.0000000e+000...
0.0000000e+000  0.0000000e+000  0.0000000e+000  0.0000000e+000
0.0000000e+000...*
...


The DAT files holds the grid (bathymetry), then I spent lots of time copying
and pasting the grid from .DAT to *LOOKUP_TABLE default*, and writing
the *dimensions
and point data* of each file...

Since I'm working with large time data-steps files, I would like to known if
anybody use or recommend a program to speed up this process.

Thanks a lot,

Renan.



-- 
Renan Leser de Medeiros
Laboratory of Computational Methods in Engineering
Federal University of Rio de Janeiro - COPPE
P.O.Box 68552 - ZIP 21949-900
Rio de Janeiro, RJ, Brasil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20090212/734f0017/attachment.htm>


More information about the ParaView mailing list