CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[snappyHexMesh] SnappyHexMesh cell removal

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 12, 2012, 09:19
Default SnappyHexMesh cell removal
  #1
New Member
 
Ali
Join Date: Dec 2012
Posts: 9
Rep Power: 14
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: 314
Rep Power: 18
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


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Other] Contribution a new utility: refine wall layer mesh based on yPlus field lakeat OpenFOAM Community Contributions 58 December 23, 2021 03:36
[snappyHexMesh] Creating multiple multiple cell zones with snappyHexMesh - a newbie in deep water! divergence OpenFOAM Meshing & Mesh Conversion 0 January 23, 2019 05:17
[snappyHexMesh] Problem with SnappyHexMesh Cell Removal MoeCFD OpenFOAM Meshing & Mesh Conversion 0 July 7, 2017 13:55
[snappyHexMesh] Problem with snappyhexMesh: modelling a pore chamber and pore throat model Saideep OpenFOAM Meshing & Mesh Conversion 5 May 10, 2015 15:46
Journal file error magicalmarshmallow FLUENT 3 April 4, 2014 13:25


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