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

[snappyHexMesh] Avoiding wedge cells and folded cells while adding layers - snappyHexMesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 21, 2018, 08:57
Default Avoiding wedge cells and folded cells while adding layers - snappyHexMesh
  #1
Senior Member
 
Saideep
Join Date: Apr 2015
Location: INDIA
Posts: 203
Rep Power: 12
Saideep is on a distinguished road
Hi all;

I have an .stl image rendered from openscad and need to use it for a 2D interfoam case setup.

I have a number of wedge shaped cells on the wall that are severely causing a problem with respect to the continuity of surface tension forces acting on the cell faces. I decided to add layers on the wall that pushed the wedge cells on the wall upward (Fig 1) however this doesn't solve the problem but causes additional issues.

Problem 1: The wedge cells are doing more bad than good and I would like to avoid them though the cells surrounding could be coarse. Is there a way to let snappyHexMesh know regarding this? (Fig 2)

Problem 2: Adding layers on the wall, is resulting in a "folded" mesh. That is the cumulative cell count is not being manipulated and hence the cells at the transition from slanting to vertical walls gets compressed. Is there a way to avoid this? I tried varying the minVolRatio and could go upto 0.25 yet I run into this issue. (Fig 3)

Thanks;
Saideep
Attached Images
File Type: png Fig 1.png (18.1 KB, 32 views)
File Type: jpg Fig 2.jpg (141.6 KB, 31 views)
File Type: jpg Fig 3.jpg (180.5 KB, 29 views)
Saideep is offline   Reply With Quote

Old   March 21, 2018, 19:35
Default
  #2
Senior Member
 
Join Date: Nov 2010
Location: USA
Posts: 1,232
Rep Power: 25
me3840 is on a distinguished road
This geometry is really simple. Why don't you use blockMesh instead?
me3840 is offline   Reply With Quote

Old   March 22, 2018, 09:10
Default
  #3
Senior Member
 
Saideep
Join Date: Apr 2015
Location: INDIA
Posts: 203
Rep Power: 12
Saideep is on a distinguished road
Yes for this, I could use blockMesh. But I would like to take it forward trying different shapes at the intersection which couldnt be done using blockmesh. So, started using sHM for this simple case to be extended for other cases.
Saideep is offline   Reply With Quote

Reply

Tags
folded, snapphexmesh, wedge


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



All times are GMT -4. The time now is 02:54.