CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Native Meshers: snappyHexMesh and Others

SnappyHexMesh cell removal

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

LinkBack Thread Tools Display Modes
Old   December 12, 2012, 09:19
Default SnappyHexMesh cell removal
New Member
Join Date: Dec 2012
Posts: 9
Rep Power: 6
ali.ghaemi is on a distinguished road

I have a triangulated surface in STL format. SnappyHexMesh generates a mesh outside the surface and removes the cells that are located inside like Fig.5-12 in OpenFoam user guide. However since I need to do the simulation inside I want to retain the cells there and remove the ones outside the surface. I wonder if someone knows how to do that.

Thanks in advance
ali.ghaemi is offline   Reply With Quote

Old   December 12, 2012, 10:22
Senior Member
stephane sanchi
Join Date: Mar 2009
Posts: 312
Rep Power: 11
openfoam_user is on a distinguished road

edit your system/snappyHexMeshDict file and modify the following line:

locationInMesh (-1.0 0.0 3.5 );

The location must be where you want to keep the cells.

openfoam_user 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
Problem with cell removal in SHM Bercht OpenFOAM Native Meshers: snappyHexMesh and Others 5 June 22, 2012 08:34
Cells with t below lower limit Purushothama Siemens 2 May 31, 2010 21:58
cell removal john Siemens 0 November 9, 2005 05:35
Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 2 July 15, 2005 04:15
Warning 097- AB Siemens 6 November 15, 2004 05:41

All times are GMT -4. The time now is 20:25.