-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6ffd466
commit 44f34a8
Showing
2 changed files
with
96 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
//------------------------------------ | ||
// GMSH geo file to create a single | ||
// Quadrangular mesh element | ||
// | ||
// NOTE: mesh will be msh41 format | ||
//------------------------------------ | ||
|
||
lc = 2.0; | ||
|
||
Point(1) = {0.0 , 0.0 , 0.0 , lc}; | ||
Point(2) = {1.0 , 0.0 , 0.0 , lc}; | ||
Point(3) = {0.0 , 1.0 , 0.0 , lc}; | ||
Point(4) = {1.0 , 1.0 , 0.0 , lc}; | ||
|
||
|
||
Line(1) = {1, 2}; | ||
Line(2) = {2, 4}; | ||
Line(3) = {4, 3}; | ||
Line(4) = {3, 1}; | ||
|
||
Curve Loop(1) = {4, 1, 2, 3}; | ||
Plane Surface(1) = {1}; | ||
|
||
Physical Curve("bot", 5) = {1}; | ||
Physical Curve("right", 6) = {2}; | ||
Physical Curve("top", 7) = {3}; | ||
Physical Curve("left", 8) = {4}; | ||
Physical Surface("surface", 9) = {1}; | ||
Physical Point("left", 10) = {1, 3}; | ||
Physical Point("right", 11) = {2, 4}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
$MeshFormat | ||
4.1 0 8 | ||
$EndMeshFormat | ||
$PhysicalNames | ||
7 | ||
0 10 "left" | ||
0 11 "right" | ||
1 5 "bot" | ||
1 6 "right" | ||
1 7 "top" | ||
1 8 "left" | ||
2 9 "surface" | ||
$EndPhysicalNames | ||
$Entities | ||
4 4 1 0 | ||
1 0 0 0 1 10 | ||
2 1 0 0 1 11 | ||
3 0 1 0 1 10 | ||
4 1 1 0 1 11 | ||
1 0 0 0 1 0 0 1 5 2 1 -2 | ||
2 1 0 0 1 1 0 1 6 2 2 -4 | ||
3 0 1 0 1 1 0 1 7 2 4 -3 | ||
4 0 0 0 0 1 0 1 8 2 3 -1 | ||
1 0 0 0 1 1 0 1 9 4 4 1 2 3 | ||
$EndEntities | ||
$Nodes | ||
9 4 1 4 | ||
0 1 0 1 | ||
1 | ||
0 0 0 | ||
0 2 0 1 | ||
2 | ||
1 0 0 | ||
0 3 0 1 | ||
3 | ||
0 1 0 | ||
0 4 0 1 | ||
4 | ||
1 1 0 | ||
1 1 0 0 | ||
1 2 0 0 | ||
1 3 0 0 | ||
1 4 0 0 | ||
2 1 0 0 | ||
$EndNodes | ||
$Elements | ||
9 9 1 9 | ||
0 1 15 1 | ||
1 1 | ||
0 2 15 1 | ||
2 2 | ||
0 3 15 1 | ||
3 3 | ||
0 4 15 1 | ||
4 4 | ||
1 1 1 1 | ||
5 1 2 | ||
1 2 1 1 | ||
6 2 4 | ||
1 3 1 1 | ||
7 4 3 | ||
1 4 1 1 | ||
8 3 1 | ||
2 1 3 1 | ||
9 1 2 4 3 | ||
$EndElements |