1234567891011121314151617181920212223242526272829303132333435 |
- // Gmsh project created on Sun Jan 19 20:03:15 2020
- C = 0.5;
- //+
- Point(1) = {1, 1, 0, C};
- //+
- Point(2) = {9, 1, 0, C};
- //+
- Point(3) = {1, 9, 0, C};
- //+
- Point(4) = {6, 6, 0, C};
- //+
- Line(1) = {1, 3};
- //+
- Line(2) = {3, 4};
- //+
- Line(3) = {4, 2};
- //+
- Line(4) = {2, 1};
- //+
- Curve Loop(1) = {3, 4, 1, 2};
- //+
- Plane Surface(1) = {1};
- //+
- Extrude {0, 0, 1} {
- Surface{1};
- }
- //+
- Physical Surface("AxialSides") = {1, 26};
- //+
- Physical Surface("AngleSides") = {17, 21};
- //+
- Physical Surface("RadialSides") = {13, 25};
- //+
- Physical Volume("MagnetVolume") = {1};
|