Skip to content

Commit 6b66f9b

Browse files
committed
Add new case fishChannel
1 parent 1ca4326 commit 6b66f9b

29 files changed

Lines changed: 16445 additions & 0 deletions

‎README.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ Here's a brief description:
2323

2424
Two-phase open channel flow. It's a fork of the original interFoam tutorial *waterChannel*. The *surfaces* function is configured to generate water surfaces (namely, the isosurfaces where *alpha.water* is equal to 0.5).
2525

26+
* **fishChannel**
27+
28+
A baffled open channel for fish migration in eco-hydraulic engineering. A combination of *blockMesh*, *topoSet*, *createBaffles*, *refineMesh*, *refineWallLayer* etc are used for geometry and mesh generation.
29+
2630
* **cavitatingBullet**
2731

2832
The simplified version of the original cavitatingBullet case. The initialization process using potentialFoam is removed in this version to show the basic usage of interPhaseChangeFoam.

‎fishChannel/0/U‎

6.14 KB
Binary file not shown.

‎fishChannel/0/alpha.water.orig‎

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
/*--------------------------------*- C++ -*----------------------------------*\
2+
========= |
3+
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4+
\\ / O peration | Website: https://openfoam.org
5+
\\ / A nd | Version: 7
6+
\\/ M anipulation |
7+
\*---------------------------------------------------------------------------*/
8+
FoamFile
9+
{
10+
version 2.0;
11+
format ascii;
12+
class volScalarField;
13+
object alpha.water;
14+
}
15+
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
16+
17+
dimensions [0 0 0 0 0 0 0];
18+
19+
internalField uniform 0;
20+
21+
boundaryField
22+
{
23+
inlet
24+
{
25+
type fixedValue;
26+
value uniform 1;
27+
}
28+
29+
walls
30+
{
31+
type zeroGradient;
32+
}
33+
34+
"baffle.*"
35+
{
36+
type zeroGradient;
37+
}
38+
39+
outlet
40+
{
41+
type zeroGradient;
42+
value uniform 0;
43+
}
44+
45+
outlet2
46+
{
47+
type zeroGradient;
48+
value uniform 0;
49+
}
50+
51+
atmosphere
52+
{
53+
type inletOutlet;
54+
inletValue uniform 0;
55+
value uniform 0;
56+
}
57+
}
58+
59+
// ************************************************************************* //

‎fishChannel/0/epsilon‎

Lines changed: 175 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,175 @@
1+
/*--------------------------------*- C++ -*----------------------------------*\
2+
========= |
3+
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4+
\\ / O peration | Website: https://openfoam.org
5+
\\ / A nd | Version: 7
6+
\\/ M anipulation |
7+
\*---------------------------------------------------------------------------*/
8+
FoamFile
9+
{
10+
version 2.0;
11+
format binary;
12+
class volScalarField;
13+
location "0";
14+
object epsilon;
15+
}
16+
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
17+
18+
dimensions [0 2 -3 0 0 0 0];
19+
20+
internalField uniform 0.001;
21+
22+
boundaryField
23+
{
24+
inlet
25+
{
26+
type turbulentMixingLengthDissipationRateInlet;
27+
mixingLength 0.001;
28+
value uniform 0;
29+
}
30+
walls
31+
{
32+
type epsilonWallFunction;
33+
value uniform 0;
34+
}
35+
outlet
36+
{
37+
type zeroGradient;
38+
}
39+
atmosphere
40+
{
41+
type zeroGradient;
42+
}
43+
outlet2
44+
{
45+
type zeroGradient;
46+
}
47+
baffle1
48+
{
49+
type epsilonWallFunction;
50+
value uniform 0;
51+
}
52+
baffle2
53+
{
54+
type epsilonWallFunction;
55+
value uniform 0;
56+
}
57+
baffle3
58+
{
59+
type epsilonWallFunction;
60+
value uniform 0;
61+
}
62+
baffle4
63+
{
64+
type epsilonWallFunction;
65+
value uniform 0;
66+
}
67+
baffle5
68+
{
69+
type epsilonWallFunction;
70+
value uniform 0;
71+
}
72+
baffle6
73+
{
74+
type epsilonWallFunction;
75+
value uniform 0;
76+
}
77+
baffle7
78+
{
79+
type epsilonWallFunction;
80+
value uniform 0;
81+
}
82+
baffle8
83+
{
84+
type epsilonWallFunction;
85+
value uniform 0;
86+
}
87+
baffle9
88+
{
89+
type epsilonWallFunction;
90+
value uniform 0;
91+
}
92+
baffle10
93+
{
94+
type epsilonWallFunction;
95+
value uniform 0;
96+
}
97+
baffle11
98+
{
99+
type epsilonWallFunction;
100+
value uniform 0;
101+
}
102+
baffle12
103+
{
104+
type epsilonWallFunction;
105+
value uniform 0;
106+
}
107+
baffle13
108+
{
109+
type epsilonWallFunction;
110+
value uniform 0;
111+
}
112+
baffle14
113+
{
114+
type epsilonWallFunction;
115+
value uniform 0;
116+
}
117+
baffle15
118+
{
119+
type epsilonWallFunction;
120+
value uniform 0;
121+
}
122+
baffle16
123+
{
124+
type epsilonWallFunction;
125+
value uniform 0;
126+
}
127+
baffle17
128+
{
129+
type epsilonWallFunction;
130+
value uniform 0;
131+
}
132+
baffle18
133+
{
134+
type epsilonWallFunction;
135+
value uniform 0;
136+
}
137+
baffle19
138+
{
139+
type epsilonWallFunction;
140+
value uniform 0;
141+
}
142+
baffle20
143+
{
144+
type epsilonWallFunction;
145+
value uniform 0;
146+
}
147+
baffle21
148+
{
149+
type epsilonWallFunction;
150+
value uniform 0;
151+
}
152+
baffle22
153+
{
154+
type epsilonWallFunction;
155+
value uniform 0;
156+
}
157+
baffle23
158+
{
159+
type epsilonWallFunction;
160+
value uniform 0;
161+
}
162+
baffle24
163+
{
164+
type epsilonWallFunction;
165+
value uniform 0;
166+
}
167+
baffle25
168+
{
169+
type epsilonWallFunction;
170+
value uniform 0;
171+
}
172+
}
173+
174+
175+
// ************************************************************************* //

0 commit comments

Comments
 (0)