The following four variables have been choosen to parametrice the geometry of the conical section:
- The diameter of the outlet
$d$ - The diameter of the section
$D$ - The length of the channel
$L$ - The conical section beginnig
$l$
These four variables completely define the computational domain.
-
Collisions will be consider elastic. This implies that the kinetic energy is conserved in each of the rebounds.
-
The outlet position is always symmetric to the median plane.
-
The particles do not collision between them. I.e the movement of each of the particles are independent between them.
-
The particles only rebound with the conical section. This means that if the particles rebounds towards the upper, lower or inlet wall they get glued on them.
In diffuse rebound models, the particle is reflected with a random distribution of direction which follows the Knusden cosine law. This is: the rebound angle is a random variable with a probability density function
However, with the last probability density function, only angles between
To compute the random angle using an uniform distribution let us calculate the cumulative density function:
Now, taking an inverse transform of the sampling being
Mapping an uniform random variable between 0 and 1 the previous function maps an angle of rebound between
TODO
The output condition can be evaluated by looking to the absolute rebound angle
For the bottom part of the conical section, looking also to the picture of below
For both cases the output condition can be written as follows:
For both cases
and
TODO
TODO
TODO
with
with
All the mathematical equations of the boundaries are known, they are simply straigth lines. At the same time, the kinematics of the particle is also known, so is straightforward to compute in which position of the boundary the particle will collide.
The outlet boundary has equation
TODO
TODO
The lower boundary has equation
The upper boundary has equation
The inlet boundary has equation
I consider this point the key point of the problem. I defined the problem to inyect particles only once. So defining this measure is slighty complicated since you don't know a priori what will be time taken to all the particles leave the domain, and consequently, you don't have a reference time. Two main metrics have been defined:
-
The first method is based on the time taken for the last particle to exit the domain. In practice, the exit time for each particle is recorded, and the maximum time
$T$ is used as rference$$m = \frac{N}{T}$$ $N$ being the total number of particles that reach the outlet. While this metric is easy to compute, it has a significant drawback: if a particle gets stuck rebounding off the conical wall, the output particle rate is greatly underestimated and this may not accurately reflect the true dynamics of the flow. -
The other one is based on the mean-interval arrival time. That is: the average time difference between consecutive particle exits and then take its inverse:
$$\mathrm{MIAT} = \frac{1}{N-1}\sum_{i=1}^{N-1}(T_{i+1}-T_i)$$ The previous measure of how many seconds are taken between two consecutive particles to reach the outlet [s/particle], so taking the inverse of this indicator an estimation can be calculated
$$m = \frac{1}{\mathrm{MIAT}}$$ this metric manage in a better way the situation of a particle getting stuck rebounding off the conical wall. Since it takes an average of all the mean-interval arrival times, the stuck situation is damped. This metric has also drawbacks: for example if all the particles reach the outlet at the same time this metric goes to infinity. This situation could happen if the configuration choosen is composed only of particles at the same height of outlet on the inlet. -
TODO: make a metric that is a combination of mean-inter-arrival times for particle that get stuck rebouding and another one taking into account the number of particles that automatically leave the domain.
The algorithm to measure the particles flow can be summarized as follows:
-
Compute the time taken to the particle to reach the conical section, where the rebound is poduced.
-
Compute the random angle of rebound when the particle reachs the surface by using the Knusden cosine law.
-
Evaluate the output condition. If condition is fulfilled compute the time taken to the particle to reach the outlet and add one to the particle counter.
-
If the particle not satisifies the previous condition, evaluate if it new trayectory make it rebound with the other conicall wal. If condition is fullfilled compute the point of the other conical wall where particle collides and compute new angle of rebound.
-
Repeat 4 until either the outlet is reached or the rebound causes the particle to collide again with the other conical wall.
-
If none of the two previous conditions are fulfilled compute with which of the walls the particles collides and keep it glued to that wall.
-
Compute particle flow with one of the two measures defined above.

