CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[snappyHexMesh] Delete cells with special volume

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 30, 2016, 10:45
Default Delete cells with special volume
  #1
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Hey together,

in the attachment you find a simple meshing example and I am trying to figure out how to remove these bad cells during the snap procedure. I know that I can move my backgroundmesh to get rid of these cells but I do not want to do it in this way. A look into the snappyHexMeshDict and the mesh quality controls is promising with 3 parameters:
Code:
//- Minimum pyramid volume. Is absolute volume of cell pyramid.
//  Set to a sensible fraction of the smallest cell volume expected.
//  Set to very negative number (e.g. -1E30) to disable.
minVol 1e-13;


//- Volume ratio of neighbouring cells (0 -> 1)
minVolRatio 0.01;



//- if >0 : preserve cells with all points on the surface if the
//  resulting volume after snapping (by approximation) is larger than
//  minVolCollapseRatio times old volume (i.e. not collapsed to flat cell).
//  If <0 : delete always.
//minVolCollapseRatio 0.1;
The first one is recognized by snappyHex mesh (I can see it in the output) but all bad cells remain. The last parameter (minvolCollapseRatio) is not working with negative or even values up to 0.9. And the parameter (minVolRatio) is also not working.

Hence, there are several questions:

  • Why we have these parameters if they do not influence the result
  • Does anybody know if minVolRatio or minVolCollapseRatio is working


Thanks in advance,
Tobi
Attached Images
File Type: jpg deleteCell.jpg (150.7 KB, 54 views)
__________________
Keep foaming,
Tobias Holzmann
Tobi 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
[snappyHexMesh] Help with Snappy: no layers growing GianF OpenFOAM Meshing & Mesh Conversion 2 September 23, 2020 09:26
[snappyHexMesh] Layers not growing at all zonda OpenFOAM Meshing & Mesh Conversion 12 June 6, 2020 12:28
cellZone not taking all the cells inside rahulksoni OpenFOAM 0 January 16, 2019 02:16
snappyhexmesh remove blockmesh geometry philipp1 OpenFOAM Running, Solving & CFD 2 December 12, 2014 11:58
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 15:00


All times are GMT -4. The time now is 01:35.