diff --git a/bar.geo b/bar.geo new file mode 100644 index 0000000..5b1b26b --- /dev/null +++ b/bar.geo @@ -0,0 +1,28 @@ +// Mesh size +h1 = 0.005; + +// Dimensions +Lx = 1; +Ly = 0.2; + +//------------------------------------------------ +// Beam +//------------------------------------------------ +Point(1) = { -Lx/2, -Ly/2, 0.0, h1}; +Point(2) = { Lx/2, -Ly/2, 0.0, h1}; +Point(3) = { Lx/2, Ly/2, 0.0, h1}; +Point(4) = { -Lx/2, Ly/2, 0.0, h1}; + +Line(1) = {1,2}; +Line(2) = {2,3}; +Line(3) = {3,4}; +Line(4) = {4,1}; + +Line Loop(1) = {1:4}; + +Plane Surface(1) = {1}; + +Physical Surface(1) = {1}; + +//Transfinite Surface {1}; +//Recombine Surface {1};