[Gmsh] 2 equivalent meshes
Giuntoli Guido Alfredo
ggiuntoli at tecna.com
Mon Aug 8 13:59:35 CEST 2016
nx=5;
ny=5;
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) = {1, 2};
Line(2) = {2, 3};
Line(3) = {3, 4};
Line(4) = {4, 1};
Transfinite Line {1, 3} = nx+1 Using Progression 1;
Transfinite Line {2, 4} = ny+1 Using Progression 1;
Point(5) = {0, -2, 0, 1.0};
Point(6) = {2, -2, 0, 1.0};
Point(7) = {2, 2, 0, 1.0};
Point(8) = {0, 2, 0, 1.0};
Line(5) = {5, 6};
Line(6) = {6, 7};
Line(7) = {7, 8};
Line(8) = {8, 5};
Transfinite Line {7, 5} = 2*nx+1 Using Progression 1;
Transfinite Line {8, 6} = 4*ny+1 Using Progression 1;
Line Loop(9) = {7, 8, 5, 6};
Plane Surface(10) = {9};
Transfinite Surface {10};
Line Loop(11) = {3, 4, 1, 2};
Plane Surface(12) = {11};
Transfinite Surface {12};
Recombine Surface {12, 10};
De: gmsh [mailto:gmsh-bounces at ace20.montefiore.ulg.ac.be] En nombre de Jayaraman, Vegnesh
Enviado el: domingo, 07 de agosto de 2016 08:41 p.m.
Para: gmsh at onelab.info
Asunto: [Gmsh] 2 equivalent meshes
Hi
I am trying to generate 2 meshes.
The domain for 2 meshes
D1 = X,Y = [0,1] x [0,1] A square with x going from 0 to 1 and y in the same range.
D2 = X,Y = [0,2] x [-2,2]
I have the D1 geometry (Points and lines) in D2 when I create D2.
I wish to create a 2D mesh of D1 and D2 such that the mesh elements of D1 and the mesh elements of the D1 region in D2 are the same.?
How do I do this?
Thanks and Regards
Vegnesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20160808/968a744a/attachment.html>
More information about the gmsh
mailing list