|
[Sponsors] |
July 5, 2022, 06:49 |
Cylinder hex mesh refined close to the wall
|
#1 |
New Member
Benjamin
Join Date: Jul 2015
Posts: 21
Rep Power: 11 |
Hello all, I was wondering for a simple pipe (cylinder) geometry, how to have the mesh coarse in the centre and finer close to the wall, using hex mesh only?
Thanks! EDIT: by the way I am looking for something like this: https://www.cfd-online.com/Forums/at...mesh_ogrid.jpg But I am not using IcemCFD, I am using Ansys Fluent mesher, and I tried setting the same parameters as in the picture but with poor results... |
|
July 5, 2022, 07:39 |
|
#2 | |
Member
Void_CFD-user
Join Date: Feb 2022
Posts: 67
Rep Power: 4 |
Quote:
|
||
July 5, 2022, 07:57 |
|
#3 |
New Member
Benjamin
Join Date: Jul 2015
Posts: 21
Rep Power: 11 |
I believe I might be using the Ansys meshing, it seems to be called CFD PrepPost
|
|
July 5, 2022, 08:20 |
|
#4 | |
Member
Void_CFD-user
Join Date: Feb 2022
Posts: 67
Rep Power: 4 |
Quote:
If you wanna do it manually, take one end face of the cylinder, put a square in the middle, and extend the squares vertices perpendicularly to the edge of cylinder face. This way you can get a mesh exactly like the image you shared. |
||
July 5, 2022, 08:35 |
|
#5 |
New Member
Benjamin
Join Date: Jul 2015
Posts: 21
Rep Power: 11 |
Is there any parameter I can set in the Face meshing? There isn't much I seem to be able to change:
So I tried using the sweep method and face meshing (on both inlet and outlet faces) but I'm not able to get inflation layers, even in the global options of the mesh. I get something like this: |
|
July 5, 2022, 08:59 |
|
#6 | |
Member
Void_CFD-user
Join Date: Feb 2022
Posts: 67
Rep Power: 4 |
Quote:
|
||
July 11, 2022, 13:18 |
|
#7 |
New Member
Benjamin
Join Date: Jul 2015
Posts: 21
Rep Power: 11 |
I tried manual method and I've had some good results by following a tutorial (https://youtu.be/8_osCXZjv_g) but I don't get the same when applying it to my geometry.
Here's how it looks with the cylinder of the tutorial: And here's how it looks like with my geometry: The two differences between my geometry and that of the tutorial are the dimensions of the middle square compared to the diameter of the pipe (it's not really possible to get the same ratio) and the fact that my geometry is not just a cylinder but a pipe with a bend. Anyone would know how to fix that? |
|
July 14, 2022, 03:16 |
|
#8 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
in tutorial there are more points on middle square edges
also distances between points on exteral circle are not even, this is the difference
__________________
best regards ****************************** press LIKE if this message was helpful |
|
July 14, 2022, 05:41 |
|
#9 | |
Member
Void_CFD-user
Join Date: Feb 2022
Posts: 67
Rep Power: 4 |
Quote:
|
||
July 14, 2022, 07:33 |
|
#10 |
New Member
Benjamin
Join Date: Jul 2015
Posts: 21
Rep Power: 11 |
Thank you for your answers. I indeed had manged to solve this issue by applying an edge sizing on the outer part of the cylinder. But now I notice I am facing another issue which I think has to do with the fact that I am not using the same ratio of the size of the square compared to the cylinder diameter. In this case here is what I get:
While if I apply the same ratio it works fine. By the way I had created another thread on the meshing subforum to talk about this problem because I noticed I was not on the right subforum. Feel free to close this thread and reply on the other one (O-grid mesh on cylinder with 90 degree angle not pretty) or vice-versa. Thanks again for your help! |
|
July 14, 2022, 07:46 |
|
#11 | |
Member
Void_CFD-user
Join Date: Feb 2022
Posts: 67
Rep Power: 4 |
Quote:
|
||
Tags |
fluent, hex mesh, pipe |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[blockMesh] FATAL ERROR: face 6 in patch 2 does not have neighbour cell face: 4(8 9 21 20) | robingilbert | OpenFOAM Meshing & Mesh Conversion | 28 | November 23, 2023 07:32 |
[blockMesh] Openfoam: Meshing, where do my defaultFaces come from | syntex | OpenFOAM Meshing & Mesh Conversion | 19 | December 10, 2018 08:21 |
pimpleDyMFoam - rho not found | maasyraf3 | OpenFOAM Running, Solving & CFD | 10 | June 5, 2017 14:05 |
[blockMesh] apparently the mesh doesn't want to be created in one direction | Maxime Thomas | OpenFOAM Meshing & Mesh Conversion | 1 | August 18, 2012 07:05 |
Mesh distortion close to cylind wall-GAMBIT 2.2.30 | Mirek | FLUENT | 1 | April 15, 2006 18:22 |