[Gmsh] debugging in my geo file
saadat khan
saadatkhan at rocketmail.com
Sun Jun 25 09:53:59 CEST 2017
Dear List
I am new on Gmsh platform.
I have a very simple geo file and I had constructed a trapezoidal mesh for
CDSEM simulation but when I simulate this trapezoidal it is giving me an
extra peak unrecognized peak in the middle of the inclind surface of
trapezoidal.
Kindly have a look at my Geo file and tell me at what part I am making the
mistake.
Thanks in advance!
Here is my geo file:
// Gmsh project created on Sun May 21 17:22:48 2017
m=100; //mesh at each point
errof_x=0.212074763435; // will adjust the x to fit
the length
errof_z=-0.21207476343; // will adjust the y to
fit the length
TCD=1.20; // top CD
HW=TCD/2+errof_x; //half of top CD
H=2.40; // height of trepezoidal
//angle
a=2.1; //Angle in Degree
c=(a*Pi)/180; // Angle in RAdian
BW=H*Atan(c); // side wall length
//starting point
x=0;y=0;z=0;
TW=x+2*HW+2*BW+TCD;
//+
Point(1) = {x, y, z, m};
Point(2) = {x, y, z+HW+errof_z, m};
Point(3) = {x+HW, y, z+HW+errof_z, m};
Point(4) = {x+HW+BW, y, z+HW+H+errof_z, m};
Point(5) = {x+HW+BW+TCD, y, z+HW+H+errof_z, m};
Point(6) = {x+HW+2*BW+TCD, y, z+HW+errof_z, m};
Point(7) = {x+TW, y, z+HW+errof_z, m};
Point(8) = {x+TW, y, z, m};
//+
Point(9) = {x, y+TW, z, m};
Point(10) = {x, y+TW, z+HW+errof_z, m};
Point(11) = {x+HW, y+TW, z+HW+errof_z, m};
Point(12) = {x+HW+BW, y+TW, z+HW+H+errof_z, m};
Point(13) = {x+HW+BW+TCD, y+TW, z+HW+H+errof_z, m};
Point(14) = {x+HW+2*BW+TCD, y+TW, z+HW+errof_z, m};
Point(15) = {x+TW, y+TW, z+HW+errof_z, m};
Point(16) = {x+TW, y+TW, z, m};
//+
Line(1) = {1, 2};
//+
Line(2) = {2, 3};
//+
Line(3) = {3, 4};
//+
Line(4) = {4, 5};
//+
Line(5) = {5, 6};
//+
Line(6) = {6, 7};
//+
Line(7) = {7, 8};
//+
Line(8) = {8, 1};
//+
//+
Line(9) = {9, 10};
//+
Line(10) = {10, 11};
//+
Line(11) = {11, 12};
//+
Line(12) = {12, 13};
//+
Line(13) = {13, 14};
//+
Line(14) = {14, 15};
//+
Line(15) = {15, 16};
//+
Line(16) = {16, 9};
//+
Line(17) = {9, 1};
//+
Line(18) = {2, 10};
//+
Line(19) = {3, 11};
//+
Line(20) = {6, 14};
//+
Line(21) = {7, 15};
//+
Line(22) = {8, 16};
//+
Line(23) = {5, 13};
//+
Line(24) = {4, 12};
//+
Line(25) = {11, 14};
//+
Line(26) = {3, 6};//+
Line Loop(27) = {25, 14, -21, -6, -26, -2, 18, 10};
//+
Plane Surface(28) = {27};
//+
Line Loop(29) = {16, 17, -8, 22};
//+
Plane Surface(30) = {29};
//+
Line Loop(31) = {9, 10, 25, 14, 15, 16};
//+
Plane Surface(32) = {31};
//+
Line Loop(33) = {9, -18, -1, -17};
//+
Plane Surface(34) = {33};
//+
Line Loop(35) = {15, -22, -7, 21};
//+
Plane Surface(36) = {35};
//+
Line Loop(37) = {26, 6, 7, 8, 1, 2};
//+
Plane Surface(38) = {37};
//+
Line Loop(39) = {11, 12, 13, -25};
//+
Plane Surface(40) = {39};
//+
Line Loop(41) = {3, 4, 5, -26};
//+
Plane Surface(42) = {41};
//+
Line Loop(43) = {11, -24, -3, 19};
//+
Ruled Surface(44) = {43};
//+
Line Loop(45) = {13, -20, -5, 23};
//+
Ruled Surface(46) = {45};
//+
Line Loop(47) = {24, 12, -23, -4};
//+
Plane Surface(48) = {47};
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20170625/8d5ba86b/attachment.html>
More information about the gmsh
mailing list