CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Native Meshers: snappyHexMesh and Others

SnappyHexMesh cell removal

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

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

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
Default
  #2
Senior Member
 
stephane sanchi
Join Date: Mar 2009
Posts: 300
Rep Power: 9
openfoam_user is on a distinguished road
Hi,

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.

Regards,
Stephane.
openfoam_user 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
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 CD-adapco 2 May 31, 2010 21:58
cell removal john CD-adapco 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 CD-adapco 6 November 15, 2004 05:41


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