Skip to content

Commit e0bf685

Browse files
authored
Update ReadMe.md minor changes
1 parent 1b31377 commit e0bf685

File tree

1 file changed

+48
-25
lines changed
  • tutorials/sphereGranFlow/RotaryAirLockValve

1 file changed

+48
-25
lines changed

tutorials/sphereGranFlow/RotaryAirLockValve/ReadMe.md

Lines changed: 48 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,16 @@
11
# 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+
106

117
<html>
128
<body>
139
<div align="center"><b>
1410
a view of the Rotary Air-Lock Valve while rotating
1511
</div></b>
1612
<div align="center">
17-
<img src="sample sample sample sample", width=700px>
13+
<img src="https://github.com/PhasicFlow/phasicFlow/blob/media/media/rotaryAirLock.gif", width=700px>
1814
</div>
1915
<div align="center"><i>
2016
particles are colored according to their id
@@ -23,11 +19,13 @@ There is one type of particle in this blender. Particles are poured into the inl
2319
</html>
2420

2521
# 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+
2724
## Geometry
2825

2926
### 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+
3129
```C++
3230
// information for rotatingAxisMotion motion model
3331
rotatingAxisMotionInfo
@@ -53,7 +51,8 @@ rotatingAxisMotionInfo
5351
}
5452
```
5553
### 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+
5756
```C++
5857
surfaces
5958
{
@@ -71,7 +70,7 @@ surfaces
7170
// motion component name
7271
motion rotAxis;
7372
}
74-
surfaces
73+
surfaces
7574
{
7675
// type of the wall
7776
type stlWall;
@@ -104,25 +103,49 @@ diameters (0.005);
104103
// material names for shapes
105104
materials (sphereMat);
106105
```
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.
108108
109109
<div align="center">
110-
in <b>settings/particlesDict</b> file
110+
in <b>settings/particleInsertion</b> file
111111
</div>
112112
113113
```C++
114-
// positions particles
115-
positionParticles
114+
topRegion
116115
{
117116
118-
// creates the required fields with zero particles (empty).
119-
method empty;
117+
// type of insertion region
118+
type boxRegion;
120119
121-
// maximum number of particles in the simulation
122-
maxNumberOfParticles 50000;
120+
// insertion rate (particles/s)
121+
rate 4000;
123122
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+
}
126149
}
127150
```
128151

@@ -177,10 +200,10 @@ model
177200
0.1);
178201
}
179202
```
180-
# Performing Simulation and previewing the results
203+
# Performing simulation and seeing the results
181204
To perform simulations, enter the following commands one after another in the terminal.
182205
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).
184207
Enter `$ geometryPhasicFlow` command to create the geometry.
185208
At last, enter `$ sphereGranFlow` command to start the simulation.
186209
After finishing the simulation, you can use `$ pFlowtoVTK` to convert the results into vtk format stored in ./VTK folder.

0 commit comments

Comments
 (0)