Skip to content

Commit b6e852b

Browse files
committed
New cases
1 parent ae7cccb commit b6e852b

File tree

509 files changed

+23625
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

509 files changed

+23625
-0
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
FoamFile
2+
{
3+
version 2.0;
4+
format ascii;
5+
class volVectorField;
6+
object U;
7+
}
8+
9+
dimensions [0 1 -1 0 0 0 0];
10+
11+
internalField uniform (10 0 0);
12+
13+
boundaryField
14+
{
15+
inlet
16+
{
17+
type fixedValue;
18+
value $internalField;
19+
}
20+
outlet
21+
{
22+
type zeroGradient;
23+
}
24+
flap
25+
{
26+
type movingWallVelocity;
27+
value uniform (0 0 0);
28+
}
29+
upperWall
30+
{
31+
type noSlip;
32+
}
33+
lowerWall
34+
{
35+
type noSlip;
36+
}
37+
frontAndBack
38+
{
39+
type empty;
40+
}
41+
}
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
FoamFile
2+
{
3+
version 2.0;
4+
format ascii;
5+
class volScalarField;
6+
object p;
7+
}
8+
9+
dimensions [0 2 -2 0 0 0 0];
10+
11+
internalField uniform 0;
12+
13+
boundaryField
14+
{
15+
inlet
16+
{
17+
type zeroGradient;
18+
}
19+
20+
outlet
21+
{
22+
type fixedValue;
23+
value uniform 0;
24+
}
25+
26+
flap
27+
{
28+
type zeroGradient;
29+
}
30+
31+
upperWall
32+
{
33+
type zeroGradient;
34+
}
35+
36+
lowerWall
37+
{
38+
type zeroGradient;
39+
}
40+
41+
frontAndBack
42+
{
43+
type empty;
44+
}
45+
}
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
FoamFile
2+
{
3+
version 2.0;
4+
format ascii;
5+
class surfaceScalarField;
6+
object phi;
7+
}
8+
9+
dimensions [0 3 -1 0 0 0 0];
10+
11+
internalField uniform 0;
12+
boundaryField
13+
{
14+
inlet
15+
{
16+
type calculated;
17+
value $internalField;
18+
}
19+
outlet
20+
{
21+
type calculated;
22+
value $internalField;
23+
}
24+
flap
25+
{
26+
type calculated;
27+
value uniform 0;
28+
}
29+
upperWall
30+
{
31+
type calculated;
32+
value uniform 0;
33+
}
34+
lowerWall
35+
{
36+
type calculated;
37+
value uniform 0;
38+
}
39+
frontAndBack
40+
{
41+
type empty;
42+
value nonuniform 0;
43+
}
44+
}
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
FoamFile
2+
{
3+
version 2.0;
4+
format ascii;
5+
class pointVectorField;
6+
object pointDisplacement;
7+
}
8+
9+
dimensions [0 1 0 0 0 0 0];
10+
11+
internalField uniform (0 0 0);
12+
13+
boundaryField
14+
{
15+
inlet
16+
{
17+
type fixedValue;
18+
value uniform (0 0 0);
19+
}
20+
21+
outlet
22+
{
23+
type fixedValue;
24+
value uniform (0 0 0);
25+
}
26+
27+
flap
28+
{
29+
type fixedValue;
30+
value $internalField;
31+
}
32+
33+
upperWall
34+
{
35+
type slip;
36+
}
37+
38+
lowerWall
39+
{
40+
type slip;
41+
}
42+
43+
frontAndBack
44+
{
45+
type empty;
46+
}
47+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
FoamFile
2+
{
3+
version 2.0;
4+
format ascii;
5+
class dictionary;
6+
object dynamicMeshDict;
7+
}
8+
9+
dynamicFvMesh dynamicMotionSolverFvMesh;
10+
11+
motionSolverLibs ("libfvMotionSolvers.so");
12+
13+
solver displacementLaplacian;
14+
// OpenFOAM9 or newer: rename "solver" to "motionSolver"
15+
16+
displacementLaplacianCoeffs {
17+
diffusivity quadratic inverseDistance (flap);
18+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
FoamFile
2+
{
3+
version 2.0;
4+
format ascii;
5+
class dictionary;
6+
object transportProperties;
7+
}
8+
9+
transportModel Newtonian;
10+
11+
nu nu [ 0 2 -1 0 0 0 0 ] 1;
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
FoamFile
2+
{
3+
version 2.0;
4+
format ascii;
5+
class dictionary;
6+
object turbulenceProperties;
7+
}
8+
9+
simulationType laminar;
Lines changed: 145 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,145 @@
1+
FoamFile
2+
{
3+
version 2.0;
4+
format ascii;
5+
class dictionary;
6+
object blockMeshDict;
7+
}
8+
9+
x0 -3.;
10+
x1 -0.05;
11+
x2 0.05;
12+
x3 3.;
13+
14+
y0 0.;
15+
y1 1.;
16+
y2 4.;
17+
18+
z0 0;
19+
z1 1;
20+
21+
vertices
22+
(
23+
($x0 $y0 $z0 ) // 0
24+
($x1 $y0 $z0 ) // 1
25+
($x2 $y0 $z0 ) // 2
26+
($x3 $y0 $z0 ) // 3
27+
($x0 $y1 $z0 ) // 4
28+
($x1 $y1 $z0 ) // 5
29+
($x2 $y1 $z0 ) // 6
30+
($x3 $y1 $z0 ) // 7
31+
($x0 $y2 $z0 ) // 8
32+
($x1 $y2 $z0 ) // 9
33+
($x2 $y2 $z0 ) // 10
34+
($x3 $y2 $z0 ) // 11
35+
36+
($x0 $y0 $z1 ) // 12
37+
($x1 $y0 $z1 ) // 13
38+
($x2 $y0 $z1 ) // 14
39+
($x3 $y0 $z1 ) // 15
40+
($x0 $y1 $z1 ) // 16
41+
($x1 $y1 $z1 ) // 17
42+
($x2 $y1 $z1 ) // 18
43+
($x3 $y1 $z1 ) // 19
44+
($x0 $y2 $z1 ) // 20
45+
($x1 $y2 $z1 ) // 21
46+
($x2 $y2 $z1 ) // 22
47+
($x3 $y2 $z1 ) // 23
48+
);
49+
50+
// Grading
51+
h1 30;
52+
h2 3;
53+
v1 15;
54+
v2 30;
55+
56+
blocks
57+
(
58+
hex ( 0 1 5 4 12 13 17 16 )
59+
($h1 $v1 1 )
60+
simpleGrading (0.5 1 1)
61+
62+
hex ( 2 3 7 6 14 15 19 18 )
63+
($h1 $v1 1)
64+
simpleGrading (2 1 1)
65+
66+
hex ( 4 5 9 8 16 17 21 20 )
67+
($h1 $v2 1)
68+
simpleGrading (0.5 2 1)
69+
70+
hex ( 5 6 10 9 17 18 22 21 )
71+
($h2 $v2 1)
72+
simpleGrading (1 2 1)
73+
74+
hex ( 6 7 11 10 18 19 23 22 )
75+
($h1 $v2 1 )
76+
simpleGrading (2 2 1)
77+
);
78+
79+
boundary
80+
(
81+
inlet
82+
{
83+
type patch;
84+
faces
85+
(
86+
( 0 4 16 12 )
87+
( 4 8 20 16 )
88+
);
89+
}
90+
outlet
91+
{
92+
type patch;
93+
faces
94+
(
95+
( 3 7 19 15 )
96+
( 7 11 23 19 )
97+
);
98+
}
99+
flap
100+
{
101+
type wall;
102+
faces
103+
(
104+
( 1 5 17 13 )
105+
( 5 6 18 17 )
106+
( 6 2 14 18 )
107+
);
108+
}
109+
upperWall
110+
{
111+
type wall;
112+
faces
113+
(
114+
( 8 9 21 20 )
115+
( 9 10 22 21 )
116+
( 10 11 23 22 )
117+
);
118+
}
119+
lowerWall
120+
{
121+
type wall;
122+
faces
123+
(
124+
( 0 1 13 12 )
125+
( 2 3 15 14 )
126+
);
127+
}
128+
frontAndBack
129+
{
130+
type empty;
131+
faces
132+
(
133+
( 0 1 5 4 )
134+
( 2 3 7 6 )
135+
( 4 5 9 8 )
136+
( 5 6 10 9 )
137+
( 6 7 11 10 )
138+
( 12 13 17 16 )
139+
( 14 15 19 18 )
140+
( 16 17 21 20 )
141+
( 17 18 22 21 )
142+
( 18 19 23 22 )
143+
);
144+
}
145+
);

0 commit comments

Comments
 (0)