|
[Sponsors] |
[Salome] Boundary layer mesh on hybrid meshes with submeshes |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 16, 2023, 08:29 |
Boundary layer mesh on hybrid meshes with submeshes
|
#1 |
Member
Giorgio
Join Date: Mar 2023
Posts: 55
Rep Power: 3 |
Dear all, I am trying to mesh a T-junction of 3 pipes. Here is the geometry
I would like to mesh the 3 rectilinear section with a 3D extrusion, and the T-junction in the middle with an unstructured mesh of tetrahedra. I also would like to have a boundary layer on the walls. So, I generated a partition and exploded in 4 solids: 3 cylinders and a T. See figure: Then I generated a submesh on the faces connecting the cylinder and the T, and another submeshes for the extrusion of the cylindrial meshes. So far, so good, see picture: Also you can notice a nice boundary layer on the cylinders Now, I define the global mesh as Netgen 3D, put the same parameters as the other mesh hoping that Salome will propagate the mesh in the T with the boundary layer, but when I generate the mesh, the boundary layer is disappeared on the cylinders. No way to have it back. Here is the picture of the whole mesh: and if I display only the mesh on the cylinders: ... the boundary layer is gone. Am I missing something? Is it a limitation of Salome? Thanks in advance |
|
June 16, 2023, 11:31 |
|
#2 |
Senior Member
Join Date: Dec 2021
Posts: 251
Rep Power: 5 |
Hey
I would proceed the other way around: start with the unstructured volume, and mesh it with boundary layers (by adding a hypothesis within the netgen settings). Tune your settings until you are satisfied with the look of your three connections towards the straights pipes. Then create submeshes and use "3D Extrusion" for each straight pipe with the starting face being the face connected to the T-junction, and the ending face the outlets/inlets. This way, you will propagate the boundary layers of your T-junction. |
|
June 16, 2023, 12:35 |
|
#3 | |
Member
Giorgio
Join Date: Mar 2023
Posts: 55
Rep Power: 3 |
Quote:
Hello, thanks for your answer. It doesn't work either. I created a submesh for the T, it generates it with boundary layers: Then I created another submeshes for the straight pipes using 3d estrusion, when I generated it , the bounday layer is gone (it is still present on the T though, meaning the mesh is not conformal) I know it seems trivial, but I turned around this problem for some days now, tried in every way possible, it doesn't work. |
||
June 16, 2023, 15:04 |
|
#4 |
Senior Member
Join Date: Dec 2021
Posts: 251
Rep Power: 5 |
Are you sure you extrude from the T-junction towards the extremities? It does work for me.
|
|
June 19, 2023, 04:06 |
|
#5 |
Member
Giorgio
Join Date: Mar 2023
Posts: 55
Rep Power: 3 |
||
June 19, 2023, 04:20 |
|
#6 |
Senior Member
Join Date: Dec 2021
Posts: 251
Rep Power: 5 |
You didn't mention explicitly which face you used as starting face for the 3D Extrusion, that's why I asked again. I didn't save the file, but I used Salome 9.10 if that makes any difference.
|
|
June 19, 2023, 04:32 |
|
#7 | |
Member
Giorgio
Join Date: Mar 2023
Posts: 55
Rep Power: 3 |
Quote:
I am on Salome 9.9 . When I do the 3D extrusion, I don't specify the face to start the extrusion. I use Extrusion 3D as 3D algorithm, Wire Discretization as 1D algorithm with a Local Length which specify the extrusion length. I don't see how to specify the face to extrude. Here is my files on Dropbox if you want to take a look https://www.dropbox.com/s/0v7ly43q5t...study.hdf?dl=0 |
||
June 19, 2023, 05:28 |
|
#8 | |
Member
Giorgio
Join Date: Mar 2023
Posts: 55
Rep Power: 3 |
Quote:
Sorry I uploaded the wrong file. It's actually quite the same, but the correct one is here: https://www.dropbox.com/s/cj53nbrh5m...ified.hdf?dl=0 |
||
June 19, 2023, 11:19 |
|
#9 |
Member
Giorgio
Join Date: Mar 2023
Posts: 55
Rep Power: 3 |
||
June 20, 2023, 05:03 |
|
#10 |
Senior Member
Join Date: Dec 2021
Posts: 251
Rep Power: 5 |
Hey
I took a look at your file, and the main issue you had is that the three straight sections are in one unique group. You have to define one group per pipe so that you can create one submesh per pipe. I attached a picture of what it looks like in Salome (the modified t-junction is the "junction_corr"). And you actually don't have to define a starting face when you extrude, my mistake it seems that Salome can tell which face to use for the sweep, but I created groups anyways, so ignore them. Hope it helps! |
|
June 20, 2023, 05:17 |
|
#11 | |
Member
Giorgio
Join Date: Mar 2023
Posts: 55
Rep Power: 3 |
Quote:
Hello Alczem, yes indeed that helped a lot. The mesh generation now works as expected in this geometry. Indeed, this was a simplified example, in the reality I have several straight pipes connected to Ts. I am wondering if having a straight pipe connected with 2 Ts at both end will still work with this procedure, as now the extrusion I constrained at both ends. Maybe chosing the priorities between section in a smart way... I'll try it out, thanks for the help so far. |
||
June 20, 2023, 09:26 |
|
#12 |
Member
Giorgio
Join Date: Mar 2023
Posts: 55
Rep Power: 3 |
Well, it actually generates a mesh with boundary layers, but every time I generate a mesh of a T attached to a pipe that I already meshed, the mesh seems not to be conformal... when I try to export it to OpenFoam, some default patches are generated.
So all in all the mesh is not valid again. |
|
Tags |
boundary layer, hybrid meshes, submeshes |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[ICEM] Hybrid mesh for 2D boundary layer | Bigio | ANSYS Meshing & Geometry | 33 | November 18, 2019 10:15 |
Boundary Layer Mesh must cover the whole thickness of BL | sasanghomi | CFX | 2 | June 11, 2019 22:16 |
[snappyHexMesh] Layers:problem with curvature | giulio.topazio | OpenFOAM Meshing & Mesh Conversion | 10 | August 22, 2012 10:03 |
[snappyHexMesh] Boundary layer generation problems | ivan_cozza | OpenFOAM Meshing & Mesh Conversion | 0 | October 6, 2010 14:47 |
RPM in Wind Turbine | Pankaj | CFX | 9 | November 23, 2009 05:05 |