mesh.geo 438 Bytes
Newer Older
Michel Henry's avatar
Michel Henry committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
SetFactory("OpenCASCADE");
L = 0.014;
H = 0.036;
P = 0.01675;
y = 0;
lc = 1e-2;//2e-3;

SetFactory("OpenCASCADE");
Box(1) = {-L,-H,-P,2*L,2*H,2*P};
Periodic Surface {1} = {2};
Volume("Domain") = {1};
Physical Surface("Top") = {4};
Physical Surface("Bottom") = {3};
Physical Surface("X") = {1,2};
Physical Surface("Z") = {5,6};
Physical Point("PtFix") = {5};
Characteristic Length{ PointsOf{ Volume{:}; } } = lc;

Mesh.MshFileVersion = 2;