-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathramc2.geo
40 lines (40 loc) · 1.07 KB
/
ramc2.geo
1
2
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
//Gmsh script for ramc2.geo
//+
//Wall points
Point(1) = {0, 0, 0, 1.0};
Point(2) = {0.12856, 0.15052, 0, 1.0};
Point(3) = {1.2954, 0.33533, 0, 1.0};
//Domain points
Point(4) = {-0.3048, 0, 0, 1.0};
Point(5) = {-0.053514, 0.49318, 0, 1.0};
Point(6) = {1.2954, 1.4732, 0, 1.0};
//Circular arc centers
Point(7) = {0.1524, 0, 0, 1.0};
Point(8) = {0.3048, 0, 0, 1.0};
//Lines
Circle(1) = {1, 7, 2};
Circle(2) = {4, 8, 5};
Line(3) = {4, 1};
Line(4) = {5, 6};
Line(5) = {6, 3};
Line(6) = {3, 2};
//+
//Loops
Curve Loop(1) ={-3, 2, 4, 5, 6, -1};
//Surfaces
Plane Surface(1) = {1};
//+
//Boundary Conditions
Physical Surface("FLUID", 7) = {1};
Physical Curve("FARFIELD", 8) = {2, 4, 5};
Physical Curve("WALL", 9) = {1, 6};
Physical Curve("SYMMETRY", 10) = {3};
//+
//Transfinite Surface {1} = {1, 4, 6, 3};
Transfinite Curve{-1} = 100 Using Progression 1;
Transfinite Curve{2} = 200 Using Progression 1;
Transfinite Curve{-6} = 548 Using Progression 1;
Transfinite Curve{4} = 580 Using Progression 1;
Transfinite Curve{-3} = 141 Using Progression 1;
Transfinite Curve{-5} = 282 Using Progression 1;
//+