mesh.geo 510 Bytes
Newer Older
Nathan Coppin's avatar
Nathan Coppin committed
1
L = 0.2;
2
H = 0.3;
Jonathan Lambrechts's avatar
Jonathan Lambrechts committed
3
y = 0;
Matthieu Constant's avatar
Matthieu Constant committed
4
lc = 0.01;
Matthieu Constant's avatar
Matthieu Constant committed
5

Matthieu Constant's avatar
Matthieu Constant committed
6
Point(1) = {-L, H, 0,lc};
Matthieu Constant's avatar
Matthieu Constant committed
7
8
Point(2) = {-L, -H, 0,lc};
Point(3) = {L, -H, 0,lc};
Matthieu Constant's avatar
Matthieu Constant committed
9
Point(4) = {L, H, 0,lc};
Jonathan Lambrechts's avatar
Jonathan Lambrechts committed
10
Line(1) = {1, 2};
11
12
13
Line(2) = {2, 3};
Line(3) = {3, 4};
Line(4) = {4, 1};
Nathan Coppin's avatar
Nathan Coppin committed
14
Point(5) = {0,0.52,lc};
Matthieu Constant's avatar
Matthieu Constant committed
15

16
Line Loop(1) = {1:4};
Matthieu Constant's avatar
Matthieu Constant committed
17

18
Plane Surface(1) = {1};
Nathan Coppin's avatar
Nathan Coppin committed
19

20
21
22
23
24
Physical Line("Bottom") = {2};
Physical Line("Lateral") = {1,3};
Physical Line("Top") = {4};
Physical Surface("Domain") = {1};
Physical Point("PtFix") = {1};
Jonathan Lambrechts's avatar
Jonathan Lambrechts committed
25
Mesh.CharacteristicLengthFromPoints = 1;
Matthieu Constant's avatar
Matthieu Constant committed
26
Mesh.MshFileVersion = 2;