CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM

Incomplete geometry in snappyHexMesh

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

LinkBack Thread Tools Display Modes
Old   March 1, 2012, 05:59
Default Incomplete geometry in snappyHexMesh
Senior Member
Join Date: Mar 2011
Posts: 174
Rep Power: 8
anon_a is on a distinguished road
Hi there!

I have been trying to use sHM in my geometry for the past couple of days.
The geometry can be considered (in a simplified way) as two large vessels connected through a tiny orifice.

The problem is that the orifice is so small that the geometry is considered "disconnected", so I end up with a mesh for the volume containing the "locationInMesh" point only. I have tried refining the features to level 6 and I also added refinement regions (levels 4-6) around the orifice but the problem remains.

I think that the point where this is done in sHM is the following:
Removing mesh beyond surface intersections

Found point (1.015 0.201 0.001) in cell 50762 in global region 1 out of 4 regions.
Keeping all cells in region 1 containing point (1.015 0.201 0.001)
Selected for keeping : 775563 cells.
Right before that point, there were 1270916 cells.

I would appreciate any help in this. I could try doing it in another program but I would like to have the option of sHM too.
anon_a is offline   Reply With Quote

Old   March 4, 2012, 10:43
Senior Member
calim_cfd's Avatar
Join Date: Jun 2011
Posts: 141
Rep Power: 10
calim_cfd is on a distinguished road

when you have mesh problems it's always nice to upload some pics..
not sure i can help you.. i'll just highlight a few points maybe they will help you

-to use shm you need first to have a consistent volume created with blockMesh and a 2d stl(or sth else) boundary. By consistent i mean you need to get the vertices and faces ordering right, else the "location point in mesh" will fail.. there's a topic regarding this issues in these forums.. you may wanna look it up. Else you can check the user's guide either at the website or within OF installation

-try loading your boundary mesh in paraview(or other software) and check for possible errors. look for free edges, they should point you the possible leakage of your mesh!

-and it doesn't matter whether your orifice is 1e-25mē small, smh you "see it" and work it accordingly

in sum: check the volume from where shm will create the wet domain for consistency/dimensions/interferences and the boundary stl mesh for leakage...

can't help you more at this point

good luck
Best Regards

"Elune will grant us the strength"

Last edited by calim_cfd; March 4, 2012 at 10:45. Reason: spelling
calim_cfd is offline   Reply With Quote

Old   March 12, 2012, 05:30
Senior Member
Join Date: Mar 2011
Posts: 174
Rep Power: 8
anon_a is on a distinguished road
Thanks for your answer and sorry for my delayed post.

I managed to include my complete geometry about a week ago using a feature edge refinement level 7 and modifying my blockMesh. My bounding box has a size of 1.4m, my orifice is around 0.0001m thick and when my blockMesh cells (110 in that direction) are refined 7 times, they reach around the appropriate size and are finally kept by sHM.
anon_a is offline   Reply With Quote


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
GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh gschaider OpenFOAM 300 October 29, 2014 19:00
snappyHexMesh keeping internal geometry ThibaudB OpenFOAM Native Meshers: snappyHexMesh and Others 9 March 22, 2012 16:59
SnappyHexMesh meshes inside and outside of an STL geometry villier OpenFOAM Mesh Utilities 17 June 15, 2010 19:51
snappyHexMesh geometry Kristianur OpenFOAM Native Meshers: snappyHexMesh and Others 16 April 4, 2010 10:14
vitual _ real deneb FLUENT 3 January 22, 2007 05:31

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