DROPLETPHASE - Auto clustering particles to speed up simulations
The idea of parceling is to prevent too many particles to collect at one place which would produce computationally expensive, large neighbor lists. However, for an accurate computation of the accelerations/forces in the liquid layer a certain amount of neighbors is necessary. In order to ensure a balance between too many and too few neighbors can be maintained the user can define DROPLETPHASE_MaxNeighboursForDeParceling and DROPLETPHASE_MinNeighboursForParceling. With DROPLETPHASE_MinNeighboursForParceling parceling can only happen if the number of neighbors has reached at least the value of DROPLETPHASE_MinNeighboursForParceling or more. This ensures that parceling obeys a given minimum number of neighbors to maintain accuracy while improving performance where to many neighbors are present. With DROPLETPHASE_MaxNeighboursForDeParceling deparceling will be done as soon as the number of neighbors is less than DROPLETPHASE_MaxNeighboursForDeParceling. This gives a possibility to maintain a given number of neighbors needed for the accuracy of the solution. In the figures below these situations are visualized. However, the illustrated number of neighbors deviates strongly from an amount for an accurate solution. This is done only for the sake of clarity.
Two parcels are only combined to form a bigger parcel if they are within a distance of dist_parceling * h (in thin films) or dist_parceling_FreeFlight * h (in free flight). See dist_parceling and dist_parceling_FreeFlight Changing this parceling bandwidth must be done very carefully! If the value provided is too high, it is possible that some unphysical results could be produced: For example, a situation where the biggest parcel (parcel with the highest multiplicity) is generated not where the largest cluster of particles was, but right beside it.
When visualizing results, only the parcels will be displayed. The number of particles represented by a parcel can be seen in the index ind_mult.
This item is referenced in: | |
---|---|
dist_parceling | (experimental / Under development) Maximum relative distance to initiate parceling |
dist_parceling_FreeFlight | (experimental / Under development) Maximum relative distance to initiate parceling |
DROPLETPHASE_nbTSforParceling | Number of time steps after which parceling will be done |
dist_parceling | (experimental / Under development) Maximum relative distance to initiate parceling (UCVO) |
dist_parceling_FreeFlight | (experimental / Under development) Maximum relative distance to initiate parceling in free flight (UCVO) |
DROPLETPHASE_MaxEquivalentParcelDiameter | Limiting maximum equivalent parcel diameter for parceling in DROPLETPHASE (UCVO) |
DROPLETPHASE_MaxRelativeParcelVelocity | Limiting maximum relative parcel velocity for parceling in DROPLETPHASE (UCVO) |
DROPLETPHASE_MinNeighboursForParceling | Limiting number of neigbors to trigger clustering in DROPLETPHASE (UCVO) |
DROPLETPHASE_ParcelingDiameterClasses | defines classes for diameters for parceling. And parceling is only done whent two parcels are in the same class. |
dist_parceling | (experimental / Under development) Maximum relative distance to initiate parceling (UCVO) |
dist_parceling_FreeFlight | (experimental / Under development) Maximum relative distance to initiate parceling in free flight (UCVO) |
COMP_DropletphaseParcels | (experimental / Under development) cluster particles together in DROPLETPHASE |