Skip to content

Instantly share code, notes, and snippets.

@colinjcotter
Created May 26, 2016 10:48
Show Gist options
  • Save colinjcotter/9d29cff712f3bfd2c610843d658341c8 to your computer and use it in GitHub Desktop.
Save colinjcotter/9d29cff712f3bfd2c610843d658341c8 to your computer and use it in GitHub Desktop.
cellSize = 0.1;
radius = 1.0;
Point(1) = {0, 0, 0, cellSize};
Point(2) = {-radius, 0, 0, cellSize};
Point(3) = {0, radius, 0, cellSize};
Point(4) = {radius, 0, 0, cellSize};
Point(5) = {0, -radius, 0, cellSize};
Circle(6) = {2, 1, 3};
Circle(7) = {3, 1, 4};
Circle(8) = {4, 1, 5};
Circle(9) = {5, 1, 2};
Line Loop(10) = {6, 7, 8, 9};
Plane Surface(11) = {10};
Physical Surface(12) = {11};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment