X-Git-Url: https://melusine.eu.org/syracuse/G/git/?p=delaunay.git;a=blobdiff_plain;f=test%2Fmaillage.geo;fp=test%2Fmaillage.geo;h=c1c3dbe149bea66ec073c9246bd3a25404504d7e;hp=0000000000000000000000000000000000000000;hb=581ccb9539f0af81056af73d3354fd895f1d7d55;hpb=de12f6c65e1e5533bf5971313ba6d0dced4a5666 diff --git a/test/maillage.geo b/test/maillage.geo new file mode 100644 index 0000000..c1c3dbe --- /dev/null +++ b/test/maillage.geo @@ -0,0 +1,26 @@ +// http://perso.ensta-paristech.fr/~kielbasi/docs/gmsh.pdf +lc =0.2; // parametre de taille de maille +// generation du rectangle +Point (1) = {0, 0, 0, lc} ; +Point (2) = {2, 0, 0, lc} ; +Point (3) = {2, 1, 0, lc} ; +Point (4) = {0, 1, 0, lc} ; +Line (1) = {1, 2}; +Line (2) = {2, 3}; +Line (3) = {3, 4}; +Line (4) = {4, 1}; +// generation de l'ellipse +Point (5) = {1, 0.5, 0, lc} ; +Point (6) = {1.5, 0.5, 0, lc} ; +Point (7) = {1, 0.75, 0, lc} ; +Point (8) = {0.5, 0.5, 0, lc} ; +Point (9) = {1, 0.25, 0, lc} ; +Ellipse (5) = {6, 5, 6, 7} ; +Ellipse (6) = {7, 5, 8, 8} ; +Ellipse (7) = {8, 5, 8, 9} ; +Ellipse (8) = {9, 5, 6, 6} ; +// generation des contour +Line Loop (1) = { 1 , 2 , 3 , 4 } ; +Line Loop (2) = { 5 , 6 , 7 , 8 } ; +// generation de la surface +Plane Surface (1) = {1 ,2};