Closed QwZhang closed 8 years ago
Hi Qw,
These parameters control the Discrete Voronoi diagram that is used to perform population control on particles. A discrete voronoi (DV) diagram is built for each element in the mesh, and evaluates the amount of volume each particle represents in an element. If a particle represents to much volume it is split, if a particle represent too little volume it is deleted.
I have taken this from an old input file in Underworld 1:
<param name="lowerT">0.25</param>
<!-- lower % threshold volume for deletion of particles. i.e if a particle volume < 0.25% of total then delete it -->
<param name="upperT">15</param>
<!-- upper % threshold volume for deletion of particles. i.e if a particle volume > 15% of total then split it -->
<param name="Inflow">True</param> <!-- switches the Inflow flag on -->
<param name="Threshold">0.8</param>
<!-- Threshold for cell population in an inflow problem: If a cell has less than 80% of its assigned particles then we re-populate -->
maxDeletions
and maxSplits
set the maximum number of given operations to be performed during a single element's population control step.
resolutionX
. etc define the DV resolution mesh per element.
for further details on the algorithm see Velic et.al., A Fast Robust Algorithm for computing Discrete Voronoi Diagrams in N-dimensions, DOI 10.1007/s10852-008-9097-6
will close this for now. feel free to reopen under the underworld1 project if still an issue.
Hi all, Sorry for troubling again. I have been bothered by the particle regeneration issue as discussed months ago here. This time I ran a similar model but I extended into a 3D one (with 256x64x64 cells, 20 particles per cell), removed the sticky-air layer and simply imposed a free-slip BC on top instead. I have activated the
Inflow
flag and other related configurations as suggested by @mirkovelic and @OlympusMonds:but underworld crashes now and then,reporting similar error when crash like:
Theoretically, if functioning well, when particles is too few or their distribution in cell is not even, more particles will be repopulated. It seems that repopulation doesn't work properly due to exsitence of the under resolved cell (Cell Id = 2154).
So, how can I tune your population control parameters below to make underworld work more robustly?
I have no idea about how
lowerT
,lowerT
,Threshold
,maxDeletions
,maxSplits
,resolutionX
, etc., controls the repopulation of the particles.Best, Qw