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

[Other] how to remove or join bad/tiny cells

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 15, 2014, 10:15
Default how to remove or join bad/tiny cells
  #1
Senior Member
 
Join Date: Mar 2010
Location: Germany
Posts: 154
Rep Power: 16
cutter is on a distinguished road
Hi everybody,

from time to time I have severe problems with meshes that contain bad shaped or very small cells in areas with high fluid velocities or gradients. The cells usually result from the refinement and snapping process of snappyHexMesh or cartesianMesh (cfMesh). Due to these bad cells the simulations either run extremely slow (Courant adaption) or even crash (numeric problems).

Please let me know if you know a tool that allows to join small/bad cells with neighboring cells in order to weaken the CFL conditions or improve the mesh quality!

I already know I can remove some of the bad cells by using checkMesh and setSet (see https://openfoamwiki.net/index.php/SetSet). I also know that it's much better to obtain a better mesh in the first place, but that's not possible for some really complicated geometries.

Thanks!
Cutter
cutter is offline   Reply With Quote

Old   December 18, 2014, 04:11
Default
  #2
Senior Member
 
Join Date: Oct 2013
Posts: 397
Rep Power: 18
chriss85 will become famous soon enough
I'm also interested in this. You can use the Co utility to generate a field containing the CFL values, and then filter it with topoSet I think. But I don't know how to go on from there. How to join specific cells with neighbours?
chriss85 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[blockMesh] Create internal faces as patch in blockMesh m.delta68 OpenFOAM Meshing & Mesh Conversion 14 July 12, 2018 15:43
[mesh manipulation] how can remove bad cells with assistance of cellSet,setSet,subsetMesh utilities? s.m OpenFOAM Meshing & Mesh Conversion 3 September 23, 2015 13:04
[snappyHexMesh] problems using snappyHexMesh 2.1.0 on a supercomputer Sunxing OpenFOAM Meshing & Mesh Conversion 9 September 20, 2014 10:30
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Meshing & Mesh Conversion 2 March 27, 2011 22:11
[snappyHexMesh] snappyHexMesh aborting Tobi OpenFOAM Meshing & Mesh Conversion 0 November 10, 2010 04:23


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