Skip to content

Instantly share code, notes, and snippets.

@tkarna
Created July 28, 2016 18:05
Show Gist options
  • Save tkarna/87422918f5c6d195663e292726c98e0d to your computer and use it in GitHub Desktop.
Save tkarna/87422918f5c6d195663e292726c98e0d to your computer and use it in GitHub Desktop.
lc = 1.0/25.0;
Point(1) = {0, 0, 0, lc};
Point(2) = {1, 0, 0, lc};
Point(3) = {1, 1, 0, lc};
Point(4) = {0, 1, 0, lc};
Line(1) = {4, 3};
Line(2) = {3, 2};
Line(3) = {2, 1};
Line(4) = {1, 4};
Line Loop(5) = {1, 2, 3, 4};
Plane Surface(6) = {5};
Physical Line(1) = {2};
Physical Line(2) = {4};
Physical Line(3) = {1,3};
Physical Surface(11) = {6};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment