|
[Sponsors] |
Prevent layers collapsing in gmsh transfinite mesh |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
Member
Eduardo Firvida
Join Date: Dec 2010
Posts: 53
Rep Power: 16 ![]() |
Hi, to keep it simple, I have this gmsh file script file, which represents a rectangular domain, I want a structured mesh with progression from bottom to top. But when I generate the 2D mesh, the layers collapse in the bottom corners; I don't have any clue.
Code:
Point(1) = {0, 0, 0, 1e+22}; Point(2) = {0, 0.5, 0, 1e+22}; Point(3) = {1, 0.5, 0, 1e+22}; Point(4) = {1, 0, 0, 1e+22}; Line(1) = {1, 2}; Line(2) = {2, 3}; Line(3) = {3, 4}; Line(4) = {4, 1}; Line Loop(1) = {1, 2, 3, 4}; Transfinite Line {1,-3} = 20 Using Progression 1.2; Transfinite Line {2} = 50; Transfinite Line {4} = 50; Plane Surface(1) = {1}; Transfinite Surface {1} = {1,2,3,4}; Recombine Surface {1}; ![]() |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] Boundary Layers on TPMS with SnappyHexMesh | MCRB8 | OpenFOAM Meshing & Mesh Conversion | 12 | May 11, 2024 20:47 |
[snappyHexMesh] SnappyHexMesh/splitMeshRegion : region1 in zone "-1" | GuiMagyar | OpenFOAM Meshing & Mesh Conversion | 3 | August 4, 2023 12:38 |
[snappyHexMesh] Add Mesh Layers doesnt work on the whole surface | Kryo | OpenFOAM Meshing & Mesh Conversion | 13 | February 17, 2022 07:34 |
GMSH - Very strange effect - Mesh elements deleted when saving | Araist | Mesh Generation & Pre-Processing | 3 | July 15, 2015 06:03 |
[Gmsh] GMSH and OpenFOAM | derath | OpenFOAM Meshing & Mesh Conversion | 44 | September 4, 2008 05:09 |