mesh.geo 856 Bytes
Newer Older
Matthieu Constant's avatar
Matthieu Constant committed
1
L = .111;
Matthieu Constant's avatar
Matthieu Constant committed
2
H = .26;
Matthieu Constant's avatar
Matthieu Constant committed
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
y = 0;
lc = 0.01;
f = 4;

Point(1) = {0, 2*H, 0,lc};
Point(2) = {0, 0, 0,lc};
Point(3) = {-0.004+L,0,0,lc/f};
Point(4) = {0.004+L,0,0,lc/f};
Point(5) = {2*L, 0, 0,lc};
Point(6) = {2*L, 2*H, 0,lc};

Point(9) = {0,0,0,lc/f};
Point(10) = {0,2*H,0,lc/f};

Line(1) = {1, 2};
Line(2) = {2, 3};
Line(3) = {3, 4};
Line(4) = {4, 5};
Line(5) = {5, 6};
Line(6) = {6, 1};
Line(9) = {9,10};

Line Loop(1) = {1:6};

Plane Surface(1) = {1};
Physical Line("Bottom") = {2,4};
Physical Line("Lateral") = {1,5};
Physical Line("Top") = {6};
Physical Line("Injection") = {3};
Physical Surface("Domain") = {1};
Physical Point("PtFix") = {1};

Mesh.Algorithm = 5;

Merge "lc.pos";
Field[1] = PostView;
Field[1].IView = 0;
Background Field = 1;

Mesh.CharacteristicLengthExtendFromBoundary = 0;
Mesh.CharacteristicLengthFromPoints = 0;
44
Mesh.MshFileVersion = 2;