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

SnappyHexMesh region deletion

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 13, 2009, 13:10
Default Hi All, I'm trying to use s
  #1
New Member
 
Simon Hubbard
Join Date: Mar 2009
Posts: 10
Rep Power: 9
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?

Thanks,

Simon.
monkeytron is offline   Reply With Quote

Old   February 18, 2009, 09:31
Default check your refinement Mode und
  #2
Senior Member
 
Wolfgang Heydlauff
Join Date: Mar 2009
Location: Germany
Posts: 136
Rep Power: 10
wolle1982 is on a distinguished road
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
  #3
Member
 
Kati Laakkonen
Join Date: Mar 2009
Location: Espoo, Finland
Posts: 36
Rep Power: 9
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?

Regards,
Kati
kati 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
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 22:31.