Skip to content

Commit 2a6da92

Browse files
Apply suggestions from code review
Co-authored-by: TobiKattmann <31306376+TobiKattmann@users.noreply.github.com>
1 parent 4c5a73d commit 2a6da92

2 files changed

Lines changed: 8 additions & 23 deletions

File tree

TestCases/hybrid_regression.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def main():
134134
poiseuille_profile.test_vals = [-12.494752, -7.712204, -0.000000, 2.085796]
135135
test_list.append(poiseuille_profile)
136136

137-
# 2D Periodic
137+
# 2D Rotational Periodic
138138
periodic2d = TestCase('periodic2d')
139139
periodic2d.cfg_dir = "navierstokes/periodic2D"
140140
periodic2d.cfg_file = "config.cfg"
Lines changed: 7 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,31 @@
1-
//+
1+
// Gmsh .geo script
22
ri = 0.25;
33
ro = 0.5;
44
N = 40;
5-
//+
5+
66
Point(1) = {0.0, 0.0, 0.0, 1.0};
7-
//+
87
Point(2) = {ri, 0.0, 0.0, 1.0};
9-
//+
108
Point(3) = {ro, 0.0, 0.0, 1.0};
11-
//+
129
Point(4) = {ro/Sqrt(2), ro/Sqrt(2), 0.0, 1.0};
13-
//+
1410
Point(5) = {ri/Sqrt(2), ri/Sqrt(2), 0.0, 1.0};
15-
//+
11+
1612
Circle(1) = {2, 1, 5};
17-
//+
1813
Circle(2) = {3, 1, 4};
19-
//+
2014
Line(3) = {2, 3};
21-
//+
2215
Line(4) = {5, 4};
23-
//+
16+
2417
Curve Loop(1) = {4, -2, -3, 1};
25-
//+
2618
Surface(1) = {1};
27-
//+
19+
2820
Physical Curve("inlet", 5) = {1};
29-
//+
3021
Physical Curve("outlet", 6) = {2};
31-
//+
3222
Physical Curve("per1", 7) = {3};
33-
//+
3423
Physical Curve("per2", 8) = {4};
35-
//+
3624
Physical Surface("fluid", 9) = {1};
37-
//+
25+
3826
Transfinite Curve {1, 2} = N Using Progression 1;
39-
//+
4027
Transfinite Curve {3, 4} = N Using Progression 1;
41-
//+
4228
Transfinite Surface {1};
43-
//+
4429
Recombine Surface {1};
45-
//+
30+
4631
Mesh 2;

0 commit comments

Comments
 (0)