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

[snappyHexMesh] snappyHexMesh: How to add layers to part of an STL?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 14, 2018, 11:59
Post snappyHexMesh: How to add layers to part of an STL?
  #1
Member
 
Marc
Join Date: May 2017
Posts: 42
Rep Power: 9
Dreoasteh is on a distinguished road
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.
Dreoasteh is offline   Reply With Quote

Reply

Tags
addlayers, snappyhexmesh


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
[CAD formats] Creating waterproof STL using snappyHexMesh or salome Tobi OpenFOAM Meshing & Mesh Conversion 58 May 13, 2020 07:01
[snappyHexMesh] Add boundary layers on walls of a rectangular channel using SnappyHexMesh Gary OpenFOAM Meshing & Mesh Conversion 2 July 10, 2018 12:04
[snappyHexMesh] sHM - Creating boundary different boundary layers on different STL surface amitverma OpenFOAM Meshing & Mesh Conversion 0 April 23, 2016 11:04
[snappyHexMesh] 2D snappyHexMesh with layers grjmell OpenFOAM Meshing & Mesh Conversion 2 May 27, 2013 13:00
[snappyHexMesh] snappyHexMesh layers part marine OpenFOAM Meshing & Mesh Conversion 7 April 27, 2010 08:09


All times are GMT -4. The time now is 15:50.