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

cells can not be removed in snappyhexmesh when using stl file

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 5, 2014, 14:36
Default cells can not be removed in snappyhexmesh when using stl file
  #1
New Member
 
Join Date: Feb 2014
Posts: 3
Rep Power: 3
tjjs is on a distinguished road
Hi, everybody!

I am learning the snappyhexmesh tool in openfoam. I made a stl file by solidworks to define a cylinder surface.
The cells inside the cylinder can be refined, but the cells from the background mesh outside the target domain did not get removed even the locationInMesh was set inside the target domain.

I have check the stl file by "surfaceCheck", it is fine, and it is a closed surface.

Anyone can help me?

Thanks
tjjs is offline   Reply With Quote

Old   February 5, 2014, 14:46
Default
  #2
New Member
 
Join Date: Feb 2014
Posts: 3
Rep Power: 3
tjjs is on a distinguished road
I attach the setting files and stl file in the attachment.
Attached Images
File Type: jpg snappy.jpg (22.4 KB, 14 views)
Attached Files
File Type: txt blockMeshDict.txt (1.1 KB, 8 views)
File Type: txt cylinder.stl.txt (63.0 KB, 4 views)
File Type: txt snappyHexMeshDict.txt (9.6 KB, 8 views)
tjjs is offline   Reply With Quote

Old   February 5, 2014, 15:31
Default
  #3
Senior Member
 
chegdan's Avatar
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 535
Rep Power: 18
chegdan will become famous soon enough
Your refinement surface in your castellatedMeshControls section is not actually named "cylinder.stl" it is actually named "outSurface". Change your refinement surface name in the castellatedMeshControls section to actually match what you have defined in your geometry section, and you will see some castellation happening. If you haven't already, there are some great snappyHexMesh presentations out there from past workshops located on the wiki.
__________________
Dan

Find me on twitter @dancombest and LinkedIn

Last edited by chegdan; February 5, 2014 at 15:32. Reason: added a link
chegdan 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
funkySetFields compilation error tayo OpenFOAM 39 December 3, 2012 06:18
friction forces icoFoam ofslcm OpenFOAM 3 April 7, 2012 10:57
2.0.x on Mac OSX niklas OpenFOAM Installation on Windows, Mac and other Unsupported Platforms 74 March 28, 2012 16:46
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51
Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Native Meshers: blockMesh 10 April 2, 2007 14:00


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