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

[snappyHexMesh] 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 Search this Thread Display Modes
Old   February 5, 2014, 13:36
Default cells can not be removed in snappyhexmesh when using stl file
  #1
New Member
 
Join Date: Feb 2014
Posts: 3
Rep Power: 12
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, 13:46
Default
  #2
New Member
 
Join Date: Feb 2014
Posts: 3
Rep Power: 12
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, 37 views)
Attached Files
File Type: txt blockMeshDict.txt (1.1 KB, 11 views)
File Type: txt cylinder.stl.txt (63.0 KB, 9 views)
File Type: txt snappyHexMeshDict.txt (9.6 KB, 34 views)
tjjs is offline   Reply With Quote

Old   February 5, 2014, 14:31
Default
  #3
Senior Member
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0
chegdan will become famous soon enoughchegdan 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.

Last edited by chegdan; February 5, 2014 at 14:32. Reason: added a link
chegdan is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM.org] Patches to compile OpenFOAM 2.2 on Mac OS X gschaider OpenFOAM Installation 136 October 10, 2017 17:25
polynomial BC srv537 OpenFOAM Pre-Processing 4 December 3, 2016 09:07
centOS 5.6 : paraFoam not working yossi OpenFOAM Installation 2 October 9, 2013 01:41
[swak4Foam] Error bulding swak4Foam sfigato OpenFOAM Community Contributions 18 August 22, 2013 12:41
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51


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