longueur = 10.0;
epaisseur = 1;
milieuh = 2*epaisseur / 3;
milieub = epaisseur / 3;
raffFin = 0.1;
raffGrossier = 0.1;

Point(1) = {0,0,0,raffGrossier};
Point(2) = {longueur,0,0,raffGrossier};
Point(3) = {longueur,epaisseur,0,raffGrossier};
Point(4) = {0,epaisseur,0,raffGrossier};
Point(5) = {0,milieuh,0,raffFin};
Point(6) = {longueur,milieuh,0,raffFin};
Point(7) = {0,milieub,0,raffGrossier};
Point(8) = {longueur,milieub,0,raffFin};
Point(9) = {5,1,0,raffGrossier};
Point(10) = {5,0,0,raffGrossier};
Point(11) = {5,milieuh,0,raffFin};
Point(12) = {5,milieub,0,raffFin};


Line(1) = {1,10};
Line(2) = {10,2};
Line(3) = {7,12};
Line(4) = {12,8};
Line(5) = {5,11};
Line(6) = {11,6};
Line(7) = {4,9};
Line(8) = {9,3};
Line(9) = {1,7};
Line(10) = {7,5};
Line(11) = {5,4};
Line(12) = {10,12};
Line(13) = {12,11};
Line(14) = {11,9};
Line(15) = {2,8};
Line(16) = {8,6};
Line(17) = {6,3};
Line Loop(18) = {-7,-11,5,14};
Plane Surface(19) = {18};
Line Loop(20) = {5,-13,-3,10};
Plane Surface(21) = {20};
Line Loop(22) = {-3,-9,1,12};
Plane Surface(23) = {22};
Line Loop(24) = {17,-8,-14,6};
Plane Surface(25) = {24};
Line Loop(26) = {-6,-13,4,16};
Plane Surface(27) = {26};
Line Loop(28) = {4,-15,-2,12};
Plane Surface(29) = {28};


p1 = 0.01;
p2 = 0.1;
p3 = 20;

Attractor Line{5} = {p1, p2, p3};
Attractor Line{6} = {p1, p2, p3};
Attractor Line{13} = {p1, p2, p3};
Attractor Line{4} = {p1, p2, p3};  // Enlevez cette ligne et ca fonctionne!
