[Gmsh] consistent structured mesh
Boehm, Christian Hermann Kurt
christian.boehm at hm.edu
Thu Mar 16 18:59:04 CET 2017
Dear gmsh-community,
i really need your help because otherwise i will despair. I use gmsh for my masterthesis in computational engineering for geometry modeling and finite-element meshing.
My problem is, that i can't create a consistent structured mesh of e.g. a T-section. Here is a little example:
Point(1)={0,0,0};
Point(2)={10,0,0};
Point(3)={10,10,0};
Point(4)={0,10,0};
Point(5)={2.5,6,0};
Point(6)={7.5,6,0};
Point(7)={7.5,6,10};
Point(8)={2.5,6,10};
Line(1)={1,2};
Line(2)={2,3};
Line(3)={3,4};
Line(4)={4,1};
Line(5)={5,6};
Line(6)={6,7};
Line(7)={7,8};
Line(8)={8,5};
Line Loop(1)={1,2,3,4};
Line Loop(2)={5,6,7,8};
Plane Surface(1)={1};
Plane Surface(2)={2};
Line{5} In Surface{1};
Transfinite Surface{1:2};
Recombine Surface{1:2};
Is it possible to create a structured mesh, so that there will be nodes created on line(5) which is in surface(2). This is necessary for me, because the meshes of the two plates have to be consistent.
Or is there any other way to create a consistent structured mesh for this example.
I know that i can split the "ground-plate" by defining more lines and planes to get a structured mesh, but this is not expedient.
Thank you very much for your help.
Kind regards,
Christian
Munich University of Applied Sciences
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20170316/911bfc86/attachment.html>
More information about the gmsh
mailing list