CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Mesh Utilities

SnappyHexMesh region deletion

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

LinkBack Thread Tools Display Modes
Old   February 13, 2009, 13:10
Default Hi All, I'm trying to use s
New Member
Simon Hubbard
Join Date: Mar 2009
Posts: 10
Rep Power: 10
monkeytron is on a distinguished road
Hi All,

I'm trying to use snappyHexMesh to do some quite complex meshing with lots of cells. I am starting with an STL that is an enclosed volume inside my blockMesh generated mesh. I am only interested in the resulting mesh inside the enclosed STL, but it seems that sHM does lots of refinement/effort before deleting the region of mesh you have told it you dont want. This is causing me to run out of memory, so I was wondering if there is any way to only do the refienment/effort in the region I want, rather than spending effort requiring storage for fine mesh that subsequently gets deleted?


monkeytron is offline   Reply With Quote

Old   February 18, 2009, 09:31
Default check your refinement Mode und
Senior Member
Wolfgang Heydlauff
Join Date: Mar 2009
Location: Germany
Posts: 136
Rep Power: 14
wolle1982 will become famous soon enough
check your refinement Mode under

"refinementRegions" in the sHMDict

maybe you are still on mode "distance". maybe you'd better use "inside" or "outside"

Specifies refinement level for cells in relation to a surface. One of
three modes

- distance. 'levels' specifies per distance to the surface the
wanted refinement level. The distances need to be specified in
descending order.

- inside. 'levels' is only one entry and only the level is used. All
cells inside the surface get refined up to the level. The surface
needs to be closed for this to be possible.

- outside. Same but cells outside.
wolle1982 is offline   Reply With Quote

Old   February 19, 2009, 23:57
Default Hi Simon, I think the only
Kati Laakkonen
Join Date: Mar 2009
Location: Espoo, Finland
Posts: 36
Rep Power: 10
kati is on a distinguished road
Hi Simon,

I think the only way to limit the memory consumption in surface refinement phase would be to try to limit the background mesh size by making it follow your geometry. A bit unorthodox suggestion, but do you have access to mesh generator which could create you a stair-step mesh that just encloses your geometry?

kati 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
SnappyHexMesh featureEdgeMesh braennstroem OpenFOAM Mesh Utilities 20 March 1, 2011 08:15
SnappyHexMesh erik023 OpenFOAM Mesh Utilities 19 October 17, 2010 10:09
SnappyHexMesh in Parallel bastil OpenFOAM Mesh Utilities 22 April 7, 2010 11:48
SnappyHexMesh mp340 OpenFOAM Meshing & Mesh Conversion 1 November 13, 2008 14:30
PtrList deletion grtabor OpenFOAM 1 September 22, 2007 17:55

All times are GMT -4. The time now is 19:18.