You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tutorials/sphereGranFlow/RotaryAirLockValve/ReadMe.md
+48-25Lines changed: 48 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,20 +1,16 @@
1
1
# Problem Definition
2
-
The problem is to simulate a Rotary Air-Lock Valve with below diminsions:
3
-
* Size of Cone:
4
-
* Cone Gate: 29.17 cm
5
-
* Cone Exit: 10.37 cm
6
-
* Size of Outer Exit: 9.42 cm
7
-
* External diameter of Circle: 20.74 cm
8
-
There is one type of particle in this blender. Particles are poured into the inlet valve from t=**0** s.
9
-
***28000** particles with **5 mm** diameter poured into the valve with rate of **4000 particles/s**.
2
+
The problem is to simulate a Rotary Air-Lock Valve. The external diameter of rotor is about 21 cm. There is one type of particle in this simulation. Particles are inserted into the inlet of the valve from t=**0** s.
3
+
***28000** particles with **5 mm** diameter are inserted into the valve with the rate of **4000 particles/s**.
4
+
* The rotor starts its ortation at t = 1.25 s at the rate of 2.1 rad/s.
5
+
10
6
11
7
<html>
12
8
<body>
13
9
<divalign="center"><b>
14
10
a view of the Rotary Air-Lock Valve while rotating
@@ -23,11 +19,13 @@ There is one type of particle in this blender. Particles are poured into the inl
23
19
</html>
24
20
25
21
# Setting up the Case
26
-
As it has been explained in the previous cases, the simulation case setup is based on text-based scripts. Here, the simulation case setup files are stored into three folders: `caseSetup`, `setting`, `stl` (see the above folders). See next the section for more information on how we can setup the geometry and its rotation.
22
+
As it has been explained in the previous simulations, the simulation case setup is based on text-based scripts. Here, the simulation case setup files are stored into three folders: `caseSetup`, `setting`, and `stl` (see the above folders). See next the section for more information on how we can setup the geometry and its rotation.
23
+
27
24
## Geometry
28
25
29
26
### Defining rotation axis
30
-
In file `settings/geometryDict` the information of rotating axis and speed of rotation are defined. The rotation of this blender starts at time=**0 s** and ends at time=**7 s**.
27
+
In file `settings/geometryDict` the information of rotating axis of rotor and its speed of rotation are defined. The rotation starts at t = **1.25 s** and ends at t = **7 s**.
28
+
31
29
```C++
32
30
// information for rotatingAxisMotion motion model
33
31
rotatingAxisMotionInfo
@@ -53,7 +51,8 @@ rotatingAxisMotionInfo
53
51
}
54
52
```
55
53
### Surfaces
56
-
In `settings/geometryDict` file, the surfaces component are defined to form a Rotating Air-Lock Valve.
54
+
In `settings/geometryDict` file, the surfaces component are defined to form a Rotating Air-Lock Valve. All surface components are supplied in stl file format. All stl files should be stored under 'stl' folder.
55
+
57
56
```C++
58
57
surfaces
59
58
{
@@ -71,7 +70,7 @@ surfaces
71
70
// motion component name
72
71
motion rotAxis;
73
72
}
74
-
surfaces
73
+
surfaces
75
74
{
76
75
// type of the wall
77
76
type stlWall;
@@ -104,25 +103,49 @@ diameters (0.005);
104
103
// material names for shapes
105
104
materials (sphereMat);
106
105
```
107
-
### Particle positioning before start of simulation
106
+
### Insertion of Particles
107
+
Insertion of particles starts from t = 0 s and ends at t = 7 s. A box is defined for the port from which particles are being inderted. The rate of insertion is 4000 particles per second.
108
108
109
109
<div align="center">
110
-
in <b>settings/particlesDict</b> file
110
+
in <b>settings/particleInsertion</b> file
111
111
</div>
112
112
113
113
```C++
114
-
// positions particles
115
-
positionParticles
114
+
topRegion
116
115
{
117
116
118
-
// creates the required fields with zero particles (empty).
119
-
method empty;
117
+
// type of insertion region
118
+
type boxRegion;
120
119
121
-
// maximum number of particles in the simulation
122
-
maxNumberOfParticles 50000;
120
+
// insertion rate (particles/s)
121
+
rate 4000;
123
122
124
-
// perform initial sorting based on morton code?
125
-
mortonSorting Yes;
123
+
// Start time of Particles insertion (s)
124
+
startTime 0;
125
+
126
+
// End time of Particles insertion (s)
127
+
endTime 7;
128
+
129
+
// Time interval between each insertion (s)
130
+
interval 0.025;
131
+
132
+
// Coordinates of BoxRegion (m,m,m)
133
+
boxRegionInfo
134
+
{
135
+
min ( 0.48 0.58 0.01 ); // (m,m,m)
136
+
max ( 0.64 0.59 0.05 ); // (m,m,m)
137
+
}
138
+
139
+
setFields
140
+
{
141
+
// initial velocity of inserted particles
142
+
velocity realx3 (0.0 -0.6 0.0);
143
+
}
144
+
145
+
mixture
146
+
{
147
+
sphere 1;
148
+
}
126
149
}
127
150
```
128
151
@@ -177,10 +200,10 @@ model
177
200
0.1);
178
201
}
179
202
```
180
-
# Performing Simulation and previewing the results
203
+
# Performing simulation and seeing the results
181
204
To perform simulations, enter the following commands one after another in the terminal.
182
205
183
-
Enter `$ particlesPhasicFlow` command to create the initial fields for particles.
206
+
Enter `$ particlesPhasicFlow` command to create the initial fields for particles (here the simulaiton has no particle at the beginning).
184
207
Enter `$ geometryPhasicFlow` command to create the geometry.
185
208
At last, enter `$ sphereGranFlow` command to start the simulation.
186
209
After finishing the simulation, you can use `$ pFlowtoVTK` to convert the results into vtk format stored in ./VTK folder.
0 commit comments