Wednesday, December 31, 2014

Scalar or vector field on structured, uniform grid - Create VTK file for loading into Paraview

Thanks to Joe Yeh for having created a Matlab function, vtkwrite(...), to create a file where scalar and/or vector fields defined on a structured, uniform and regular grid can be saved according to the VTK format needed to be imported in Paraview.
It's a very handy function. To create scalar and vector fields defined on a structured, uniform and regular grid is easy in Matlab. To be able to load the dataset into Paraview is fantastic because one can exploit the powerful visualization and analysis tools of that software.
The Matlab function can be downloaded from this URL.

No comments:

Post a Comment