correction for readme.md on rotating drumBFL

This commit is contained in:
PhasicFlow 2023-02-12 23:56:05 +03:30 committed by GitHub
parent e08fb26eba
commit 4f44fe5e4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 42 additions and 41 deletions

View File

@ -2,12 +2,13 @@
The problem is to simulate a Rotating Drum with **6** Baffles with the diameter **0.24m** and the length **0.1m** rotating at **15 rad/s**. This Rotating Drum is filled with **20000** Particles.The timestep for integration is **0.00001 s**. There are 2 types of Particles in this Rotating Drum: The problem is to simulate a Rotating Drum with **6** Baffles with the diameter **0.24m** and the length **0.1m** rotating at **15 rad/s**. This Rotating Drum is filled with **20000** Particles.The timestep for integration is **0.00001 s**. There are 2 types of Particles in this Rotating Drum:
* **12500** Particles with **4 mm** diameter * **12500** Particles with **4 mm** diameter
* **7500** Particles with **5mm** diameter * **7500** Particles with **5mm** diameter
## Setting up the Case ## Setting up the Case
As it has been explained in the previous Cases, these Tutorials are based on text-based scripts. There are three parts in this case to study `caseSetup`, `setting` and `stl`. As it has been explained in the previous Cases, these Tutorials are based on text-based scripts. There are three parts in this case to study `caseSetup`, `setting` and `stl`.
## Particle Insertion ## Particle Insertion
In this case we have two region for inserting our particles. In the both region we define rate of Insertion, start and end time of Insertion, coordinates of Insertion and radius of Insertion. In this case we have two region for inserting our particles. In the both region we define rate of Insertion, start and end time of Insertion, coordinates of Insertion and radius of Insertion.
An example for the Right Layer Region of insertion of Particles is shown below. An example for the Right Layer Region of insertion of Particles is shown below.
``` ```C++
// Right Layer Region // Right Layer Region
layerrightregion layerrightregion
{ {
@ -29,9 +30,11 @@ An example for the Right Layer Region of insertion of Particles is shown below.
p1 (-0.15 0.24 0.05); p1 (-0.15 0.24 0.05);
// radius of cylinder (m) // radius of cylinder (m)
radius 0.035; radius 0.035;
}
}
``` ```
Then in the `sphereShape` the diameter and the material of our Particles are defined. Then in the `sphereShape` the diameter and the material of our Particles are defined.
``` ```C++
// names of shapes // names of shapes
names (lightSphere heavySphere); names (lightSphere heavySphere);
// diameter of shapes (m) // diameter of shapes (m)
@ -45,7 +48,7 @@ At the end of `caseSetup`, the interaction between the particles and the Shell o
### Geometry ### Geometry
In the Settings folder the Specifications of our Rotating Drum and the information of rotating axis are brought. In this case we use two solid cylinders to keep our rotating drum isolated. This is to prevent particles, from being thrown out. In the Settings folder the Specifications of our Rotating Drum and the information of rotating axis are brought. In this case we use two solid cylinders to keep our rotating drum isolated. This is to prevent particles, from being thrown out.
For example the codes for the rear cylinder is brought below. For example the codes for the rear cylinder is brought below.
``` ```C++
/*This is a Cylinder Wall at the rear of cylinder */ /*This is a Cylinder Wall at the rear of cylinder */
CylinderRear1 CylinderRear1
{ {
@ -67,7 +70,7 @@ For example the codes for the rear cylinder is brought below.
``` ```
### Rotating Axis Info ### Rotating Axis Info
In this part of `geometryDict` the information of `rotating axis` and `velocity` of this Rotating Drum is defined. Also in purpose to settle down Particles after they were inserted we use a `startTime` and `endTime` function. This shows the start time of rotation. In this part of `geometryDict` the information of `rotating axis` and `velocity` of this Rotating Drum is defined. Also in purpose to settle down Particles after they were inserted we use a `startTime` and `endTime` function. This shows the start time of rotation.
``` ```C++
rotatingAxisMotionInfo rotatingAxisMotionInfo
{ {
rotAxis rotAxis
@ -87,9 +90,7 @@ rotatingAxisMotionInfo
``` ```
## Starting Simulation ## Starting Simulation
To start Simulation we have to create our Particles at first. To start Simulation we have to create our Particles at first.
Using `>particlesPhasicFlow` will create our Particles. Enter `>particlesPhasicFlow` command to create the initial fields for particles.
Using `>geometryPhasicFlow` will create our Geometry. Enter `>geometryPhasicFlow` command to create the Geometry.
At last using `>sphereGranFlow` will starting the Simulation. At last, enter `>sphereGranFlow` command to start the simulation.
After finishing the Simulation Close the Terminal and use `>pFlowtoVTK`. After finishing the simulation, you can use `>pFlowtoVTK` to convert the results into vtk format storred in ./VTK folder.