CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Gmsh] Extrude on gmsh

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 30, 2019, 13:33
Default Extrude on gmsh
  #1
New Member
 
Pedro Felix
Join Date: Oct 2019
Posts: 2
Rep Power: 0
Pedro Felix is on a distinguished road
Hi,


I'm new to OpenFoam and Gmsh, I'm having a problem with Extrude. I created a 2D geometry and now I need to use Extrude to make it 3D and run on OpenFoam. When I use Extrude, the circle are a problem and only half of them extrude. How do I solve this?



sorry for my bad english


Below is my .geo file


Point(1) = {39.6438, 11.3693, 0};
Point(2) = {40.6438, 11.3693, 0};
Point(3) = {38.6438, 11.3693, 0};
Point(4) = {27.776, 3.88375, 0};
Point(5) = {28.776, 3.88375, 0};
Point(6) = {26.776, 3.88375, 0};
Point(7) = {30.3157, 6.07401, 0};
Point(8) = {31.3157, 6.07401, 0};
Point(9) = {29.3157, 6.07401, 0};
Point(10) = {37.9464, 4.54969, 0};
Point(11) = {38.9464, 4.54969, 0};
Point(12) = {36.9464, 4.54969, 0};
Point(13) = {29.3447, 8.75073, 0};
Point(14) = {30.3447, 8.75073, 0};
Point(15) = {28.3447, 8.75073, 0};
Point(16) = {41.4272, 7.5703, 0};
Point(17) = {42.4272, 7.5703, 0};
Point(18) = {40.4272, 7.5703, 0};
Point(19) = {23.8915, 11.3371, 0};
Point(20) = {24.8915, 11.3371, 0};
Point(21) = {22.8915, 11.3371, 0};
Point(22) = {33.3143, 3.7576, 0};
Point(23) = {34.3143, 3.7576, 0};
Point(24) = {32.3143, 3.7576, 0};
Point(25) = {41.4729, 14.7418, 0};
Point(26) = {42.439, 15, 0};
Point(27) = {42.4729, 14.7418, 0};
Point(28) = {40.4729, 14.7418, 0};
Point(29) = {40.5068, 15, 0};
Point(30) = {41.4729, -0.258218, 0};
Point(31) = {40.5068, 0, 0};
Point(32) = {42.439, 0, 0};
Point(33) = {38.6861, 13.5325, 0};
Point(34) = {39.6861, 13.5325, 0};
Point(35) = {37.6861, 13.5325, 0};
Point(36) = {29.22, 1.51052, 0};
Point(37) = {30.22, 1.51052, 0};
Point(38) = {28.22, 1.51052, 0};
Point(39) = {29.3563, 12.9796, 0};
Point(40) = {30.3563, 12.9796, 0};
Point(41) = {28.3563, 12.9796, 0};
Point(42) = {31.3636, 0.210626, 0};
Point(43) = {30.386, 0, 0};
Point(44) = {30.3636, 0.210626, 0};
Point(45) = {32.3636, 0.210626, 0};
Point(46) = {32.3411, 0, 0};
Point(47) = {31.3636, 15.2106, 0};
Point(48) = {32.3411, 15, 0};
Point(49) = {30.386, 15, 0};
Point(50) = {16.032, 7.40367, 0};
Point(51) = {17.032, 7.40367, 0};
Point(52) = {15.032, 7.40367, 0};
Point(53) = {40.2929, 3.65866, 0};
Point(54) = {41.2929, 3.65866, 0};
Point(55) = {39.2929, 3.65866, 0};
Point(56) = {21.3499, 8.51266, 0};
Point(57) = {22.3499, 8.51266, 0};
Point(58) = {20.3499, 8.51266, 0};
Point(59) = {22.6812, 14.5131, 0};
Point(60) = {23.5547, 15, 0};
Point(61) = {23.6812, 14.5131, 0};
Point(62) = {21.6812, 14.5131, 0};
Point(63) = {21.8078, 15, 0};
Point(64) = {22.6812, -0.486896, 0};
Point(65) = {21.8078, 0, 0};
Point(66) = {23.5547, 0, 0};
Point(67) = {18.2525, 4.80082, 0};
Point(68) = {19.2525, 4.80082, 0};
Point(69) = {17.2525, 4.80082, 0};
Point(70) = {19.0536, 8.26901, 0};
Point(71) = {20.0536, 8.26901, 0};
Point(72) = {18.0536, 8.26901, 0};
Point(73) = {35.7837, 8.21161, 0};
Point(74) = {36.7837, 8.21161, 0};
Point(75) = {34.7837, 8.21161, 0};
Point(76) = {38.8051, 8.10425, 0};
Point(77) = {39.8051, 8.10425, 0};
Point(78) = {37.8051, 8.10425, 0};
Point(79) = {21.303, 2.80094, 0};
Point(80) = {22.303, 2.80094, 0};
Point(81) = {20.303, 2.80094, 0};
Point(82) = {33.1576, 9.84989, 0};
Point(83) = {34.1576, 9.84989, 0};
Point(84) = {32.1576, 9.84989, 0};
Point(85) = {43.8952, 13.7541, 0};
Point(86) = {44.8952, 13.7541, 0};
Point(87) = {42.8952, 13.7541, 0};
Point(88) = {38.2131, 1.23559, 0};
Point(89) = {39.2131, 1.23559, 0};
Point(90) = {37.2131, 1.23559, 0};
Point(91) = {33.1579, 7.29666, 0};
Point(92) = {34.1579, 7.29666, 0};
Point(93) = {32.1579, 7.29666, 0};
Point(94) = {33.6441, 12.6762, 0};
Point(95) = {34.6441, 12.6762, 0};
Point(96) = {32.6441, 12.6762, 0};
Point(97) = {20.098, 10.4651, 0};
Point(98) = {21.098, 10.4651, 0};
Point(99) = {19.098, 10.4651, 0};
Point(100) = {35.0565, 0.400452, 0};
Point(101) = {34.1402, 0, 0};
Point(102) = {34.0565, 0.400452, 0};
Point(103) = {36.0565, 0.400452, 0};
Point(104) = {35.9728, 0, 0};
Point(105) = {35.0565, 15.4005, 0};
Point(106) = {35.9728, 15, 0};
Point(107) = {34.1402, 15, 0};
Point(108) = {26.3639, 14.7077, 0};
Point(109) = {27.3203, 15, 0};
Point(110) = {27.3639, 14.7077, 0};
Point(111) = {25.3639, 14.7077, 0};
Point(112) = {25.4076, 15, 0};
Point(113) = {26.3639, -0.29225, 0};
Point(114) = {25.4076, 0, 0};
Point(115) = {27.3203, 0, 0};
Point(116) = {17.019, 0.324548, 0};
Point(117) = {16.0731, 0, 0};
Point(118) = {16.019, 0.324548, 0};
Point(119) = {18.019, 0.324548, 0};
Point(120) = {17.9648, 0, 0};
Point(121) = {17.019, 15.3245, 0};
Point(122) = {17.9648, 15, 0};
Point(123) = {16.0731, 15, 0};
Point(124) = {42.9089, 2.77458, 0};
Point(125) = {43.9089, 2.77458, 0};
Point(126) = {41.9089, 2.77458, 0};
Point(127) = {21.582, 5.37833, 0};
Point(128) = {22.582, 5.37833, 0};
Point(129) = {20.582, 5.37833, 0};
Point(130) = {36.4848, 12.5749, 0};
Point(131) = {37.4848, 12.5749, 0};
Point(132) = {35.4848, 12.5749, 0};
Point(133) = {17.6254, 10.143, 0};
Point(134) = {18.6254, 10.143, 0};
Point(135) = {16.6254, 10.143, 0};
Point(136) = {24.7205, 5.35728, 0};
Point(137) = {25.7205, 5.35728, 0};
Point(138) = {23.7205, 5.35728, 0};
Point(139) = {16.0427, 2.88464, 0};
Point(140) = {17.0427, 2.88464, 0};
Point(141) = {15.0427, 2.88464, 0};
Point(142) = {0, 0, 0};
Point(143) = {0, 15, 0};
Point(144) = {60, 15, 0};
Point(145) = {60, 0, 0};
Circle(1) = {2, 1, 3};
Circle(2) = {3, 1, 2};
Circle(3) = {5, 4, 6};
Circle(4) = {6, 4, 5};
Circle(5) = {8, 7, 9};
Circle(6) = {9, 7, 8};
Circle(7) = {11, 10, 12};
Circle(8) = {12, 10, 11};
Circle(9) = {14, 13, 15};
Circle(10) = {15, 13, 14};
Circle(11) = {17, 16, 18};
Circle(12) = {18, 16, 17};
Circle(13) = {20, 19, 21};
Circle(14) = {21, 19, 20};
Circle(15) = {23, 22, 24};
Circle(16) = {24, 22, 23};
Circle(17) = {27, 25, 26};
Circle(18) = {28, 25, 27};
Circle(19) = {29, 25, 28};
Circle(20) = {31, 30, 32};
Circle(21) = {34, 33, 35};
Circle(22) = {35, 33, 34};
Circle(23) = {37, 36, 38};
Circle(24) = {38, 36, 37};
Circle(25) = {40, 39, 41};
Circle(26) = {41, 39, 40};
Circle(27) = {43, 42, 44};
Circle(28) = {45, 42, 44};
Circle(29) = {45, 42, 46};
Circle(30) = {48, 47, 49};
Circle(31) = {51, 50, 52};
Circle(32) = {52, 50, 51};
Circle(33) = {54, 53, 55};
Circle(34) = {55, 53, 54};
Circle(35) = {57, 56, 58};
Circle(36) = {58, 56, 57};
Circle(37) = {61, 59, 60};
Circle(38) = {62, 59, 61};
Circle(39) = {63, 59, 62};
Circle(40) = {65, 64, 66};
Circle(41) = {68, 67, 69};
Circle(42) = {69, 67, 68};
Circle(43) = {71, 70, 72};
Circle(44) = {72, 70, 71};
Circle(45) = {74, 73, 75};
Circle(46) = {75, 73, 74};
Circle(47) = {77, 76, 78};
Circle(48) = {78, 76, 77};
Circle(49) = {80, 79, 81};
Circle(50) = {81, 79, 80};
Circle(51) = {83, 82, 84};
Circle(52) = {84, 82, 83};
Circle(53) = {86, 85, 87};
Circle(54) = {87, 85, 86};
Circle(55) = {89, 88, 90};
Circle(56) = {90, 88, 89};
Circle(57) = {92, 91, 93};
Circle(58) = {93, 91, 92};
Circle(59) = {95, 94, 96};
Circle(60) = {96, 94, 95};
Circle(61) = {98, 97, 99};
Circle(62) = {99, 97, 98};
Circle(63) = {101, 100, 102};
Circle(64) = {103, 100, 102};
Circle(65) = {103, 100, 104};
Circle(66) = {106, 105, 107};
Circle(67) = {110, 108, 109};
Circle(68) = {111, 108, 110};
Circle(69) = {112, 108, 111};
Circle(70) = {114, 113, 115};
Circle(71) = {117, 116, 118};
Circle(72) = {119, 116, 118};
Circle(73) = {119, 116, 120};
Circle(74) = {122, 121, 123};
Circle(75) = {125, 124, 126};
Circle(76) = {126, 124, 125};
Circle(77) = {128, 127, 129};
Circle(78) = {129, 127, 128};
Circle(79) = {131, 130, 132};
Circle(80) = {132, 130, 131};
Circle(81) = {134, 133, 135};
Circle(82) = {135, 133, 134};
Circle(83) = {137, 136, 138};
Circle(84) = {138, 136, 137};
Circle(85) = {140, 139, 141};
Circle(86) = {141, 139, 140};
Line(87) = {16, 124};
Line(88) = {124, 85};
Line(89) = {85, 16};
Line(90) = {139, 67};
Line(91) = {67, 50};
Line(92) = {50, 139};
Line(93) = {67, 139};
Line(94) = {139, 116};
Line(95) = {116, 67};
Line(96) = {79, 116};
Line(97) = {64, 79};
Line(98) = {79, 67};
Line(99) = {67, 116};
Line(100) = {116, 79};
Line(101) = {113, 79};
Line(102) = {79, 64};
Line(103) = {79, 113};
Line(104) = {113, 136};
Line(105) = {136, 79};
Line(106) = {42, 36};
Line(107) = {36, 113};
Line(108) = {108, 19};
Line(109) = {19, 39};
Line(110) = {39, 108};
Line(111) = {113, 4};
Line(112) = {4, 136};
Line(113) = {136, 113};
Line(114) = {4, 113};
Line(115) = {113, 36};
Line(116) = {36, 4};
Line(117) = {42, 22};
Line(118) = {22, 36};
Line(119) = {36, 42};
Line(120) = {59, 19};
Line(121) = {19, 108};
Line(122) = {97, 59};
Line(123) = {121, 97};
Line(124) = {59, 97};
Line(125) = {97, 19};
Line(126) = {19, 59};
Line(127) = {108, 39};
Line(128) = {39, 47};
Line(129) = {94, 47};
Line(130) = {47, 39};
Line(131) = {39, 94};
Line(132) = {47, 94};
Line(133) = {94, 105};
Line(134) = {133, 121};
Line(135) = {121, 50};
Line(136) = {50, 133};
Line(137) = {133, 97};
Line(138) = {97, 121};
Line(139) = {121, 133};
Line(140) = {133, 70};
Line(141) = {70, 97};
Line(142) = {97, 133};
Line(143) = {67, 70};
Line(144) = {70, 50};
Line(145) = {50, 67};
Line(146) = {70, 133};
Line(147) = {133, 50};
Line(148) = {50, 70};
Line(149) = {19, 56};
Line(150) = {56, 136};
Line(151) = {136, 19};
Line(152) = {97, 56};
Line(153) = {56, 19};
Line(154) = {19, 97};
Line(155) = {70, 56};
Line(156) = {56, 97};
Line(157) = {97, 70};
Line(158) = {4, 13};
Line(159) = {13, 136};
Line(160) = {136, 4};
Line(161) = {19, 13};
Line(162) = {13, 39};
Line(163) = {39, 19};
Line(164) = {13, 19};
Line(165) = {19, 136};
Line(166) = {136, 13};
Line(167) = {22, 73};
Line(168) = {73, 91};
Line(169) = {91, 22};
Line(170) = {100, 22};
Line(171) = {22, 42};
Line(172) = {127, 79};
Line(173) = {79, 136};
Line(174) = {136, 127};
Line(175) = {56, 127};
Line(176) = {127, 136};
Line(177) = {136, 56};
Line(178) = {79, 127};
Line(179) = {127, 67};
Line(180) = {67, 79};
Line(181) = {127, 70};
Line(182) = {70, 67};
Line(183) = {67, 127};
Line(184) = {127, 56};
Line(185) = {56, 70};
Line(186) = {70, 127};
Line(187) = {13, 7};
Line(188) = {7, 91};
Line(189) = {91, 13};
Line(190) = {7, 13};
Line(191) = {13, 4};
Line(192) = {4, 7};
Line(193) = {7, 22};
Line(194) = {22, 91};
Line(195) = {91, 7};
Line(196) = {7, 4};
Line(197) = {4, 36};
Line(198) = {36, 7};
Line(199) = {22, 7};
Line(200) = {7, 36};
Line(201) = {36, 22};
Line(202) = {82, 13};
Line(203) = {13, 91};
Line(204) = {91, 82};
Line(205) = {73, 82};
Line(206) = {82, 91};
Line(207) = {91, 73};
Line(208) = {82, 94};
Line(209) = {94, 39};
Line(210) = {39, 82};
Line(211) = {13, 82};
Line(212) = {82, 39};
Line(213) = {39, 13};
Line(214) = {94, 130};
Line(215) = {130, 105};
Line(216) = {105, 94};
Line(217) = {82, 130};
Line(218) = {130, 94};
Line(219) = {94, 82};
Line(220) = {130, 82};
Line(221) = {82, 73};
Line(222) = {73, 130};
Line(223) = {88, 100};
Line(224) = {30, 88};
Line(225) = {33, 25};
Line(226) = {105, 33};
Line(227) = {130, 33};
Line(228) = {33, 105};
Line(229) = {105, 130};
Line(230) = {76, 130};
Line(231) = {130, 73};
Line(232) = {73, 76};
Line(233) = {53, 124};
Line(234) = {124, 16};
Line(235) = {16, 53};
Line(236) = {124, 53};
Line(237) = {53, 30};
Line(238) = {30, 124};
Line(239) = {53, 88};
Line(240) = {88, 30};
Line(241) = {30, 53};
Line(242) = {100, 10};
Line(243) = {10, 22};
Line(244) = {22, 100};
Line(245) = {88, 10};
Line(246) = {10, 100};
Line(247) = {100, 88};
Line(248) = {53, 10};
Line(249) = {10, 88};
Line(250) = {88, 53};
Line(251) = {10, 73};
Line(252) = {73, 22};
Line(253) = {22, 10};
Line(254) = {10, 76};
Line(255) = {76, 73};
Line(256) = {73, 10};
Line(257) = {76, 10};
Line(258) = {10, 16};
Line(259) = {16, 76};
Line(260) = {10, 53};
Line(261) = {53, 16};
Line(262) = {16, 10};
Line(263) = {1, 33};
Line(264) = {33, 130};
Line(265) = {130, 1};
Line(266) = {76, 1};
Line(267) = {1, 130};
Line(268) = {130, 76};
Line(269) = {1, 76};
Line(270) = {76, 16};
Line(271) = {16, 1};
Line(272) = {33, 1};
Line(273) = {1, 25};
Line(274) = {25, 33};
Line(275) = {1, 16};
Line(276) = {16, 85};
Line(277) = {85, 1};
Line(278) = {25, 1};
Line(279) = {1, 85};
Line(280) = {85, 25};
Line(281) = {143, 142};
Line(282) = {145, 144};
Line(283) = {142, 117};
Line(284) = {120, 65};
Line(285) = {66, 114};
Line(286) = {115, 43};
Line(287) = {46, 101};
Line(288) = {104, 31};
Line(289) = {32, 145};
Line(290) = {26, 144};
Line(291) = {29, 106};
Line(292) = {107, 48};
Line(293) = {49, 109};
Line(294) = {112, 60};
Line(295) = {63, 122};
Line(296) = {123, 143};
Curve Loop (1) = {283,71,-72,73,284,40,285,70,286,27,-28,29,287,63,-64,65,288,20,289,282,-290,-17,-18,-19,291,66,292,30,293,-67,-68,-69,294,-37,-38,-39,295,74,296,281};
Curve Loop (2) = {1,2};
Curve Loop (3) = {3,4};
Curve Loop (4) = {5,6};
Curve Loop (5) = {7,8};
Curve Loop (6) = {9,10};
Curve Loop (7) = {11,12};
Curve Loop (8) = {13,14};
Curve Loop (9) = {15,16};
Curve Loop (10) = {21,22};
Curve Loop (11) = {23,24};
Curve Loop (12) = {25,26};
Curve Loop (13) = {31,32};
Curve Loop (14) = {33,34};
Curve Loop (15) = {35,36};
Curve Loop (16) = {41,42};
Curve Loop (17) = {43,44};
Curve Loop (18) = {45,46};
Curve Loop (19) = {47,48};
Curve Loop (20) = {49,50};
Curve Loop (21) = {51,52};
Curve Loop (22) = {53,54};
Curve Loop (23) = {55,56};
Curve Loop (24) = {57,58};
Curve Loop (25) = {59,60};
Curve Loop (26) = {61,62};
Curve Loop (27) = {75,76};
Curve Loop (28) = {77,78};
Curve Loop (29) = {79,80};
Curve Loop (30) = {81,82};
Curve Loop (31) = {83,84};
Curve Loop (32) = {85,86};

Plane Surface (1) = {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,2 0,21,22,23,24,25,26,27,28,29,30,31,32};
Physical Surface("SOLID") = {1};
Physical Line("VELOCITY_INLET") = {281};
Physical Line("VELOCITY_OUTLET") = {282};

Field[1] = Box;
Field[1].VIn = 0.75;
Field[1].XMax = 900;
Field[1].YMax = 17;
Field[1].XMin = 0;
Field[1].YMin = -2;
Field[1].ZMax = 0;
Field[1].ZMin = 0;
Background Field = 1;
Mesh.RecombinationAlgorithm = 2;
Mesh.Algorithm = 8;
Mesh.Smoothing = 10;
Mesh.Format = 31;
Mesh.SaveElementTagType = 2;
Mesh.SaveAll = 1;
Pedro Felix is offline   Reply With Quote

Reply

Tags
extrude, gmsh extrude, openfoam

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
GMSH extrude a boundary layer from an unstructured Mesh Hillie Mesh Generation & Pre-Processing 2 July 7, 2017 04:38
[Gmsh] Structured mesh in gmsh without Extrude function ericnutsch OpenFOAM Meshing & Mesh Conversion 2 December 6, 2013 08:52
[Gmsh] 2D Mesh Generation Tutorial for GMSH aeroslacker OpenFOAM Meshing & Mesh Conversion 12 January 19, 2012 04:52
[Gmsh] Cannot get the right mesh from gmsh JinBiao OpenFOAM Meshing & Mesh Conversion 2 August 31, 2010 05:51
[Gmsh] Import problem ARC OpenFOAM Meshing & Mesh Conversion 0 February 27, 2010 11:56


All times are GMT -4. The time now is 01:24.