CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [snappyHexMesh] cells can not be removed in snappyhexmesh when using stl file (https://www.cfd-online.com/Forums/openfoam-meshing/129457-cells-can-not-removed-snappyhexmesh-when-using-stl-file.html)

tjjs February 5, 2014 13:36

cells can not be removed in snappyhexmesh when using stl file
 
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 February 5, 2014 13:46

4 Attachment(s)
I attach the setting files and stl file in the attachment.

chegdan February 5, 2014 14:31

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.


All times are GMT -4. The time now is 12:09.