# [Gmsh] Meshing a dam

Jose Paulo Moitinho de Almeida moitinho at civil.ist.utl.pt
Mon Jun 14 11:54:29 CEST 2004

```Hello

Some time ago we tried to use gmsh to obtain a tetra mesh of a dam, for which
we had a "not perfect" hexahedral mesh.

We used a semi-manual procedure, automatically extracting the points in the
faces and the corresponding splines and then we defined by hand, one by one,
the ruled surfaces which were finally merged. At least this is how I now
remember the process...

The resulting mesh had too much bad elements and we needed the mesh quickly,
so we implemented "by hand" an hex to tetra conversion and left the geo file
for future study.

After another look at this file, I corrected some problems with inconsistent
orientations, but cannot find further problems. Nevertheless we keep having a
few unreasonable elements (slivers?), both with the large characteristic
length (just dividing the hexs in tetras) and with small one.

Alternatives:

1) There are bugs in the geo file. This is quite probable. In that case could
you please tell me where? Or even better: how can I help in implementing a
geometry checker? Quite a few questions posted to the list are due to simple
mistakes in the geometry file.

2) It is a problem with gmsh. Then I just hope that this file may help as a
test case.

Regards

ZP
-------------- next part --------------
lc = 100;
lc2 = lc;
Point(183) = {104.281, 293.5, 35.663, lc};
Point(184) = {103.657, 290, 36.38, lc};
Point(185) = {92.87, 290, 27.799, lc};
Point(186) = {94.254, 280, 25.894, lc};
Point(187) = {104.963, 280, 34.878, lc};
Point(4) = {-145.175, 283.75, 89.584, lc};
Point(5) = {-143.522, 280, 90.217, lc};
Point(6) = {-140.889, 297, 76.104, lc};
Point(7) = {-130.982, 297, 63.909, lc};
Point(8) = {-130.204, 293.5, 64.45399999999999, lc};
Point(9) = {-129.426, 290, 64.999, lc};
Point(56) = {-59.657, 260, 0.213, lc};
Point(57) = {-58.808, 270, 2.423, lc};
Point(58) = {-76.131, 237, 9.378, lc};
Point(15) = {-124.357, 260, 61.915, lc};
Point(16) = {-134.248, 267.5, 79.167, lc};
Point(17) = {-124.973, 255, 68.117, lc};
Point(18) = {-124.803, 257.5, 64.949, lc};
Point(19) = {-118.829, 297, 48.63, lc};
Point(20) = {-104.904, 297, 34.946, lc};
Point(21) = {-104.281, 293.5, 35.663, lc};
Point(22) = {-103.657, 290, 36.38, lc};
Point(23) = {-117.417, 290, 49.901, lc};
Point(24) = {-117.566, 280, 47.895, lc};
Point(25) = {-104.963, 280, 34.878, lc};
Point(26) = {-104.387, 285, 35.54, lc};
Point(27) = {-115.741, 260, 47.694, lc};
Point(28) = {-105.358, 260, 34.423, lc};
Point(29) = {-105.579, 270, 34.169, lc};
Point(30) = {-114.974, 249, 54.591, lc};
Point(31) = {-104.974, 243, 41.065, lc};
Point(32) = {-105.699, 251.5, 37.198, lc};
Point(33) = {-93.98699999999999, 297, 26.262, lc};
Point(34) = {-82.355, 297, 18.563, lc};
Point(35) = {-92.87, 290, 27.799, lc};
Point(36) = {-81.376, 290, 20.192, lc};
Point(37) = {-81.86499999999999, 293.5, 19.377, lc};
Point(38) = {-94.254, 280, 25.894, lc};
Point(39) = {-82.756, 280, 17.895, lc};
Point(40) = {-82.098, 285, 18.991, lc};
Point(41) = {-95.432, 260, 24.274, lc};
Point(42) = {-84.43300000000001, 260, 15.103, lc};
Point(43) = {-83.81699999999999, 270, 16.13, lc};
Point(44) = {-96.971, 238.5, 32.395, lc};
Point(1) = {-150.796, 297, 88.298, lc};
Point(2) = {-148.811, 292.25, 88.624, lc};
Point(3) = {-146.827, 287.5, 88.95, lc};
Point(45) = {-88.967, 234, 23.725, lc};
Point(46) = {-87.61, 247, 18.104, lc};
Point(47) = {-70.096, 297, 11.907, lc};
Point(48) = {-57.303, 297, 6.345, lc2};
Point(49) = {-56.963, 293.5, 7.231, lc};
Point(50) = {-56.622, 290, 8.118, lc};
Point(51) = {-69.26300000000001, 290, 13.615, lc};
Point(52) = {-70.56, 280, 10.954, lc};
Point(53) = {-57.767, 280, 5.136, lc};
Point(54) = {-57.201, 285, 6.609, lc};
Point(55) = {-72.468, 260, 7.043, lc};
Point(62) = {-59.939, 220, -0.523, lc};
Point(63) = {-81.879, 225.5, 19.344, lc};
Point(64) = {-74.791, 217, 14.962, lc};
Point(65) = {-67.864, 218.5, 6.711, lc};
Point(66) = {-51.945, 210, -4.247, lc};
Point(67) = {-43.711, 200, -7.509, lc};
Point(68) = {-64.797, 201.75, 10.008, lc};
Point(69) = {-54.803, 186.5, 5.054, lc};
Point(70) = {-49.585, 193.25, -1.64, lc};
Point(71) = {-42.731, 297, 1.54, lc};
Point(72) = {-27.766, 297, -1.847, lc2};
Point(73) = {-42.224, 290, 3.37, lc};
Point(74) = {-27.436, 290, 0.024, lc};
Point(75) = {-27.601, 293.5, -0.911, lc};
Point(76) = {-43.132, 280, 0.096, lc};
Point(77) = {-28.051, 280, -3.463, lc};
Point(78) = {-27.742, 285, -1.71, lc};
Point(79) = {-44.755, 260, -5.757, lc};
Point(80) = {-29.205, 260, -10.003, lc};
Point(81) = {-28.655, 270, -6.888, lc};
Point(82) = {-45.733, 240, -9.282, lc};
Point(83) = {-30.004, 240, -14.534, lc};
Point(84) = {-29.663, 250, -12.604, lc};
Point(85) = {-45.799, 220, -9.522, lc};
Point(86) = {-30.266, 220, -16.026, lc};
Point(87) = {-30.207, 230, -15.691, lc};
Point(88) = {-36.998, 200, -11.262, lc};
Point(89) = {-29.975, 200, -14.371, lc};
Point(90) = {-30.184, 210, -15.556, lc};
Point(91) = {-42.173, 186.5, -3.435, lc};
Point(92) = {-29.543, 186.5, -11.923, lc};
Point(93) = {-29.776, 193.25, -13.244, lc};
Point(94) = {-13.936, 297, -3.668, lc};
Point(95) = {0, 297, -4.276, lc};
Point(96) = {0, 293.5, -3.326, lc};
Point(97) = {0, 290, -2.376, lc};
Point(98) = {-13.77, 290, -1.775, lc};
Point(99) = {0, 285, -4.18, lc};
Point(100) = {0, 280, -6.02, lc};
Point(101) = {-14.086, 280, -5.38, lc};
Point(102) = {-14.691, 260, -12.3, lc};
Point(103) = {0, 260, -13.069, lc};
Point(104) = {0, 270, -9.669, lc};
Point(105) = {-15.137, 240, -17.391, lc};
Point(106) = {0, 240, -18.351, lc};
Point(107) = {0, 250, -16.016, lc};
Point(108) = {-15.328, 220, -19.578, lc};
Point(109) = {0, 220, -20.774, lc};
Point(110) = {0, 230, -19.959, lc};
Point(111) = {-15.24, 200, -18.573, lc};
Point(112) = {0, 200, -19.987, lc};
Point(113) = {0, 210, -20.775, lc};
Point(114) = {-14.771, 186.5, -14.864, lc};
Point(115) = {0, 186.5, -17.806, lc};
Point(116) = {0, 193.25, -19.044, lc};
Point(117) = {13.936, 297, -3.667, lc};
Point(118) = {27.766, 297, -1.847, lc2};
Point(119) = {27.601, 293.5, -0.911, lc};
Point(120) = {27.436, 290, 0.024, lc};
Point(121) = {13.771, 290, -1.775, lc};
Point(122) = {14.086, 280, -5.38, lc};
Point(123) = {28.051, 280, -3.463, lc};
Point(124) = {27.742, 285, -1.71, lc};
Point(125) = {28.655, 270, -6.888, lc};
Point(126) = {29.205, 260, -10.003, lc};
Point(127) = {14.692, 260, -12.3, lc};
Point(128) = {15.137, 240, -17.391, lc};
Point(129) = {30.004, 240, -14.534, lc};
Point(130) = {29.663, 250, -12.604, lc};
Point(131) = {15.328, 220, -19.578, lc};
Point(132) = {30.266, 220, -16.026, lc};
Point(133) = {30.207, 230, -15.691, lc};
Point(134) = {15.24, 200, -18.573, lc};
Point(135) = {29.975, 200, -14.371, lc};
Point(136) = {30.184, 210, -15.556, lc};
Point(137) = {14.772, 186.5, -14.864, lc};
Point(138) = {29.543, 186.5, -11.923, lc};
Point(139) = {29.776, 193.25, -13.244, lc};
Point(140) = {42.731, 297, 1.54, lc};
Point(141) = {57.303, 297, 6.345, lc2};
Point(142) = {42.224, 290, 3.37, lc};
Point(143) = {56.622, 290, 8.118, lc};
Point(144) = {56.963, 293.5, 7.231, lc};
Point(145) = {57.201, 285, 6.609, lc};
Point(146) = {57.767, 280, 5.136, lc};
Point(147) = {43.132, 280, 0.096, lc};
Point(148) = {58.808, 270, 2.423, lc};
Point(149) = {59.657, 260, 0.213, lc};
Point(150) = {44.755, 260, -5.757, lc};
Point(151) = {45.733, 240, -9.282, lc};
Point(152) = {60.492, 240, -1.964, lc};
Point(153) = {60.237, 250, -1.298, lc};
Point(154) = {60.393, 230, -1.704, lc};
Point(155) = {59.939, 220, -0.523, lc};
Point(156) = {45.799, 220, -9.522, lc};
Point(157) = {36.998, 200, -11.262, lc};
Point(158) = {43.711, 200, -7.509, lc};
Point(159) = {51.945, 210, -4.247, lc};
Point(160) = {49.585, 193.25, -1.64, lc};
Point(161) = {54.803, 186.5, 5.054, lc};
Point(162) = {42.173, 186.5, -3.435, lc};
Point(163) = {64.797, 201.75, 10.008, lc};
Point(164) = {74.791, 217, 14.962, lc};
Point(165) = {67.864, 218.5, 6.711, lc};
Point(166) = {70.096, 297, 11.907, lc};
Point(167) = {82.355, 297, 18.563, lc};
Point(168) = {69.26300000000001, 290, 13.615, lc};
Point(169) = {81.376, 290, 20.192, lc};
Point(170) = {81.86499999999999, 293.5, 19.377, lc};
Point(171) = {70.56, 280, 10.954, lc};
Point(172) = {82.756, 280, 17.895, lc};
Point(173) = {82.098, 285, 18.991, lc};
Point(174) = {83.81699999999999, 270, 16.13, lc};
Point(175) = {84.43300000000001, 260, 15.103, lc};
Point(176) = {72.468, 260, 7.043, lc};
Point(59) = {-60.492, 240, -1.964, lc};
Point(60) = {-60.237, 250, -1.298, lc};
Point(61) = {-60.393, 230, -1.704, lc};
Point(10) = {-138.126, 288.75, 76.97499999999999, lc};
Point(11) = {-136.027, 280, 76.229, lc};
Point(12) = {-128.531, 280, 62.241, lc};
Point(13) = {-128.979, 285, 63.62, lc};
Point(14) = {-127.123, 270, 61.558, lc};
Point(177) = {87.61, 247, 18.104, lc};
Point(178) = {88.967, 234, 23.725, lc};
Point(179) = {81.879, 225.5, 19.344, lc};
Point(180) = {76.131, 237, 9.378, lc};
Point(181) = {93.98699999999999, 297, 26.262, lc};
Point(182) = {104.904, 297, 34.946, lc};
Point(188) = {104.387, 285, 35.54, lc};
Point(189) = {95.432, 260, 24.274, lc};
Point(190) = {105.358, 260, 34.423, lc};
Point(191) = {105.579, 270, 34.169, lc};
Point(192) = {105.699, 251.5, 37.198, lc};
Point(193) = {104.974, 243, 41.065, lc};
Point(194) = {96.971, 238.5, 32.395, lc};
Point(195) = {118.829, 297, 48.63, lc};
Point(196) = {130.982, 297, 63.909, lc};
Point(197) = {130.204, 293.5, 64.45399999999999, lc};
Point(198) = {129.426, 290, 64.999, lc};
Point(199) = {117.417, 290, 49.901, lc};
Point(200) = {117.566, 280, 47.895, lc};
Point(201) = {128.531, 280, 62.241, lc};
Point(202) = {128.979, 285, 63.62, lc};
Point(203) = {115.741, 260, 47.694, lc};
Point(204) = {124.357, 260, 61.915, lc};
Point(205) = {127.123, 270, 61.558, lc};
Point(206) = {124.803, 257.5, 64.949, lc};
Point(207) = {124.973, 255, 68.117, lc};
Point(208) = {114.974, 249, 54.591, lc};
Point(209) = {140.889, 297, 76.104, lc};
Point(210) = {150.796, 297, 88.298, lc};
Point(211) = {138.226, 288.75, 76.77500000000001, lc};
Point(212) = {147.027, 287.5, 88.55, lc};
Point(213) = {148.911, 292.25, 88.42400000000001, lc};
Point(214) = {136.027, 280, 76.229, lc};
Point(215) = {143.522, 280, 90.217, lc};
Point(216) = {145.275, 283.75, 89.384, lc};
Point(217) = {134.248, 267.5, 79.167, lc};
Spline (1) = {1, 2, 3};
Spline (2) = {3, 4, 5};
Spline (3) = {5, 16, 17};
Spline (4) = {17, 30, 31};
Spline (5) = {31, 44, 45};
Spline (6) = {45, 63, 64};
Spline (7) = {64, 68, 69};
Spline (8) = {69, 91, 92};
Spline (9) = {92, 114, 115};
Spline (10) = {115, 137, 138};
Spline (11) = {138, 162, 161};
Spline (12) = {161, 163, 164};
Spline (13) = {164, 179, 178};
Spline (14) = {178, 194, 193};
Spline (15) = {193, 208, 207};
Spline (16) = {207, 217, 215};
Spline (17) = {215, 216, 212};
Spline (18) = {212, 213, 210};
Spline (19) = {210, 209, 196};
Spline (20) = {196, 195, 182};
Spline (21) = {182, 181, 167};
Spline (22) = {167, 166, 141};
Spline (23) = {141, 140, 118};
Spline (24) = {118, 117, 95};
Spline (25) = {95, 94, 72};
Spline (26) = {72, 71, 48};
Spline (27) = {48, 47, 34};
Spline (28) = {34, 33, 20};
Spline (29) = {20, 19, 7};
Spline (30) = {7, 6, 1};
Spline (31) = {3, 10, 9};
Spline (32) = {9, 23, 22};
Spline (33) = {22, 35, 36};
Spline (34) = {36, 51, 50};
Spline (35) = {50, 73, 74};
Spline (36) = {74, 98, 97};
Spline (37) = {97, 121, 120};
Spline (38) = {120, 142, 143};
Spline (39) = {143, 168, 169};
Spline (40) = {169, 185, 184};
Spline (41) = {184, 199, 198};
Spline (42) = {198, 211, 212};
Spline (43) = {5, 11, 12};
Spline (44) = {12, 24, 25};
Spline (45) = {25, 38, 39};
Spline (46) = {39, 52, 53};
Spline (47) = {53, 76, 77};
Spline (48) = {77, 101, 100};
Spline (49) = {100, 122, 123};
Spline (50) = {123, 147, 146};
Spline (51) = {146, 171, 172};
Spline (52) = {172, 186, 187};
Spline (53) = {187, 200, 201};
Spline (54) = {201, 214, 215};
Spline (55) = {17, 18, 15};
Spline (56) = {15, 27, 28};
Spline (57) = {28, 41, 42};
Spline (58) = {42, 55, 56};
Spline (59) = {56, 79, 80};
Spline (60) = {80, 102, 103};
Spline (61) = {103, 127, 126};
Spline (62) = {126, 150, 149};
Spline (63) = {149, 176, 175};
Spline (64) = {175, 189, 190};
Spline (65) = {190, 203, 204};
Spline (66) = {204, 206, 207};
Spline (67) = {45, 58, 59};
Spline (68) = {59, 82, 83};
Spline (69) = {83, 105, 106};
Spline (70) = {106, 128, 129};
Spline (71) = {129, 151, 152};
Spline (72) = {152, 180, 178};
Spline (73) = {64, 65, 62};
Spline (74) = {62, 85, 86};
Spline (75) = {86, 108, 109};
Spline (76) = {109, 131, 132};
Spline (77) = {132, 156, 155};
Spline (78) = {155, 165, 164};
Spline (79) = {69, 70, 67};
Spline (80) = {67, 88, 89};
Spline (81) = {89, 111, 112};
Spline (82) = {112, 134, 135};
Spline (83) = {135, 157, 158};
Spline (84) = {158, 160, 161};
Spline (85) = {15, 14, 12};
Spline (86) = {12, 13, 9};
Spline (87) = {9, 8, 7};
Spline (88) = {31, 32, 28};
Spline (89) = {28, 29, 25};
Spline (90) = {25, 26, 22};
Spline (91) = {22, 21, 20};
Spline (92) = {45, 46, 42};
Spline (93) = {42, 43, 39};
Spline (94) = {39, 40, 36};
Spline (95) = {36, 37, 34};
Spline (96) = {67, 66, 62};
Spline (97) = {62, 61, 59};
Spline (98) = {59, 60, 56};
Spline (99) = {56, 57, 53};
Spline (100) = {53, 54, 50};
Spline (101) = {50, 49, 48};
Spline (102) = {92, 93, 89};
Spline (103) = {89, 90, 86};
Spline (104) = {86, 87, 83};
Spline (105) = {83, 84, 80};
Spline (106) = {80, 81, 77};
Spline (107) = {77, 78, 74};
Spline (108) = {74, 75, 72};
Spline (109) = {115, 116, 112};
Spline (110) = {112, 113, 109};
Spline (111) = {109, 110, 106};
Spline (112) = {106, 107, 103};
Spline (113) = {103, 104, 100};
Spline (114) = {100, 99, 97};
Spline (115) = {97, 96, 95};
Spline (116) = {138, 139, 135};
Spline (117) = {135, 136, 132};
Spline (118) = {132, 133, 129};
Spline (119) = {129, 130, 126};
Spline (120) = {126, 125, 123};
Spline (121) = {123, 124, 120};
Spline (122) = {120, 119, 118};
Spline (123) = {158, 159, 155};
Spline (124) = {155, 154, 152};
Spline (125) = {152, 153, 149};
Spline (126) = {149, 148, 146};
Spline (127) = {146, 145, 143};
Spline (128) = {143, 144, 141};
Spline (129) = {178, 177, 175};
Spline (130) = {175, 174, 172};
Spline (131) = {172, 173, 169};
Spline (132) = {169, 170, 167};
Spline (133) = {193, 192, 190};
Spline (134) = {190, 191, 187};
Spline (135) = {187, 188, 184};
Spline (136) = {184, 183, 182};
Spline (137) = {204, 205, 201};
Spline (138) = {201, 202, 198};
Spline (139) = {198, 197, 196};
Line Loop (1000141) = -{31, 87, 30, 1};
Ruled Surface (141) = {1000141};
Line Loop (1000143) = {-86, -43, -2, 31};
Ruled Surface (143) = {1000143};
Line Loop (1000145) = {-85, -55, -3, 43};
Ruled Surface (145) = {1000145};
Line Loop (1000147) = {56, -88, -4, 55};
Ruled Surface (147) = {1000147};
Line Loop (1000149) = {-89, -56, 85, 44};
Ruled Surface (149) = {1000149};
Line Loop (1000151) = {32, -90, -44, 86};
Ruled Surface (151) = {1000151};
Line Loop (1000153) = {-29, -91, -32, 87};
Ruled Surface (153) = {1000153};
Line Loop (1000155) = {57, -92, -5, 88};
Ruled Surface (155) = {1000155};
Line Loop (1000157) = {45, -93, -57, 89};
Ruled Surface (157) = {1000157};
Line Loop (1000159) = {33, -94, -45, 90};
Ruled Surface (159) = {1000159};
Line Loop (1000161) = {-28, -95, -33, 91};
Ruled Surface (161) = {1000161};
Line Loop (1000163) = {-96, -79, -7, 73};
Ruled Surface (163) = {1000163};
Line Loop (1000165) = {-97, -73, -6, 67};
Ruled Surface (165) = {1000165};
Line Loop (1000167) = {58, -98, -67, 92};
Ruled Surface (167) = {1000167};
Line Loop (1000169) = {46, -99, -58, 93};
Ruled Surface (169) = {1000169};
Line Loop (1000171) = -{100, -34, -94, 46};
Ruled Surface (171) = {1000171};
Line Loop (1000173) = {-27, -101, -34, 95};
Ruled Surface (173) = {1000173};
Line Loop (1000175) = {80, -102, -8, 79};
Ruled Surface (175) = {1000175};
Line Loop (1000177) = {74, -103, -80, 96};
Ruled Surface (177) = {1000177};
Line Loop (1000179) = {68, -104, -74, 97};
Ruled Surface (179) = {1000179};
Line Loop (1000181) = {59, -105, -68, 98};
Ruled Surface (181) = {1000181};
Line Loop (1000183) = {47, -106, -59, 99};
Ruled Surface (183) = {1000183};
Line Loop (1000185) = {35, -107, -47, 100};
Ruled Surface (185) = {1000185};
Line Loop (1000187) = {-26, -108, -35, 101};
Ruled Surface (187) = {1000187};
Line Loop (1000189) = {81, -109, -9, 102};
Ruled Surface (189) = {1000189};
Line Loop (1000191) = {75, -110, -81, 103};
Ruled Surface (191) = {1000191};
Line Loop (1000193) = {69, -111, -75, 104};
Ruled Surface (193) = {1000193};
Line Loop (1000195) = {60, -112, -69, 105};
Ruled Surface (195) = {1000195};
Line Loop (1000197) = {48, -113, -60, 106};
Ruled Surface (197) = {1000197};
Line Loop (1000199) = {36, -114, -48, 107};
Ruled Surface (199) = {1000199};
Line Loop (1000201) = {-25, -115, -36, 108};
Ruled Surface (201) = {1000201};
Line Loop (1000203) = {82, -116, -10, 109};
Ruled Surface (203) = {1000203};
Line Loop (1000205) = {76, -117, -82, 110};
Ruled Surface (205) = {1000205};
Line Loop (1000207) = {70, -118, -76, 111};
Ruled Surface (207) = {1000207};
Line Loop (1000209) = {61, -119, -70, 112};
Ruled Surface (209) = {1000209};
Line Loop (1000211) = {49, -120, -61, 113};
Ruled Surface (211) = {1000211};
Line Loop (1000213) = {37, -121, -49, 114};
Ruled Surface (213) = {1000213};
Line Loop (1000215) = {-24, -122, -37, 115};
Ruled Surface (215) = {1000215};
Line Loop (1000217) = {83, 84, -11, 116};
Ruled Surface (217) = {1000217};
Line Loop (1000219) = {77, -123, -83, 117};
Ruled Surface (219) = {1000219};
Line Loop (1000221) = {71, -124, -77, 118};
Ruled Surface (221) = {1000221};
Line Loop (1000223) = {62, -125, -71, 119};
Ruled Surface (223) = {1000223};
Line Loop (1000225) = {50, -126, -62, 120};
Ruled Surface (225) = {1000225};
Line Loop (1000227) = {38, -127, -50, 121};
Ruled Surface (227) = {1000227};
Line Loop (1000229) = {-23, -128, -38, 122};
Ruled Surface (229) = {1000229};
Line Loop (1000231) = {78, -12, -84, 123};
Ruled Surface (231) = {1000231};
Line Loop (1000233) = {72, -13, -78, 124};
Ruled Surface (233) = {1000233};
Line Loop (1000235) = {63, -129, -72, 125};
Ruled Surface (235) = {1000235};
Line Loop (1000237) = {51, -130, -63, 126};
Ruled Surface (237) = {1000237};
Line Loop (1000239) = {39, -131, -51, 127};
Ruled Surface (239) = {1000239};
Line Loop (1000241) = {-22, -132, -39, 128};
Ruled Surface (241) = {1000241};
Line Loop (1000243) = {64, -133, -14, 129};
Ruled Surface (243) = {1000243};
Line Loop (1000245) = {52, -134, -64, 130};
Ruled Surface (245) = {1000245};
Line Loop (1000247) = {40, -135, -52, 131};
Ruled Surface (247) = {1000247};
Line Loop (1000249) = {-21, -136, -40, 132};
Ruled Surface (249) = {1000249};
Line Loop (1000251) = {65, 66, -15, 133};
Ruled Surface (251) = {1000251};
Line Loop (1000253) = {53, -137, -65, 134};
Ruled Surface (253) = {1000253};
Line Loop (1000255) = {41, -138, -53, 135};
Ruled Surface (255) = {1000255};
Line Loop (1000257) = {-20, -139, -41, 136};
Ruled Surface (257) = {1000257};
Line Loop (1000259) = {54, -16, -66, 137};
Ruled Surface (259) = {1000259};
Line Loop (1000261) = -{-42, -138, 54, 17};
Ruled Surface (261) = {1000261};
Line Loop (1000263) = -{-139, 42, 18, 19};
Ruled Surface (263) = {1000263};
Montante = 1001;
Physical Surface (Montante) = { 141, 143, 145, 147, 149, 151 , 153 , 155 , 157 , 159 , 161 , 163 , 165 , 167 , 169 , 171 , 173 , 175 , 177 , 179 , 181 , 183 , 185 , 187 , 189 , 191 , 193 , 195 , 197 , 199 , 201 , 203 , 205 , 207 , 209 , 211 , 213 , 215 , 217 , 219 , 221 , 223 , 225 , 227 , 229 , 231 , 233 , 235 , 237 , 239 , 241 , 243 , 245 , 247 , 249 , 251 , 253 , 255 , 257 , 259 , 261 , 263 };
Point(	5001	) = {	-139.293	,	297	,	102.21	,lc};
Point(	5002	) = {	-139.668	,	292.25	,	99.729	,lc};
Point(	5003	) = {	-140.043	,	287.5	,	97.248	,lc};
Point(	5004	) = {	-138.929	,	283.75	,	95.033	,lc};
Point(	5005	) = {	-137.815	,	280	,	92.818	,lc};
Point(	5006	) = {	-131.738	,	297	,	85.44	,lc};
Point(	5007	) = {	-124.183	,	297	,	68.67	,lc};
Point(	5008	) = {	-124.962	,	293.5	,	68.125	,lc};
Point(	5009	) = {	-125.74	,	290	,	67.58	,lc};
Point(	5010	) = {	-132.892	,	288.75	,	82.414	,lc};
Point(	5011	) = {	-130.637	,	280	,	79.372	,lc};
Point(	5012	) = {	-123.458	,	280	,	65.927	,lc};
Point(	5013	) = {	-124.599	,	285	,	66.753	,lc};
Point(	5014	) = {	-120.567	,	270	,	66.409	,lc};
Point(	5015	) = {	-116.226	,	260	,	68.041	,lc};
Point(	5016	) = {	-126.768	,	267.5	,	83.707	,lc};
Point(	5017	) = {	-115.721	,	255	,	74.595	,lc};
Point(	5018	) = {	-116.126	,	257.5	,	71.254	,lc};
Point(	5019	) = {	-112.661	,	297	,	54.184	,lc};
Point(	5020	) = {	-99.459	,	297	,	41.21	,lc};
Point(	5021	) = {	-100.082	,	293.5	,	40.493	,lc};
Point(	5022	) = {	-100.705	,	290	,	39.776	,lc};
Point(	5023	) = {	-114.073	,	290	,	52.912	,lc};
Point(	5024	) = {	-112.943	,	280	,	52.131	,lc};
Point(	5025	) = {	-100.85	,	280	,	39.61	,lc};
Point(	5026	) = {	-100.864	,	285	,	39.593	,lc};
Point(	5027	) = {	-108.317	,	260	,	54.617	,lc};
Point(	5028	) = {	-98.718	,	260	,	42.062	,lc};
Point(	5029	) = {	-100.237	,	270	,	40.315	,lc};
Point(	5030	) = {	-105.618	,	249	,	62.991	,lc};
Point(	5031	) = {	-95.516	,	243	,	51.386	,lc};
Point(	5032	) = {	-97.749	,	251.5	,	46.105	,lc};
Point(	5033	) = {	-89.108	,	297	,	32.977	,lc};
Point(	5034	) = {	-78.08	,	297	,	25.677	,lc};
Point(	5035	) = {	-90.225	,	290	,	31.44	,lc};
Point(	5036	) = {	-79.058	,	290	,	24.049	,lc};
Point(	5037	) = {	-78.569	,	293.5	,	24.863	,lc};
Point(	5038	) = {	-90.569	,	280	,	30.966	,lc};
Point(	5039	) = {	-79.527	,	280	,	23.268	,lc};
Point(	5040	) = {	-79.332	,	285	,	23.594	,lc};
Point(	5041	) = {	-89.496	,	260	,	32.444	,lc};
Point(	5042	) = {	-79.243	,	260	,	23.741	,lc};
Point(	5043	) = {	-79.628	,	270	,	23.101	,lc};
Point(	5044	) = {	-87.762	,	238.5	,	44.198	,lc};
Point(	5045	) = {	-80.007	,	234	,	37.009	,lc};
Point(	5046	) = {	-80.74	,	247	,	28.887	,lc};
Point(	5047	) = {	-66.457	,	297	,	19.367	,lc};
Point(	5048	) = {	-54.329	,	297	,	14.093	,lc};
Point(	5049	) = {	-54.669	,	293.5	,	13.206	,lc};
Point(	5050	) = {	-55.009	,	290	,	12.319	,lc};
Point(	5051	) = {	-67.29	,	290	,	17.659	,lc};
Point(	5052	) = {	-67.812	,	280	,	16.588	,lc};
Point(	5053	) = {	-55.521	,	280	,	10.987	,lc};
Point(	5054	) = {	-55.277	,	285	,	11.623	,lc};
Point(	5055	) = {	-68.059	,	260	,	16.083	,lc};
Point(	5056	) = {	-56.058	,	260	,	9.587	,lc};
Point(	5057	) = {	-55.897	,	270	,	10.009	,lc};
Point(	5058	) = {	-69.256	,	237	,	22.585	,lc};
Point(	5059	) = {	-55.473	,	240	,	11.112	,lc};
Point(	5060	) = {	-55.937	,	250	,	9.903	,lc};
Point(	5061	) = {	-54.613	,	230	,	13.352	,lc};
Point(	5062	) = {	-53.308	,	220	,	16.751	,lc};
Point(	5063	) = {	-72.508	,	225.5	,	35.185	,lc};
Point(	5064	) = {	-65.009	,	217	,	33.361	,lc};
Point(	5065	) = {	-59.77	,	218.5	,	24.471	,lc};
Point(	5066	) = {	-45.585	,	210	,	15.329	,lc};
Point(	5067	) = {	-37.931	,	200	,	14.064	,lc};
Point(	5068	) = {	-54.298	,	201.75	,	34.613	,lc};
Point(	5069	) = {	-43.588	,	186.5	,	35.866	,lc};
Point(	5070	) = {	-41.772	,	193.25	,	23.14	,lc};
Point(	5071	) = {	-40.513	,	297	,	9.538	,lc};
Point(	5072	) = {	-26.325	,	297	,	6.327	,lc};
Point(	5073	) = {	-41.021	,	290	,	7.707	,lc};
Point(	5074	) = {	-26.655	,	290	,	4.456	,lc};
Point(	5075	) = {	-26.49	,	293.5	,	5.392	,lc};
Point(	5076	) = {	-41.457	,	280	,	6.135	,lc};
Point(	5077	) = {	-26.963	,	280	,	2.709	,lc};
Point(	5078	) = {	-26.81	,	285	,	3.578	,lc};
Point(	5079	) = {	-42.075	,	260	,	3.905	,lc};
Point(	5080	) = {	-27.465	,	260	,	-0.14	,lc};
Point(	5081	) = {	-27.245	,	270	,	1.108	,lc};
Point(	5082	) = {	-42.024	,	240	,	4.09	,lc};
Point(	5083	) = {	-27.61	,	240	,	-0.96	,lc};
Point(	5084	) = {	-27.594	,	250	,	-0.87	,lc};
Point(	5085	) = {	-41.036	,	220	,	7.653	,lc};
Point(	5086	) = {	-27.252	,	220	,	1.068	,lc};
Point(	5087	) = {	-27.498	,	230	,	-0.326	,lc};
Point(	5088	) = {	-32.355	,	200	,	9.678	,lc};
Point(	5089	) = {	-26.371	,	200	,	6.067	,lc};
Point(	5090	) = {	-26.873	,	210	,	3.219	,lc};
Point(	5091	) = {	-34.565	,	186.5	,	23.317	,lc};
Point(	5092	) = {	-25.542	,	186.5	,	10.768	,lc};
Point(	5093	) = {	-25.973	,	193.25	,	8.321	,lc};
Point(	5094	) = {	-13.213	,	297	,	4.601	,lc};
Point(	5095	) = {	0	,	297	,	4.024	,lc};
Point(	5096	) = {	0	,	293.5	,	3.074	,lc};
Point(	5097	) = {	0	,	290	,	2.124	,lc};
Point(	5098	) = {	-13.378	,	290	,	2.708	,lc};
Point(	5099	) = {	0	,	285	,	1.19	,lc};
Point(	5100	) = {	0	,	280	,	0.247	,lc};
Point(	5101	) = {	-13.54	,	280	,	0.864	,lc};
Point(	5102	) = {	-13.819	,	260	,	-2.328	,lc};
Point(	5103	) = {	0	,	260	,	-3.062	,lc};
Point(	5104	) = {	0	,	270	,	-1.551	,lc};
Point(	5105	) = {	-13.94	,	240	,	-3.709	,lc};
Point(	5106	) = {	0	,	240	,	-4.633	,lc};
Point(	5107	) = {	0	,	250	,	-4.127	,lc};
Point(	5108	) = {	-13.837	,	220	,	-2.532	,lc};
Point(	5109	) = {	0	,	220	,	-3.744	,lc};
Point(	5110	) = {	0	,	230	,	-4.513	,lc};
Point(	5111	) = {	-13.509	,	200	,	1.218	,lc};
Point(	5112	) = {	0	,	200	,	-0.407	,lc};
Point(	5113	) = {	0	,	210	,	-2.352	,lc};
Point(	5114	) = {	-12.771	,	186.5	,	6.824	,lc};
Point(	5115	) = {	0	,	186.5	,	2.879	,lc};
Point(	5116	) = {	0	,	193.25	,	1.16	,lc};
Point(	5117	) = {	13.213	,	297	,	4.601	,lc};
Point(	5118	) = {	26.325	,	297	,	6.327	,lc};
Point(	5119	) = {	26.49	,	293.5	,	5.392	,lc};
Point(	5120	) = {	26.655	,	290	,	4.456	,lc};
Point(	5121	) = {	13.379	,	290	,	2.708	,lc};
Point(	5122	) = {	13.54	,	280	,	0.864	,lc};
Point(	5123	) = {	26.963	,	280	,	2.709	,lc};
Point(	5124	) = {	26.81	,	285	,	3.578	,lc};
Point(	5125	) = {	27.245	,	270	,	1.108	,lc};
Point(	5126	) = {	27.465	,	260	,	-0.14	,lc};
Point(	5127	) = {	13.819	,	260	,	-2.328	,lc};
Point(	5128	) = {	13.94	,	240	,	-3.709	,lc};
Point(	5129	) = {	27.61	,	240	,	-0.96	,lc};
Point(	5130	) = {	27.594	,	250	,	-0.87	,lc};
Point(	5131	) = {	13.837	,	220	,	-2.531	,lc};
Point(	5132	) = {	27.252	,	220	,	1.072	,lc};
Point(	5133	) = {	27.498	,	230	,	-0.326	,lc};
Point(	5134	) = {	13.508	,	200	,	1.231	,lc};
Point(	5135	) = {	26.266	,	200	,	6.663	,lc};
Point(	5136	) = {	26.837	,	210	,	3.424	,lc};
Point(	5137	) = {	12.717	,	186.5	,	7.132	,lc};
Point(	5138	) = {	25.433	,	186.5	,	11.384	,lc};
Point(	5139	) = {	25.839	,	193.25	,	9.086	,lc};
Point(	5140	) = {	40.513	,	297	,	9.538	,lc};
Point(	5141	) = {	54.329	,	297	,	14.093	,lc};
Point(	5142	) = {	41.021	,	290	,	7.707	,lc};
Point(	5143	) = {	55.009	,	290	,	12.319	,lc};
Point(	5144	) = {	54.669	,	293.5	,	13.206	,lc};
Point(	5145	) = {	55.277	,	285	,	11.623	,lc};
Point(	5146	) = {	55.521	,	280	,	10.987	,lc};
Point(	5147	) = {	41.457	,	280	,	6.135	,lc};
Point(	5148	) = {	55.897	,	270	,	10.009	,lc};
Point(	5149	) = {	56.058	,	260	,	9.587	,lc};
Point(	5150	) = {	42.075	,	260	,	3.905	,lc};
Point(	5151	) = {	42.024	,	240	,	4.09	,lc};
Point(	5152	) = {	55.411	,	240	,	11.275	,lc};
Point(	5153	) = {	55.936	,	250	,	9.906	,lc};
Point(	5154	) = {	54.334	,	230	,	14.079	,lc};
Point(	5155	) = {	52.568	,	220	,	18.679	,lc};
Point(	5156	) = {	40.891	,	220	,	8.174	,lc};
Point(	5157	) = {	32.077	,	200	,	10.934	,lc};
Point(	5158	) = {	37.333	,	200	,	16.295	,lc};
Point(	5159	) = {	44.816	,	210	,	17.695	,lc};
Point(	5160	) = {	40.463	,	193.25	,	27.29	,lc};
Point(	5161	) = {	41.392	,	186.5	,	41.901	,lc};
Point(	5162	) = {	33.413	,	186.5	,	26.642	,lc};
Point(	5163	) = {	51.514	,	201.75	,	40.803	,lc};
Point(	5164	) = {	61.635	,	217	,	39.705	,lc};
Point(	5165	) = {	58.085	,	218.5	,	28.169	,lc};
Point(	5166	) = {	66.457	,	297	,	19.367	,lc};
Point(	5167	) = {	78.08	,	297	,	25.677	,lc};
Point(	5168	) = {	67.29	,	290	,	17.659	,lc};
Point(	5169	) = {	79.058	,	290	,	24.049	,lc};
Point(	5170	) = {	78.569	,	293.5	,	24.863	,lc};
Point(	5171	) = {	67.812	,	280	,	16.588	,lc};
Point(	5172	) = {	79.519	,	280	,	23.282	,lc};
Point(	5173	) = {	79.328	,	285	,	23.599	,lc};
Point(	5174	) = {	79.592	,	270	,	23.161	,lc};
Point(	5175	) = {	79.111	,	260	,	23.962	,lc};
Point(	5176	) = {	68.047	,	260	,	16.107	,lc};
Point(	5177	) = {	80.047	,	247	,	29.975	,lc};
Point(	5178	) = {	77.64	,	234	,	40.518	,lc};
Point(	5179	) = {	69.638	,	225.5	,	40.111	,lc};
Point(	5180	) = {	68.597	,	237	,	23.851	,lc};
Point(	5181	) = {	89.108	,	297	,	32.977	,lc};
Point(	5182	) = {	99.459	,	297	,	41.21	,lc};
Point(	5183	) = {	100.082	,	293.5	,	40.493	,lc};
Point(	5184	) = {	100.705	,	290	,	39.776	,lc};
Point(	5185	) = {	90.225	,	290	,	31.44	,lc};
Point(	5186	) = {	90.51	,	280	,	31.048	,lc};
Point(	5187	) = {	100.677	,	280	,	39.808	,lc};
Point(	5188	) = {	100.781	,	285	,	39.689	,lc};
Point(	5189	) = {	89.073	,	260	,	33.026	,lc};
Point(	5190	) = {	97.798	,	260	,	43.12	,lc};
Point(	5191	) = {	99.804	,	270	,	40.812	,lc};
Point(	5192	) = {	95.937	,	251.5	,	48.136	,lc};
Point(	5193	) = {	92.124	,	243	,	55.088	,lc};
Point(	5194	) = {	84.882	,	238.5	,	47.803	,lc};
Point(	5195	) = {	112.661	,	297	,	54.184	,lc};
Point(	5196	) = {	124.183	,	297	,	68.67	,lc};
Point(	5197	) = {	124.962	,	293.5	,	68.125	,lc};
Point(	5198	) = {	125.74	,	290	,	67.58	,lc};
Point(	5199	) = {	114.073	,	290	,	52.912	,lc};
Point(	5200	) = {	112.515	,	280	,	52.523	,lc};
Point(	5201	) = {	122.636	,	280	,	66.523	,lc};
Point(	5202	) = {	124.188	,	285	,	67.052	,lc};
Point(	5203	) = {	106.492	,	260	,	56.319	,lc};
Point(	5204	) = {	113.145	,	260	,	70.363	,lc};
Point(	5205	) = {	118.816	,	270	,	67.705	,lc};
Point(	5206	) = {	112.301	,	257.5	,	74.032	,lc};
Point(	5207	) = {	111.014	,	255	,	77.891	,lc};
Point(	5208	) = {	101.569	,	249	,	66.49	,lc};
Point(	5209	) = {	131.738	,	297	,	85.44	,lc};
Point(	5210	) = {	139.293	,	297	,	102.21	,lc};
Point(	5211	) = {	132.617	,	288.75	,	82.673	,lc};
Point(	5212	) = {	139.493	,	287.5	,	97.766	,lc};
Point(	5213	) = {	139.393	,	292.25	,	99.988	,lc};
Point(	5214	) = {	129.295	,	280	,	80.095	,lc};
Point(	5215	) = {	135.954	,	280	,	93.666	,lc};
Point(	5216	) = {	137.724	,	283.75	,	95.716	,lc};
Point(	5217	) = {	123.484	,	267.5	,	85.779	,lc};
Spline (5001) = {5001, 5002, 5003};
Spline (5002) = {5003, 5004, 5005};
Spline (5003) = {5005, 5016, 5017};
Spline (5004) = {5017, 5030, 5031};
Spline (5005) = {5031, 5044, 5045};
Spline (5006) = {5045, 5063, 5064};
Spline (5007) = {5064, 5068, 5069};
Spline (5008) = {5069, 5091, 5092};
Spline (5009) = {5092, 5114, 5115};
Spline (5010) = {5115, 5137, 5138};
Spline (5011) = {5138, 5162, 5161};
Spline (5012) = {5161, 5163, 5164};
Spline (5013) = {5164, 5179, 5178};
Spline (5014) = {5178, 5194, 5193};
Spline (5015) = {5193, 5208, 5207};
Spline (5016) = {5207, 5217, 5215};
Spline (5017) = {5215, 5216, 5212};
Spline (5018) = {5212, 5213, 5210};
Spline (5019) = {5210, 5209, 5196};
Spline (5020) = {5196, 5195, 5182};
Spline (5021) = {5182, 5181, 5167};
Spline (5022) = {5167, 5166, 5141};
Spline (5023) = {5141, 5140, 5118};
Spline (5024) = {5118, 5117, 5095};
Spline (5025) = {5095, 5094, 5072};
Spline (5026) = {5072, 5071, 5048};
Spline (5027) = {5048, 5047, 5034};
Spline (5028) = {5034, 5033, 5020};
Spline (5029) = {5020, 5019, 5007};
Spline (5030) = {5007, 5006, 5001};
Spline (5031) = {5003, 5010, 5009};
Spline (5032) = {5009, 5023, 5022};
Spline (5033) = {5022, 5035, 5036};
Spline (5034) = {5036, 5051, 5050};
Spline (5035) = {5050, 5073, 5074};
Spline (5036) = {5074, 5098, 5097};
Spline (5037) = {5097, 5121, 5120};
Spline (5038) = {5120, 5142, 5143};
Spline (5039) = {5143, 5168, 5169};
Spline (5040) = {5169, 5185, 5184};
Spline (5041) = {5184, 5199, 5198};
Spline (5042) = {5198, 5211, 5212};
Spline (5043) = {5005, 5011, 5012};
Spline (5044) = {5012, 5024, 5025};
Spline (5045) = {5025, 5038, 5039};
Spline (5046) = {5039, 5052, 5053};
Spline (5047) = {5053, 5076, 5077};
Spline (5048) = {5077, 5101, 5100};
Spline (5049) = {5100, 5122, 5123};
Spline (5050) = {5123, 5147, 5146};
Spline (5051) = {5146, 5171, 5172};
Spline (5052) = {5172, 5186, 5187};
Spline (5053) = {5187, 5200, 5201};
Spline (5054) = {5201, 5214, 5215};
Spline (5055) = {5017, 5018, 5015};
Spline (5056) = {5015, 5027, 5028};
Spline (5057) = {5028, 5041, 5042};
Spline (5058) = {5042, 5055, 5056};
Spline (5059) = {5056, 5079, 5080};
Spline (5060) = {5080, 5102, 5103};
Spline (5061) = {5103, 5127, 5126};
Spline (5062) = {5126, 5150, 5149};
Spline (5063) = {5149, 5176, 5175};
Spline (5064) = {5175, 5189, 5190};
Spline (5065) = {5190, 5203, 5204};
Spline (5066) = {5204, 5206, 5207};
Spline (5067) = {5045, 5058, 5059};
Spline (5068) = {5059, 5082, 5083};
Spline (5069) = {5083, 5105, 5106};
Spline (5070) = {5106, 5128, 5129};
Spline (5071) = {5129, 5151, 5152};
Spline (5072) = {5152, 5180, 5178};
Spline (5073) = {5064, 5065, 5062};
Spline (5074) = {5062, 5085, 5086};
Spline (5075) = {5086, 5108, 5109};
Spline (5076) = {5109, 5131, 5132};
Spline (5077) = {5132, 5156, 5155};
Spline (5078) = {5155, 5165, 5164};
Spline (5079) = {5069, 5070, 5067};
Spline (5080) = {5067, 5088, 5089};
Spline (5081) = {5089, 5111, 5112};
Spline (5082) = {5112, 5134, 5135};
Spline (5083) = {5135, 5157, 5158};
Spline (5084) = {5158, 5160, 5161};
Spline (5085) = {5015, 5014, 5012};
Spline (5086) = {5012, 5013, 5009};
Spline (5087) = {5009, 5008, 5007};
Spline (5088) = {5031, 5032, 5028};
Spline (5089) = {5028, 5029, 5025};
Spline (5090) = {5025, 5026, 5022};
Spline (5091) = {5022, 5021, 5020};
Spline (5092) = {5045, 5046, 5042};
Spline (5093) = {5042, 5043, 5039};
Spline (5094) = {5039, 5040, 5036};
Spline (5095) = {5036, 5037, 5034};
Spline (5096) = {5067, 5066, 5062};
Spline (5097) = {5062, 5061, 5059};
Spline (5098) = {5059, 5060, 5056};
Spline (5099) = {5056, 5057, 5053};
Spline (5100) = {5053, 5054, 5050};
Spline (5101) = {5050, 5049, 5048};
Spline (5102) = {5092, 5093, 5089};
Spline (5103) = {5089, 5090, 5086};
Spline (5104) = {5086, 5087, 5083};
Spline (5105) = {5083, 5084, 5080};
Spline (5106) = {5080, 5081, 5077};
Spline (5107) = {5077, 5078, 5074};
Spline (5108) = {5074, 5075, 5072};
Spline (5109) = {5115, 5116, 5112};
Spline (5110) = {5112, 5113, 5109};
Spline (5111) = {5109, 5110, 5106};
Spline (5112) = {5106, 5107, 5103};
Spline (5113) = {5103, 5104, 5100};
Spline (5114) = {5100, 5099, 5097};
Spline (5115) = {5097, 5096, 5095};
Spline (5116) = {5138, 5139, 5135};
Spline (5117) = {5135, 5136, 5132};
Spline (5118) = {5132, 5133, 5129};
Spline (5119) = {5129, 5130, 5126};
Spline (5120) = {5126, 5125, 5123};
Spline (5121) = {5123, 5124, 5120};
Spline (5122) = {5120, 5119, 5118};
Spline (5123) = {5158, 5159, 5155};
Spline (5124) = {5155, 5154, 5152};
Spline (5125) = {5152, 5153, 5149};
Spline (5126) = {5149, 5148, 5146};
Spline (5127) = {5146, 5145, 5143};
Spline (5128) = {5143, 5144, 5141};
Spline (5129) = {5178, 5177, 5175};
Spline (5130) = {5175, 5174, 5172};
Spline (5131) = {5172, 5173, 5169};
Spline (5132) = {5169, 5170, 5167};
Spline (5133) = {5193, 5192, 5190};
Spline (5134) = {5190, 5191, 5187};
Spline (5135) = {5187, 5188, 5184};
Spline (5136) = {5184, 5183, 5182};
Spline (5137) = {5204, 5205, 5201};
Spline (5138) = {5201, 5202, 5198};
Spline (5139) = {5198, 5197, 5196};
Line Loop (1005141) = {5031, 5087, 5030, 5001};
Ruled Surface (5141) = {1005141};
Line Loop (1005143) = {5086, -5031, 5002, 5043};
Ruled Surface (5143) = {1005143};
Line Loop (1005145) = {5085, -5043, 5003, 5055};
Ruled Surface (5145) = {1005145};
Line Loop (1005147) = {-5056, -5055, 5004, 5088};
Ruled Surface (5147) = {1005147};
Line Loop (1005149) = {5089, -5044, -5085, 5056};
Ruled Surface (5149) = {1005149};
Line Loop (1005151) = {-5032, -5086, 5044, 5090};
Ruled Surface (5151) = {1005151};
Line Loop (1005153) = {5029, -5087, 5032, 5091};
Ruled Surface (5153) = {1005153};
Line Loop (1005155) = {-5057, -5088, 5005, 5092};
Ruled Surface (5155) = {1005155};
Line Loop (1005157) = {-5045, -5089, 5057, 5093};
Ruled Surface (5157) = {1005157};
Line Loop (1005159) = {-5033, -5090, 5045, 5094};
Ruled Surface (5159) = {1005159};
Line Loop (1005161) = {5028, -5091, 5033, 5095};
Ruled Surface (5161) = {1005161};
Line Loop (1005163) = {5096, -5073, 5007, 5079};
Ruled Surface (5163) = {1005163};
Line Loop (1005165) = {5097, -5067, 5006, 5073};
Ruled Surface (5165) = {1005165};
Line Loop (1005167) = {-5058, -5092, 5067, 5098};
Ruled Surface (5167) = {1005167};
Line Loop (1005169) = {-5046, -5093, 5058, 5099};
Ruled Surface (5169) = {1005169};
Line Loop (1005171) = {5100, -5034, -5094, 5046};
Ruled Surface (5171) = {1005171};
Line Loop (1005173) = {5027, -5095, 5034, 5101};
Ruled Surface (5173) = {1005173};
Line Loop (1005175) = {-5080, -5079, 5008, 5102};
Ruled Surface (5175) = {1005175};
Line Loop (1005177) = {-5074, -5096, 5080, 5103};
Ruled Surface (5177) = {1005177};
Line Loop (1005179) = {-5068, -5097, 5074, 5104};
Ruled Surface (5179) = {1005179};
Line Loop (1005181) = {-5059, -5098, 5068, 5105};
Ruled Surface (5181) = {1005181};
Line Loop (1005183) = {-5047, -5099, 5059, 5106};
Ruled Surface (5183) = {1005183};
Line Loop (1005185) = {-5035, -5100, 5047, 5107};
Ruled Surface (5185) = {1005185};
Line Loop (1005187) = {5026, -5101, 5035, 5108};
Ruled Surface (5187) = {1005187};
Line Loop (1005189) = {-5081, -5102, 5009, 5109};
Ruled Surface (5189) = {1005189};
Line Loop (1005191) = {-5075, -5103, 5081, 5110};
Ruled Surface (5191) = {1005191};
Line Loop (1005193) = {-5069, -5104, 5075, 5111};
Ruled Surface (5193) = {1005193};
Line Loop (1005195) = {-5060, -5105, 5069, 5112};
Ruled Surface (5195) = {1005195};
Line Loop (1005197) = {-5048, -5106, 5060, 5113};
Ruled Surface (5197) = {1005197};
Line Loop (1005199) = {-5036, -5107, 5048, 5114};
Ruled Surface (5199) = {1005199};
Line Loop (1005201) = {5025, -5108, 5036, 5115};
Ruled Surface (5201) = {1005201};
Line Loop (1005203) = {-5082, -5109, 5010, 5116};
Ruled Surface (5203) = {1005203};
Line Loop (1005205) = {-5076, -5110, 5082, 5117};
Ruled Surface (5205) = {1005205};
Line Loop (1005207) = {-5070, -5111, 5076, 5118};
Ruled Surface (5207) = {1005207};
Line Loop (1005209) = {-5061, -5112, 5070, 5119};
Ruled Surface (5209) = {1005209};
Line Loop (1005211) = {-5049, -5113, 5061, 5120};
Ruled Surface (5211) = {1005211};
Line Loop (1005213) = {-5037, -5114, 5049, 5121};
Ruled Surface (5213) = {1005213};
Line Loop (1005215) = {5024, -5115, 5037, 5122};
Ruled Surface (5215) = {1005215};
Line Loop (1005217) = {-5083, -5116, 5011, -5084};
Ruled Surface (5217) = {1005217};
Line Loop (1005219) = {-5077, -5117, 5083, 5123};
Ruled Surface (5219) = {1005219};
Line Loop (1005221) = {-5071, -5118, 5077, 5124};
Ruled Surface (5221) = {1005221};
Line Loop (1005223) = {-5062, -5119, 5071, 5125};
Ruled Surface (5223) = {1005223};
Line Loop (1005225) = {-5050, -5120, 5062, 5126};
Ruled Surface (5225) = {1005225};
Line Loop (1005227) = {-5038, -5121, 5050, 5127};
Ruled Surface (5227) = {1005227};
Line Loop (1005229) = {5023, -5122, 5038, 5128};
Ruled Surface (5229) = {1005229};
Line Loop (1005231) = {-5078, -5123, 5084, 5012};
Ruled Surface (5231) = {1005231};
Line Loop (1005233) = {-5072, -5124, 5078, 5013};
Ruled Surface (5233) = {1005233};
Line Loop (1005235) = {-5063, -5125, 5072, 5129};
Ruled Surface (5235) = {1005235};
Line Loop (1005237) = {-5051, -5126, 5063, 5130};
Ruled Surface (5237) = {1005237};
Line Loop (1005239) = {-5039, -5127, 5051, 5131};
Ruled Surface (5239) = {1005239};
Line Loop (1005241) = {5022, -5128, 5039, 5132};
Ruled Surface (5241) = {1005241};
Line Loop (1005243) = {-5064, -5129, 5014, 5133};
Ruled Surface (5243) = {1005243};
Line Loop (1005245) = {-5052, -5130, 5064, 5134};
Ruled Surface (5245) = {1005245};
Line Loop (1005247) = - {5040, -5135, -5052, 5131};
Ruled Surface (5247) = {1005247};
Line Loop (1005249) = -{-5021, -5136, -5040, 5132};
Ruled Surface (5249) = {1005249};
Line Loop (1005251) = -{5065, 5066, -5015, 5133};
Ruled Surface (5251) = {1005251};
Line Loop (1005253) = -{5053, -5137, -5065, 5134};
Ruled Surface (5253) = {1005253};
Line Loop (1005255) = -{5041, -5138, -5053, 5135};
Ruled Surface (5255) = {1005255};
Line Loop (1005257) = -{-5020, -5139, -5041, 5136};
Ruled Surface (5257) = {1005257};
Line Loop (1005259) = -{5054, -5016, -5066, 5137};
Ruled Surface (5259) = {1005259};
Line Loop (1005261) = {-5042, -5138, 5054, 5017};
Ruled Surface (5261) = {1005261};
Line Loop (1005263) = {-5139, 5042, 5018, 5019};
Ruled Surface (5263) = {1005263};
Jusante = 1002;
Physical Surface (Jusante) = { 5141, 5143, 5145, 5147, 5149, 5151 , 5153 , 5155 , 5157 , 5159 , 5161 , 5163 , 5165 , 5167 , 5169 , 5171 , 5173 , 5175 , 5177 , 5179 , 5181 , 5183 , 5185 , 5187 , 5189 , 5191 , 5193 , 5195 , 5197 , 5199 , 5201 , 5203 , 5205 , 5207 , 5209 , 5211 , 5213 , 5215 , 5217 , 5219 , 5221 , 5223 , 5225 , 5227 , 5229 , 5231 , 5233 , 5235 , 5237 , 5239 , 5241 , 5243 , 5245 , 5247 , 5249 , 5251 , 5253 , 5255 , 5257 , 5259 , 5261 , 5263 };
Line(1005264) = {1,5001};
Line(1005265) = {7,5007};
Line(1005266) = {20,5020};
Line(1005267) = {34,5034};
Line(1005268) = {48,5048};
Line(1005269) = {72,5072};
Line(1005270) = {95,5095};
Line(1005271) = {118,5118};
Line(1005272) = {5141,141};
Line(1005273) = {5167,167};
Line(1005274) = {5182,182};
Line(1005275) = {5196,196};
Line(1005276) = {5210,210};
Line Loop(1005277) = {1005264,-5030,-1005265,30};
Ruled Surface(1005278) = {1005277};
Line Loop(1005279) = {-5029,-1005266,29,1005265};
Ruled Surface(1005280) = {1005279};
Line Loop(1005281) = {-5028,-1005267,28,1005266};
Ruled Surface(1005282) = {1005281};
Line Loop(1005283) = {-5027,-1005268,27,1005267};
Ruled Surface(1005284) = {1005283};
Line Loop(1005285) = {-5026,-1005269,26,1005268};
Ruled Surface(1005286) = {1005285};
Line Loop(1005287) = {-5025,-1005270,25,1005269};
Ruled Surface(1005288) = {1005287};
Line Loop(1005289) = {-5024,-1005271,24,1005270};
Ruled Surface(1005290) = {1005289};
Line Loop(1005291) = {-5023,1005272,23,1005271};
Ruled Surface(1005292) = {1005291};
Line Loop(1005293) = {-5022,1005273,22,-1005272};
Ruled Surface(1005294) = {1005293};
Line Loop(1005295) = {-5021,1005274,21,-1005273};
Ruled Surface(1005296) = {1005295};
Line Loop(1005297) = {-5020,1005275,20,-1005274};
Ruled Surface(1005298) = {1005297};
Line Loop(1005299) = {-5019,1005276,19,-1005275};
Ruled Surface(1005300) = {1005299};
Coroamento = 1003;
Physical Surface (Coroamento) = { 1005278 , 1005280 , 1005282 , 1005284 , 1005286 , 1005288 , 1005290 , 1005292 , 1005294 , 1005296 , 1005298, 1005300};
Line(1005301) = {69,5069};
Line(1005302) = {92,5092};
Line(1005303) = {115,5115};
Line(1005304) = {138,5138};
Line(1005305) = {161,5161};
Line Loop(1005306) = {1005302,-5008,-1005301,8};
Ruled Surface(1005307) = {1005306};
Line Loop(1005308) = {1005303,-5009,-1005302,9};
Ruled Surface(1005309) = {1005308};
Line Loop(1005310) = {1005304,-5010,-1005303,10};
Ruled Surface(1005311) = {1005310};
Line Loop(1005312) = {1005305,-5011,-1005304,11};
Ruled Surface(1005313) = {1005312};
Base = 1004;
Physical Surface (Base) = { 1005307 , 1005309 , 1005311 , 1005313};
Line(1005314) = {5164,164};
Line(1005315) = {5178,178};
Line(1005316) = {5193,193};
Line(1005317) = {5207,207};
Line(1005318) = {5215,215};
Line(1005319) = {5212,212};
Line Loop(1005320) = {-1005314,-5012,-1005305,12};
Ruled Surface(1005321) = {1005320};
Line Loop(1005322) = {-1005315,-5013,1005314,13};
Ruled Surface(1005323) = {1005322};
Line Loop(1005324) = {-1005316,-5014,1005315,14};
Ruled Surface(1005325) = {1005324};
Line Loop(1005326) = {-1005317,-5015,1005316,15};
Ruled Surface(1005327) = {1005326};
Line Loop(1005328) = {16,-1005318,-5016,1005317};
Ruled Surface(1005329) = {1005328};
Line Loop(1005330) = {-1005319,-5017,1005318,17};
Ruled Surface(1005331) = {1005330};
Line Loop(1005332) = {-1005276,-5018,1005319,18};
Ruled Surface(1005333) = {1005332};
EnEsq = 1005;
Physical Surface (EnEsq) = { 1005321 , 1005323 , 1005325 , 1005327 , 1005329 , 1005331, 1005333};
Line(1005334) = {5064,64};
Line(1005335) = {5045,45};
Line(1005336) = {5031,31};
Line(1005337) = {5017,17};
Line(1005338) = {5005,5};
Line(1005339) = {5003,3};
Line Loop(1005340) = {1005301,-5007,1005334,7};
Ruled Surface(1005341) = {1005340};
Line Loop(1005342) = {-1005334,-5006,1005335,6};
Ruled Surface(1005343) = {1005342};
Line Loop(1005344) = {-1005335,-5005,1005336,5};
Ruled Surface(1005345) = {1005344};
Line Loop(1005346) = {-1005336,-5004,1005337,4};
Ruled Surface(1005347) = {1005346};
Line Loop(1005348) = {-1005337,-5003,1005338,3};
Ruled Surface(1005349) = {1005348};
Line Loop(1005350) = {-1005338,-5002,1005339,2};
Ruled Surface(1005351) = {1005350};
Line Loop(1005352) = {-1005339,-5001,-1005264,1};
Ruled Surface(1005353) = {1005352};
EnDir = 1006;
Physical Surface (EnDir) = { 1005341 , 1005343 , 1005345 , 1005347 , 1005349 , 1005351, 1005353};
Surface Loop(1005354) = {1005311,1005313,1005321,1005323,1005325,1005327,1005329,259,261,263,257,1005298,1005300,1005333,5263,5257,5255,5261,5259,5251,5253,5245,5247,5249,1005296,249,247,255,253,251,243,245,237,239,241,1005294,5241,5239,5237,5235,5243,5233,5231,5217,5219,5221,5223,5225,5227,5229,1005292,229,227,225,223,235,233,231,217,219,221,207,209,211,213,215,1005290,5215,5213,5211,5209,5207,5205,5203,5189,5191,5193,5195,5197,5199,5201,1005288,201,199,197,195,193,191,205,203,189,1005309,1005307,5175,5177,5179,5181,5183,5185,5187,1005286,187,185,183,181,179,177,175,163,1005341,1005343,165,167,169,171,173,1005284,5173,5171,5159,5161,1005282,161,159,157,155,1005345,1005347,147,149,145,1005349,1005351,143,151,153,1005280,5153,5151,5149,5157,5169,5167,5165,5163,5155,5147,5145,5143,5141,1005278,1005353,141,1005331};
Volume(1005355) = {1005354};
Barragem = 1010;
Physical Volume (Barragem) = { 1005355 };
```