Skip to content

Commit

Permalink
add elasticity reaction force computing example
Browse files Browse the repository at this point in the history
  • Loading branch information
halbux committed Jun 7, 2021
1 parent db66be3 commit 95eda06
Show file tree
Hide file tree
Showing 3 changed files with 40,805 additions and 0 deletions.
27 changes: 27 additions & 0 deletions examples/reaction-force-computing/disk.geo
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
// Choose the mesh size:
c = 0.1;

// Number of extrude layers:
n = 3;

Point(1) = {0, 0, 0, c};
Point(2) = {1, 0, 0, c};
Point(3) = {0, -1, 0, c};
Point(4) = {0, 1, 0, c};
Point(5) = {-1, 0, 0, c};

Circle(1) = {5, 1, 4};
Circle(2) = {4, 1, 2};
Circle(3) = {2, 1, 3};
Circle(4) = {3, 1, 5};

Line Loop(5) = {1, 2, 3, 4};
Plane Surface(6) = {5};
Recombine Surface{6};

Extrude{0,0,0.1}{Surface{6}; Layers{n}; Recombine;}

Physical Volume(1) = {1};
Physical Surface(2) = {15,19,23,27};
Physical Surface(3) = {28};
Physical Line(4) = {8,9,10,11};
Loading

0 comments on commit 95eda06

Please sign in to comment.