|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Join Date: Sep 2024
Posts: 6
Rep Power: 2 ![]() |
Hello, I'm trying to create a simple transfinite triangle using the Mesh.TransfiniteTri option in GMSH. Everything works fine without using progression ratios, however, when I add even a slight progression ratio to my lines, I end up with what is shown in the picture "mesh.png".
I was hoping instead to have all lines running vertical and horizontal, parallel to the smaller sides of the triangle, as in "mesh_ok.png". If this is not the correct approach to such a problem then perhaps someone is able to point me in the right direction. I sincerely appreciate any help. Below are the few lines of code within my .geo file: h = 0.1; r = 0.95; N = 11; Point(2) = {0, 0, 0, h}; Point(3) = {1, 0, 0, h}; Point(1) = {0, 1, 0, h}; Line(1) = {1, 2}; Line(2) = {2, 3}; Line(3) = {3, 1}; Line Loop(1) = {1, 2, 3}; Plane Surface(1) = {1}; Transfinite Curve{1} = N Using Progression r; Transfinite Curve{2} = N Using Progression r; Transfinite Curve{-3} = N Using Progression r; Transfinite Surface{1} = {1, 2, 3} Right; Recombine Surface{1}; Mesh.TransfiniteTri = 1; |
|
![]() |
![]() |
![]() |
Tags |
gmsh, transfinite |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Salome meshing - Algorithm Gmsh | FM_Stiral | Mesh Generation & Pre-Processing | 1 | September 19, 2019 17:42 |
[Gmsh] Converting gmsh to OpenFoam | Friendly | OpenFOAM Meshing & Mesh Conversion | 3 | June 26, 2018 06:46 |
[OpenFOAM] Paraview 3.98 - errors when saving geometry file | pajot | ParaView | 1 | September 28, 2013 11:45 |
[Gmsh] 2D Mesh Generation Tutorial for GMSH | aeroslacker | OpenFOAM Meshing & Mesh Conversion | 12 | January 19, 2012 04:52 |
[Gmsh] Import problem | ARC | OpenFOAM Meshing & Mesh Conversion | 0 | February 27, 2010 11:56 |