Update ReadMe.md minor changes
This commit is contained in:
parent
1b313779a1
commit
e0bf68511c
|
@ -1,12 +1,8 @@
|
||||||
# Problem Definition
|
# Problem Definition
|
||||||
The problem is to simulate a Rotary Air-Lock Valve with below diminsions:
|
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.
|
||||||
* Size of Cone:
|
* **28000** particles with **5 mm** diameter are inserted into the valve with the rate of **4000 particles/s**.
|
||||||
* Cone Gate: 29.17 cm
|
* The rotor starts its ortation at t = 1.25 s at the rate of 2.1 rad/s.
|
||||||
* Cone Exit: 10.37 cm
|
|
||||||
* Size of Outer Exit: 9.42 cm
|
|
||||||
* External diameter of Circle: 20.74 cm
|
|
||||||
There is one type of particle in this blender. Particles are poured into the inlet valve from t=**0** s.
|
|
||||||
* **28000** particles with **5 mm** diameter poured into the valve with rate of **4000 particles/s**.
|
|
||||||
|
|
||||||
<html>
|
<html>
|
||||||
<body>
|
<body>
|
||||||
|
@ -14,7 +10,7 @@ There is one type of particle in this blender. Particles are poured into the inl
|
||||||
a view of the Rotary Air-Lock Valve while rotating
|
a view of the Rotary Air-Lock Valve while rotating
|
||||||
</div></b>
|
</div></b>
|
||||||
<div align="center">
|
<div align="center">
|
||||||
<img src="sample sample sample sample", width=700px>
|
<img src="https://github.com/PhasicFlow/phasicFlow/blob/media/media/rotaryAirLock.gif", width=700px>
|
||||||
</div>
|
</div>
|
||||||
<div align="center"><i>
|
<div align="center"><i>
|
||||||
particles are colored according to their id
|
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
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
# Setting up the Case
|
# Setting up the Case
|
||||||
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.
|
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.
|
||||||
|
|
||||||
## Geometry
|
## Geometry
|
||||||
|
|
||||||
### Defining rotation axis
|
### Defining rotation axis
|
||||||
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**.
|
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**.
|
||||||
|
|
||||||
```C++
|
```C++
|
||||||
// information for rotatingAxisMotion motion model
|
// information for rotatingAxisMotion motion model
|
||||||
rotatingAxisMotionInfo
|
rotatingAxisMotionInfo
|
||||||
|
@ -53,7 +51,8 @@ rotatingAxisMotionInfo
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
### Surfaces
|
### Surfaces
|
||||||
In `settings/geometryDict` file, the surfaces component are defined to form a Rotating Air-Lock Valve.
|
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.
|
||||||
|
|
||||||
```C++
|
```C++
|
||||||
surfaces
|
surfaces
|
||||||
{
|
{
|
||||||
|
@ -71,7 +70,7 @@ surfaces
|
||||||
// motion component name
|
// motion component name
|
||||||
motion rotAxis;
|
motion rotAxis;
|
||||||
}
|
}
|
||||||
surfaces
|
surfaces
|
||||||
{
|
{
|
||||||
// type of the wall
|
// type of the wall
|
||||||
type stlWall;
|
type stlWall;
|
||||||
|
@ -104,25 +103,49 @@ diameters (0.005);
|
||||||
// material names for shapes
|
// material names for shapes
|
||||||
materials (sphereMat);
|
materials (sphereMat);
|
||||||
```
|
```
|
||||||
### Particle positioning before start of simulation
|
### Insertion of Particles
|
||||||
|
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.
|
||||||
|
|
||||||
<div align="center">
|
<div align="center">
|
||||||
in <b>settings/particlesDict</b> file
|
in <b>settings/particleInsertion</b> file
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
```C++
|
```C++
|
||||||
// positions particles
|
topRegion
|
||||||
positionParticles
|
|
||||||
{
|
{
|
||||||
|
|
||||||
// creates the required fields with zero particles (empty).
|
// type of insertion region
|
||||||
method empty;
|
type boxRegion;
|
||||||
|
|
||||||
// maximum number of particles in the simulation
|
// insertion rate (particles/s)
|
||||||
maxNumberOfParticles 50000;
|
rate 4000;
|
||||||
|
|
||||||
// perform initial sorting based on morton code?
|
// Start time of Particles insertion (s)
|
||||||
mortonSorting Yes;
|
startTime 0;
|
||||||
|
|
||||||
|
// End time of Particles insertion (s)
|
||||||
|
endTime 7;
|
||||||
|
|
||||||
|
// Time interval between each insertion (s)
|
||||||
|
interval 0.025;
|
||||||
|
|
||||||
|
// Coordinates of BoxRegion (m,m,m)
|
||||||
|
boxRegionInfo
|
||||||
|
{
|
||||||
|
min ( 0.48 0.58 0.01 ); // (m,m,m)
|
||||||
|
max ( 0.64 0.59 0.05 ); // (m,m,m)
|
||||||
|
}
|
||||||
|
|
||||||
|
setFields
|
||||||
|
{
|
||||||
|
// initial velocity of inserted particles
|
||||||
|
velocity realx3 (0.0 -0.6 0.0);
|
||||||
|
}
|
||||||
|
|
||||||
|
mixture
|
||||||
|
{
|
||||||
|
sphere 1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -177,10 +200,10 @@ model
|
||||||
0.1);
|
0.1);
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
# Performing Simulation and previewing the results
|
# Performing simulation and seeing the results
|
||||||
To perform simulations, enter the following commands one after another in the terminal.
|
To perform simulations, enter the following commands one after another in the terminal.
|
||||||
|
|
||||||
Enter `$ particlesPhasicFlow` command to create the initial fields for particles.
|
Enter `$ particlesPhasicFlow` command to create the initial fields for particles (here the simulaiton has no particle at the beginning).
|
||||||
Enter `$ geometryPhasicFlow` command to create the geometry.
|
Enter `$ geometryPhasicFlow` command to create the geometry.
|
||||||
At last, enter `$ sphereGranFlow` command to start the simulation.
|
At last, enter `$ sphereGranFlow` command to start the simulation.
|
||||||
After finishing the simulation, you can use `$ pFlowtoVTK` to convert the results into vtk format stored in ./VTK folder.
|
After finishing the simulation, you can use `$ pFlowtoVTK` to convert the results into vtk format stored in ./VTK folder.
|
||||||
|
|
Loading…
Reference in New Issue