|
[Sponsors] |
July 24, 2023, 05:01 |
|
#41 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,206
Rep Power: 28 |
Hi Hossein,
Adding layers in multiregion cases is pretty straightforward in recent OpenCFD branch (openfoam.com), it's a bit trickier in the foundation branch (openfoam.org). AFAIK, you need to mesh in 2 steps: running snappyHexMesh once without layers, then create baffles and run snappy a 2nd time only for the layers addition phase. Have a look at the shellAndTubeHeatExchanger tutorial, especially the Allmesh.layers script which, I think, does what you are trying to achieve: https://github.com/OpenFOAM/OpenFOAM...eHeatExchanger Hope this helps, Yann |
|
August 10, 2023, 04:22 |
|
#42 | |
New Member
Hossein Sheikhshoaie
Join Date: Sep 2022
Posts: 6
Rep Power: 4 |
Hey Yann,
I really appreciate your guidance. Well I completely redefined my case, I have tried different methods , different stl files (created by salome and solidworks with various meshes). Now there is a little problem, a few number (very low in compare to the whole number) of faces on an interface are named different from created interface's name (they get the name of their stl file and has been shown in attached picture), however there are in the correct region means there is no extra regions. In my opinion this can be addressed can by defining BCs as same as interface for these faces. I had an unsuccessful effort to solve this problem by adjusting snappyHexMesh parameters but this arises from stl files (I've already changed all snappy's parameters). In addition It doesn't show a linear behavior by increasing or decreasing the resolution of slt's mesh. Unfortunately, it is weakly related to some mesh parameters too. The snappyHexMesh containment has been brought below. In addition the faces has been illustrated in attached picture. surprisingly There is no problem with the more complex pipe which has five 180 degree bends. I'm pressed for time to finish this project, I was wondering if you let me know how this faces can interfere the mesh quality and numerical solution. Because, My geometries will becoming more complicated. In addition, I will be grateful if I can have your Email address. Regards, Hossein Quote:
|
||
|
|
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] Running snappyHexMesh in parallel - optimizing | peterhess | OpenFOAM Meshing & Mesh Conversion | 2 | January 3, 2018 03:54 |
[snappyHexMesh] Tutorial crashes: snappyHexMesh floating point exception. | jasv | OpenFOAM Meshing & Mesh Conversion | 4 | May 10, 2016 03:55 |
[snappyHexMesh] snappyhexmesh doesn't creat mesh in parallel issue? | klausb | OpenFOAM Meshing & Mesh Conversion | 1 | March 7, 2015 12:55 |
[snappyHexMesh] stitchMesh and snappyHexMesh | gdbaldw | OpenFOAM Meshing & Mesh Conversion | 0 | December 23, 2009 03:09 |