May 14, 2018, 11:59
|
snappyHexMesh: How to add layers to part of an STL?
|
#1
|
Member
Marc
Join Date: May 2017
Posts: 42
Rep Power: 9
|
Quote:
Hi everyone,
I have an issue with addLayers in snappyHexMesh, I hope you can help me out.
My geometry can be seen in the "geometry" image below.
I wish to add some layers to the inside of the injector (near "Inlet 2"). I have tried to add these layers to the patch but the following happens (see "layers" image)
So I have layers on the interior and exterior of the injector, which I want to avoid as the exterior is not a region of interest.
I have also tried splitting the injector STL geometry into two non-closed surface STLs which define the interior and exterior. In theory, in this way I could specify only the interior patch in addLayers to get what I want. The problem is that this way snappyHexMesh does not build the mesh correctly (i.e. does not detect the two patches) and meshes all the domain with a regular mesh.
So, what could I do? Is the last option I tried possible but I just didn't do it correctly? Or is there some other way to do this?
Thank you!
|
Solved: splitting the STL was the correct approach
Last edited by Dreoasteh; May 15, 2018 at 06:40.
|
|
|