CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Paraview & paraFoam

Visualizing checkMesh results in Paraview

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree15Likes
  • 15 Post By tomf

LinkBack Thread Tools Display Modes
Old   June 25, 2013, 12:58
Default Visualizing checkMesh results in Paraview
New Member
Join Date: May 2010
Location: Boston, MA
Posts: 28
Rep Power: 7
Claudio is on a distinguished road
Hi there,

I'm working on a case where the grid is built using enGrid. It all seems fine, but when I run CheckMesh (OpenFOAM) it fails 4 checks, and writes the culprits to 4 different cellSets.
How do I display these in Paraview?

I tried copy the entire constant folder over, with the sets subfolder in it, but no luck.

Thanks for any help.


Create time

Create polyMesh for time = 0

Time = 0

Mesh stats
    points:           900745
    internal points:  900745
    faces:            9630792
    internal faces:   9630792
    cells:            4748020
    boundary patches: 0
    point zones:      0
    face zones:       0
    cell zones:       0

Overall number of cells of each type:
    hexahedra:     0
    prisms:        269504
    wedges:        0
    pyramids:      0
    tet wedges:    0
    tetrahedra:    4478516
    polyhedra:     0

Checking topology...
    Boundary definition OK.
    Cell to face addressing OK.
    Point usage OK.
    Upper triangular ordering OK.
    Face vertices OK.
    Number of regions: 1 (OK).

Checking patch topology for multiply connected surfaces ...
    Patch               Faces    Points   Surface topology                  

Checking geometry...
    Overall domain bounding box (-15 -10 -10) (25 10 10)
    Mesh (non-empty, non-wedge) directions (1 1 1)
    Mesh (non-empty) directions (1 1 1)
    Boundary openness (0 0 0) OK.
 ***Open cells found, max cell openness: 1, number of open cells 21134
  <<Writing 21134 non closed cells to set nonClosedCells
  <<Writing 245 cells with high aspect ratio to set highAspectRatioCells
    Minumum face area = 1.27259977e-07. Maximum face area = 10.29648759.  Face area magnitudes OK.
    Min volume = 1.666666667e-300. Max volume = 9.232429517.  Total volume = 31465.12518.  Cell volumes OK.
    Mesh non-orthogonality Max: 179.7735569 average: 15.80337767
   *Number of severely non-orthogonal faces: 8959.
 ***Number of non-orthogonality errors: 20686.
  <<Writing 29645 non-orthogonal faces to set nonOrthoFaces
 ***Error in face pyramids: 21214 faces are incorrectly oriented.
  <<Writing 21198 faces with incorrect orientation to set wrongOrientedFaces
 ***Max skewness = 216.0434447, 549 highly skew faces detected which may impair the quality of the results
  <<Writing 549 skew faces to set skewFaces
    Coupled point location match (average 0) OK.

Failed 4 mesh checks.

Claudio is offline   Reply With Quote

Old   June 26, 2013, 04:43
Senior Member
Tom Fahner
Join Date: Mar 2009
Location: Delft, Netherlands
Posts: 265
Rep Power: 11
tomf is on a distinguished road
Send a message via MSN to tomf Send a message via Skype™ to tomf
Hi Claudio,

You can use the foamToVTK utility to make VTK files of any set:

foamToVTK -faceSet nonOrthoFaces -time 0
You can than open your case in ParaView and open the vtk files for each set. Just check the names of the set from the checkMesh log and run foamToVTK for each faceSet. Do not forget the -time 0 or otherwise it may overwrite your old VTK files.

kiddmax, Claudio, risku9 and 12 others like this.
tomf is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to load all <case>/surfaces/*/*.vtk at once into Paraview holodeck10 OpenFOAM Paraview & paraFoam 7 September 15, 2015 07:18
viewing probe results with Paraview feldy77 OpenFOAM 0 November 2, 2011 20:31
Visualizing in Paraview Kvadar OpenFOAM Paraview & paraFoam 5 July 25, 2011 03:36
Segmentation fault when visualizing in ParaView fsalvucci OpenFOAM 9 July 30, 2010 15:39
Visualizing face normals in ParaView nikunj OpenFOAM Paraview & paraFoam 0 April 18, 2006 01:30

All times are GMT -4. The time now is 15:29.