CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] Difference in the number of cells between ParaView and checkMesh

Register Blogs Community New Posts Updated Threads Search

Like Tree5Likes
  • 5 Post By Antimony

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 15, 2015, 07:39
Default Difference in the number of cells between ParaView and checkMesh
  #1
New Member
 
Join Date: Jun 2015
Location: UK
Posts: 13
Rep Power: 10
MartinBlx is on a distinguished road
Hello everyone,

I'm comparing the efficiency of different snappyHexMesh meshes and to do so I'm paying attention to the number of cells of the mesh. And I made the weird discovery that checkMesh and ParaView don't agree on the number of cells of the mesh!

For example, for the same mesh, the Statistics inspector of ParaView gives 3.995.096 cells:

https://drive.google.com/file/d/0B_T...ew?usp=sharing

While the checkMesh result gives 1.105.136 cells:

Code:
Create time

Create polyMesh for time = 0

Time = 0

Mesh stats
    points:           1593493
    faces:            3707462
    internal faces:   3262532
    cells:            1105136
    faces per cell:   6.3069106
    boundary patches: 3
    point zones:      0
    face zones:       0
    cell zones:       0
Which one should I trust?

And any explanations for this huge difference? I have compared several meshes and the ratio is typically around 4 in favor of ParaView everytime.

Martin
MartinBlx is offline   Reply With Quote

Old   January 18, 2016, 04:46
Default
  #2
New Member
 
Join Date: Aug 2015
Posts: 17
Rep Power: 10
user10600 is on a distinguished road
Hello everyone !

I have noticed exactly the same thing a few days ago! Does someone has an idea why there is such a difference ?

I would tend to trust more the data informations given by "checkMesh", but should I ?


Thanks in advance.
user10600 is offline   Reply With Quote

Old   January 18, 2016, 04:54
Default
  #3
Senior Member
 
Join Date: Aug 2013
Posts: 407
Rep Power: 15
Antimony is on a distinguished road
Hi,

If I remember correctly (unfortunately I can't remember where I read it though), Paraview and the rest can't handle polyhedral cells, and instead decompose it to tets and the like.

Consequently the number reported by Paraview would be higher, because of this decomposition.

If I can find the link to the post on this, I will put it here.

Hope this helps.

Cheers,
Antimony
Antimony is offline   Reply With Quote

Old   January 18, 2016, 05:01
Default
  #4
New Member
 
Join Date: Aug 2015
Posts: 17
Rep Power: 10
user10600 is on a distinguished road
Wow it makes sense!

Thanks a lot!
user10600 is offline   Reply With Quote

Old   January 29, 2017, 15:31
Default
  #5
Senior Member
 
Himanshu Sharma
Join Date: Jul 2012
Posts: 101
Rep Power: 13
himanshu28 is on a distinguished road
Quote:
Originally Posted by Antimony View Post
Hi,

If I remember correctly (unfortunately I can't remember where I read it though), Paraview and the rest can't handle polyhedral cells, and instead decompose it to tets and the like.

Consequently the number reported by Paraview would be higher, because of this decomposition.

If I can find the link to the post on this, I will put it here.

Hope this helps.

Cheers,
Antimony
Hi Antimony,

Did you find the link.

Thank you.
himanshu28 is offline   Reply With Quote

Old   January 30, 2017, 01:57
Default
  #6
Member
 
Join Date: Mar 2014
Posts: 39
Rep Power: 12
Traction is on a distinguished road
Quote:
Originally Posted by himanshu28 View Post
Hi Antimony,

Did you find the link.

Thank you.
Hey,
this topic has been analyzed here (with a few examples as well): Exporting mesh for an OpenFOAM chtMultiRegion case
Traction is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM] Visualizing checkMesh results in Paraview Claudio ParaView 15 July 21, 2020 13:58
[blockMesh] checkMesh Floating point exception error daniel.almeida OpenFOAM Meshing & Mesh Conversion 0 July 31, 2015 14:26
[Other] Different number of cells Yuby OpenFOAM Meshing & Mesh Conversion 2 May 10, 2015 14:12
[OpenFOAM] ParaView shows bad cells, checkMesh doesn't seem to notice. CoolHand ParaView 2 August 21, 2014 15:58
Visualize checkMesh output with Paraview Horus OpenFOAM 1 May 29, 2012 11:51


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