Could not Add Boundary Layers near a Rectangular Channel Wall using SnappyHexMesh
Hi All,
I have been struggling with this issue for a while. The geometry is very simple, just a rectangular channel consisting of inlet, outlet and side walls. The castellatedMesh & snap steps were OK, only the addLayers step failed. Many suggestions found on this site have been tried but unfortunately none of them worked, therefore I decide to put a new thread regarding this for further help. The geometry is in stl format and pasted below: solid channel_inlet facet normal -1 0 0 outer loop vertex 0 0.0005 -0.0005 vertex 0 -0.0005 -0.0005 vertex 0 -0.0005 0.0005 endloop endfacet facet normal -1 -0 -0 outer loop vertex 0 -0.0005 0.0005 vertex 0 0.0005 0.0005 vertex 0 0.0005 -0.0005 endloop endfacet endsolid channel_inlet solid channel_sides facet normal 0 -1 0 outer loop vertex 0.01 -0.0005 0.0005 vertex 0 -0.0005 0.0005 vertex 0 -0.0005 -0.0005 endloop endfacet facet normal 0 -1 0 outer loop vertex 0 -0.0005 -0.0005 vertex 0.01 -0.0005 -0.0005 vertex 0.01 -0.0005 0.0005 endloop endfacet facet normal 0 0 -1 outer loop vertex 0.01 -0.0005 -0.0005 vertex 0 -0.0005 -0.0005 vertex 0 0.0005 -0.0005 endloop endfacet facet normal -0 -0 -1 outer loop vertex 0 0.0005 -0.0005 vertex 0.01 0.0005 -0.0005 vertex 0.01 -0.0005 -0.0005 endloop endfacet facet normal 0 1 0 outer loop vertex 0.01 0.0005 -0.0005 vertex 0 0.0005 -0.0005 vertex 0 0.0005 0.0005 endloop endfacet facet normal 0 1 0 outer loop vertex 0 0.0005 0.0005 vertex 0.01 0.0005 0.0005 vertex 0.01 0.0005 -0.0005 endloop endfacet facet normal -0 0 1 outer loop vertex 0.01 0.0005 0.0005 vertex 0 0.0005 0.0005 vertex 0 -0.0005 0.0005 endloop endfacet facet normal 0 -0 1 outer loop vertex 0 -0.0005 0.0005 vertex 0.01 -0.0005 0.0005 vertex 0.01 0.0005 0.0005 endloop endfacet endsolid channel_sides solid channel_outlet facet normal 1 0 0 outer loop vertex 0.01 -0.0005 0.0005 vertex 0.01 -0.0005 -0.0005 vertex 0.01 0.0005 -0.0005 endloop endfacet facet normal 1 0 0 outer loop vertex 0.01 0.0005 -0.0005 vertex 0.01 0.0005 0.0005 vertex 0.01 -0.0005 0.0005 endloop endfacet endsolid channel_outlet Regards, Gary |
3 Attachment(s)
Just to make sure any body has an interest to help me, I have uploaded the essential files.
Thanks |
refineWallLayer command
Hello Gary,
I am also facing issues about layer addition process in snappyHexMesh. But I have found a way that mentioned in the forum which worked for me. Set the layer number to 1 in the snappyHexMeshDict file. Code:
nSurfaceLayers 1; Code:
refineWallLayer sides 0.3 Yusuf. |
Hi Yusuf,
Many thanks for you help. I guess using this utility, say refineWallLayer "sides" 0.5, several times can get stretched near wall layers. Regards, Gary |
All times are GMT -4. The time now is 07:00. |