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

[snappyHexMesh] Adding Layers to a curved Geometry

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   November 4, 2021, 10:13
Default Adding Layers to a curved Geometry
  #1
New Member
 
Join Date: May 2020
Posts: 11
Rep Power: 6
I7aniel is on a distinguished road
Hello everyone,

I am trying to simulate a flow through a pourous media. Therefore I have a geometry exported out of CAD and tried to mesh it with SHM. I want to do a 2D simulation so i plan on creating a 2D mesh using extrudeMesh after i create the mesh out of the CAD file. I attached the STL File which I use. I tried adding layer using the light red patches. Therefore Layers are added from both sides.

Inside the mesh this worked for three layers, however adding more layers results in problems due to the displacement of the other cells. Has anybody an idea how I can add more layers or how I can mesh the cells to follow the boundary? It is very important to the simulation that the cells "follow" the curved geometry at the left side over the hole diameter.

I added a screenshot of the mesh with 3 layers, this is how it should look like but the layers over the complete diameter. I also don't understand why the outside of the mesh has no layers (see also screenshot).

Has anybody an idea how i can mesh the curved geometry, so that the cells follow the outer walls? With blockMesh and splines i can create a geometry like that but I need the exact geometry from the CAD files.

Thanks in advance guys!
Attached Images
File Type: jpg 3Layers_slice.JPG (71.9 KB, 47 views)
File Type: jpg 3layers_outside.JPG (68.2 KB, 44 views)
File Type: jpg 4_layers_not_working.JPG (81.1 KB, 44 views)
File Type: jpg STL_file.JPG (16.6 KB, 37 views)
I7aniel is offline   Reply With Quote

 


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
[DesignModeler] ANSYS cannot read layers in my geometry ljjan ANSYS Meshing & Geometry 0 October 2, 2018 19:53
[Other] Meshing curved geometry zannatul OpenFOAM Meshing & Mesh Conversion 1 October 21, 2015 18:59
[snappyHexMesh] SnappyHexMesh no layers and no decent mesh for complex geometry pizzaspinate OpenFOAM Meshing & Mesh Conversion 1 February 25, 2015 07:05
[snappyHexMesh] fail adding layers Tensian OpenFOAM Meshing & Mesh Conversion 2 November 4, 2013 11:22
[snappyHexMesh] Effect of adding layers with sHM Nucleophobe OpenFOAM Meshing & Mesh Conversion 4 August 20, 2012 16:45


All times are GMT -4. The time now is 17:13.