|
[Sponsors] |
February 2, 2020, 19:32 |
Structured Meshing with Gmsh
|
#1 |
Member
Mondal
Join Date: Sep 2018
Location: Canberra ACT
Posts: 68
Rep Power: 7 |
Hi all,
I hope you are doing well. I am a bit newer in Gmsh meshing. Actually, I was trying to create a square cavity with a structured mesh using Gmsh. Now I need to make a more dense mesh close to the walls inside the square cavity. Please see the picture and geo file attached here. Fortunately, I was able to make a dense mesh on two sides (left and bottom) of the cavity so far. I need to create the same dense mesh close to the other (upper or top) side as well. Is it possible to do it? I think it's possible but I don't know how to do it. Is there anyone who can help me with this issue? This might be a silly issue for someone but its very important for me right now? Any help would be appreciated... Thank you in advance! Best Regards Razon |
|
February 3, 2020, 19:44 |
Gmsh structured meshing
|
#2 | |
Member
Mondal
Join Date: Sep 2018
Location: Canberra ACT
Posts: 68
Rep Power: 7 |
Quote:
Cheers Razon |
||
February 4, 2020, 04:52 |
|
#3 |
Senior Member
Join Date: Mar 2014
Posts: 112
Rep Power: 12 |
There are different ways to do it with gmsh for example:
Point(1) = {0, 0, 0, 1.0}; Point(2) = {1, 0, 0, 1.0}; Point(3) = {1, 1, 0, 1.0}; Point(4) = {0, 1, 0, 1.0}; Line(1) = {2, 1}; Line(2) = {1, 4}; Line(3) = {4, 3}; Line(4) = {3, 2}; Line Loop(1) = {2, 3, 4, 1}; Plane Surface(1) = {1}; Transfinite Surface {1} = {4, 3, 2, 1}; Transfinite Line {1,2,-3,-4} = 100 Using Bump 0.15; Recombine Surface {1}; |
|
February 4, 2020, 19:42 |
|
#4 | |
Member
Mondal
Join Date: Sep 2018
Location: Canberra ACT
Posts: 68
Rep Power: 7 |
Quote:
Thank you very much for your reply. It is what I was looking for. You helped me a lot. Cheers Razon |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Gmsh] Meshing of a cone with Gmsh didn't quite work | ehofgen | OpenFOAM Meshing & Mesh Conversion | 4 | May 2, 2018 16:45 |
[Gmsh] GMSH : structured mesh issue | bibiboom | OpenFOAM Meshing & Mesh Conversion | 0 | May 17, 2017 18:49 |
[Gmsh] 3D Free surface flow past circular cylinder meshing using GMSH | arieljeds | OpenFOAM Meshing & Mesh Conversion | 7 | January 14, 2017 12:57 |
[Gmsh] Gmsh: Unstructured to Structured Mesh geometry | ChasingNeutrons | OpenFOAM Meshing & Mesh Conversion | 0 | November 22, 2016 12:55 |
Structured Mesh in GMSH | vitor | Main CFD Forum | 4 | April 28, 2010 08:15 |