How to filter small droplets

Hello everyone,
we run simulations of secondary atomization of water drops.
In this simulations, parts of the drop separate from the “main” drop.
I need to filter out these small drop separation, in order to get the quantities of interest, because all quantities refer to the main drop.
I have also attached a figure, to illustrate the problem.

It is easy to filter the drops, itself, because they have a much higher density (ambient flow is air).
But I could not find any solution to filter the main and the small drops.
I calculated the volume and tried to use this as a criterion, but without any success. I think the solution could be something like the iteration from an initial cell on the center line, but here, I could also not implement something similar.

Maybe someone here has any suggestion, how to handle the problem. Of course you can do it manually by selecting the cells, but there are hundreds of data files and this is simply not possible,

Any help and or idea is appreciated.

Best regards,
David

Hi,

You can try in two steps: extract all drops with a Clip filter (set type to scalar and use the denisty) and then extract the main drop using the Connectivity filter, with the mode Extract largest region.

Regards,

Hi Nicolas,
many thanks for your suggestion. In principle, this is exactly what I need. The problem: We use a Multiresolution in the algorithm (similar to an AMR), but the AMR Filters are not accessible. It seems like the Connectivity Filter is based on the region_id. By applying this filter, I only get a small block of the (multiresoluted) block.


In the figure, the tiny block at the bottom left in red is the ‘largest region’. The connectivity filter dosn’t allows me to choose a criterion for the connectivity. I think therefore I cannot use it proper-
Best regards.

PS: The image refers to the legend of the region_ids, I forgot to remove the second view of the largest region.

EDIT:
The discontinuities in the region id are a result of the parallel computation of the simulation. It corresponds to the partition.

Hi,

I’m not very familiar with multiresolution … Can you use a Merge Blocks filter before the Connectivity ?

If you have some skills in python, you may also try the Programmable filter. See https://www.paraview.org/Wiki/Python_Programmable_Filter

Unfortunately not. Probably you are right, in need to get in touch with the Programmable Filter. But ven there, it seems that I cannot steer the way paraView iterates over the different cells to create a kind of connectivity/continuity criteria. But thank you very much anyway.
Best regards!