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

[snappyHexMesh] snappyHexMesh meshing two close objects gap

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

Like Tree6Likes
  • 6 Post By icaroaccordi

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 18, 2014, 08:53
Default snappyHexMesh meshing two close objects gap
  #1
Senior Member
 
Francisco
Join Date: Mar 2012
Location: Spain
Posts: 273
Rep Power: 15
Bollonga is on a distinguished road
Hi everybody,

I'm new to OpenFoam and I'm facing some problems with the snappyHexMesh utility.
I want to mesh the domain around two objects which are very close (panel and tronco_cono). The problem is that some surface elements are connecting the gap between the two objects (see picture), and they must not be connected.
I have tried to increase the feature edge refinement from 6 to 7 but I'm running out of memory. Refinement for the surfaces is level (6 7). I attach the snappyHexMeshDict.

Anyone can help me to avoid the connecting elements between the two bodies? Any help will be really appreciated.

Thanks a lot!
Attached Images
File Type: jpg Panel_tronco_cono_gap.jpg (49.1 KB, 373 views)
Attached Files
File Type: txt snappyHexMeshDict.txt (10.2 KB, 78 views)
Bollonga is offline   Reply With Quote

Old   August 19, 2014, 07:37
Default
  #2
Member
 
Icaro A. Accordi
Join Date: Oct 2010
Posts: 31
Rep Power: 16
icaroaccordi is on a distinguished road
Hi Francisco,

You can try gapLevelIncrement that increments the refinement of patches due to proximity. You need to set how much refinement is going to be incremented in each patch. In the example below the refinement level is going incremented by 2 if the mesh between the facing patches has two or less cells:

refinementSurfaces
{
panel
{
// Surface-wise min and max refinement level
level (6 7);

//- Optional increment (on top of max level) in small gaps
gapLevelIncrement 2;

// Optional specification of patch type (default is wall). No
// constraint types (cyclic, symmetry) etc. are allowed.
patchInfo
{
type wall;
}
}

tronco_cono
{
// Surface-wise min and max refinement level
level (6 7);

//- Optional increment (on top of max level) in small gaps
gapLevelIncrement 2;

// Optional specification of patch type (default is wall). No
// constraint types (cyclic, symmetry) etc. are allowed.
patchInfo
{
type wall;
}
}
}
icaroaccordi 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
[snappyHexMesh] bumps and broken surface after meshing with snappyhexmesh Yemi2favours OpenFOAM Meshing & Mesh Conversion 0 February 12, 2018 13:07
[snappyHexMesh] Meshing porsche with snappyHexMesh Mirage12 OpenFOAM Meshing & Mesh Conversion 3 August 28, 2013 05:51
[GAMBIT] Error: small gap in meshing with Tgrid gdebadrawada ANSYS Meshing & Geometry 1 April 19, 2013 05:21
[snappyHexMesh] Meshing a small gap between walls staustrahltriebwerk OpenFOAM Meshing & Mesh Conversion 1 July 23, 2012 12:46
BL meshing airfoil with gap ghost FLUENT 18 December 1, 2009 23:47


All times are GMT -4. The time now is 14:41.