CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   calculation of spatial correlation from .vtk files (https://www.cfd-online.com/Forums/openfoam/78300-calculation-spatial-correlation-vtk-files.html)

vishwa July 17, 2010 14:01

calculation of spatial correlation from .vtk files
 
Hi,
I have saved the slices of velocity fields at .vtk files in ascii format from simulation.

I am not sure how to read that .vtk file into matlab to actually calculate the spatial correlation. I tried using paraview itself as it is a dataset of like 1000 vtk files. I couldn't find a way to select the base point and multiply that to each and every cell of the image for all images, and then take average.

could anybody please tell me how to do that either in paraview or how to read the .vtk ASCII files from with matlab to do the same.

Hope to hear from you soon as I am have to this done right away for a presentation.

Best Regards,
Vishwa


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