CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Post-Processing (http://www.cfd-online.com/Forums/openfoam-post-processing/)
-   -   How to read parallel VTK files writting by foamToVTK (http://www.cfd-online.com/Forums/openfoam-post-processing/125691-how-read-parallel-vtk-files-writting-foamtovtk.html)

aerogt3 October 29, 2013 08:56

How to read parallel VTK files writting by foamToVTK
 
Hi all,


After running checkMesh, I get some faceSets relating to poor quality cells:

Code:

  <<Writing 273 non-orthogonal faces to set nonOrthoFaces
 ***Error in face pyramids: 1 faces are incorrectly oriented.
  <<Writing 1 faces with incorrect orientation to set wrongOrientedFaces
 ***Max skewness = 14.9371, 32 highly skew faces detected which may impair the quality of the results
  <<Writing 32 skew faces to set skewFaces
    Coupled point location match (average 0) OK.

I convert these to VTK format for viewing with paraview as follows:

Code:

foamJob -p -s foamToVTK -faceSet wrongOrientedFaces
The problem, is that the VTK folder inside the case directory appears as follows:

Code:

processor14_meshQualityFaces_0.vtk -> ../processor14/VTK/meshQualityFaces/meshQualityFaces_0.vtk
 processor2_meshQualityFaces_0.vtk -> ../processor2/VTK/meshQualityFaces/meshQualityFaces_0.vtk
 processor1_meshQualityFaces_0.vtk -> ../processor1/VTK/meshQualityFaces/meshQualityFaces_0.vtk
 processor4_meshQualityFaces_0.vtk -> ../processor4/VTK/meshQualityFaces/meshQualityFaces_0.vtk
 processor7_meshQualityFaces_0.vtk -> ../processor7/VTK/meshQualityFaces/meshQualityFaces_0.vtk
 processor6_meshQualityFaces_0.vtk -> ../processor6/VTK/meshQualityFaces/meshQualityFaces_0.vtk
 processor5_meshQualityFaces_0.vtk -> ../processor5/VTK/meshQualityFaces/meshQualityFaces_0.vtk
 processor3_meshQualityFaces_0.vtk -> ../processor3/VTK/meshQualityFaces/meshQualityFaces_0.vtk
 processor19_meshQualityFaces_0.vtk -> ../processor19/VTK/meshQualityFaces/meshQualityFaces_0.vtk
 processor18_meshQualityFaces_0.vtk -> ../processor18/VTK/meshQualityFaces/meshQualityFaces_0.vtk
 processor17_meshQualityFaces_0.vtk -> ../processor17/VTK/meshQualityFaces/meshQualityFaces_0.vtk
 processor9_meshQualityFaces_0.vtk -> ../processor9/VTK/meshQualityFaces/meshQualityFaces_0.vtk
 processor8_meshQualityFaces_0.vtk -> ../processor8/VTK/meshQualityFaces/meshQualityFaces_0.vtk
 processor27_meshQualityFaces_0.vtk -> ../processor27/VTK/meshQualityFaces/meshQualityFaces_0.vtk
 processor22_meshQualityFaces_0.vtk -> ../processor22/VTK/meshQualityFaces/meshQualityFaces_0.vtk
 processor21_meshQualityFaces_0.vtk -> ../processor21/VTK/meshQualityFaces/meshQualityFaces_0.vtk
 processor20_meshQualityFaces_0.vtk -> ../processor20/VTK/meshQualityFaces/meshQualityFaces_0.vtk
 processor16_meshQualityFaces_0.vtk -> ../processor16/VTK/meshQualityFaces/meshQualityFaces_0.vtk
 processor13_meshQualityFaces_0.vtk -> ../processor13/VTK/meshQualityFaces/meshQualityFaces_0.vtk
 processor12_meshQualityFaces_0.vtk -> ../processor12/VTK/meshQualityFaces/meshQualityFaces_0.vtk
 processor11_meshQualityFaces_0.vtk -> ../processor11/VTK/meshQualityFaces/meshQualityFaces_0.vtk
 processor10_meshQualityFaces_0.vtk -> ../processor10/VTK/meshQualityFaces/meshQualityFaces_0.vtk
 processor0_meshQualityFaces_0.vtk -> ../processor0/VTK/meshQualityFaces/meshQualityFaces_0.vtk
 processor29_meshQualityFaces_0.vtk -> ../processor29/VTK/meshQualityFaces/meshQualityFaces_0.vtk
 processor28_meshQualityFaces_0.vtk -> ../processor28/VTK/meshQualityFaces/meshQualityFaces_0.vtk
 processor26_meshQualityFaces_0.vtk -> ../processor26/VTK/meshQualityFaces/meshQualityFaces_0.vtk
 processor25_meshQualityFaces_0.vtk -> ../processor25/VTK/meshQualityFaces/meshQualityFaces_0.vtk
 processor24_meshQualityFaces_0.vtk -> ../processor24/VTK/meshQualityFaces/meshQualityFaces_0.vtk
 processor23_meshQualityFaces_0.vtk -> ../processor23/VTK/meshQualityFaces/meshQualityFaces_0.vtk
 processor15_meshQualityFaces_0.vtk -> ../processor15/VTK/meshQualityFaces/meshQualityFaces_0.vtk

I have no idea how to read in these parallel VTK files, other than read each one individually, which is a huge pain!! Any tips on this?


All times are GMT -4. The time now is 08:57.