CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Bugs

SnappyHexMesh plane surface bounding box

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 21, 2009, 07:15
Default
  #21
Super Moderator
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,416
Rep Power: 17
mattijs is on a distinguished road
This should work. Check that your locationInMesh is inside a cell and inside the part you want to keep. The minVol setting in meshQualityControls will not affect refinement. only snapping and layering.
mattijs is offline   Reply With Quote

Old   August 26, 2009, 06:13
Default
  #22
New Member
 
andres
Join Date: Aug 2009
Posts: 15
Rep Power: 8
andresbh is on a distinguished road
Hi Mattijs,

thank you for your reply. I double checked that locationInMesh is inside the part I want to keep. I deployed snappyhexmesh again and I ran a simulation with the resulting mesh.

In the following figure you see a slide through the domain. Here the circular white lines represent the outer part of my stl body. Inside in red is what should have been removed. The speed in these red regions is zero with a wall-like behavior outside the withe lines which is feasable. I could live with this but the problem are those regions inside the circles with a non-zero velocity.

screensh.jpg

Have you got any experience with something like this?

I also attach my blockmeshdict and snappyhexmeshdict so that you can make yourself a better idea of my settings. I cant upload my stl file because it is quite large.

snappyHexMeshDict.txt
blockMeshDict.txt

Thank you again for your help

cheers
Andres
andresbh is offline   Reply With Quote

Old   August 26, 2009, 07:34
Default
  #23
Super Moderator
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,416
Rep Power: 17
mattijs is on a distinguished road
Looks like your stl isn't closed enough and the mesh has 'bled' through (the mesher does ray intersection tests to determine hits on the surface). Run surfaceCheck on your individual stls and check for edges with <>2 faces. Fix or perturb your stls and try again.
mattijs is offline   Reply With Quote

Reply

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Surface boundary mesh in snappyHexMesh bastil OpenFOAM Mesh Utilities 7 February 3, 2012 08:37
Tool for Surface Preparation for SnappyHexMesh bastil OpenFOAM Mesh Utilities 18 November 17, 2008 17:49
Import Surface from HyperMesh to snappyHexMesh bastil OpenFOAM Mesh Utilities 7 October 7, 2008 07:32
postprocessing - surface - plane Brujo FLUENT 2 March 1, 2008 11:36
Making boundary profile on a surface in xz- plane varghese FLUENT 6 May 3, 2002 08:38


All times are GMT -4. The time now is 23:38.