GfsRemoveDroplets

From Gerris

Jump to: navigation, search

GfsRemoveDroplets replaces "droplets" (i.e. connected volumes containing the same fluid) with the background fluid.

The syntax in parameter files is as follows:

[ GfsEvent ] T MAX ( [ GfsFunction ] )

where T is a variable defining the volume fraction and MAX is an integer which defines the maximum size of the droplets to be removed. If MAX is positive, all the droplets defined by less than MAX cells will be removed. If MAX is negative, all the droplets but the -MAX largest ones will be removed.

The last GfsFunction parameter is optional and can be used to define an alternative volume fraction field to use for the analysis. For example

RemoveDroplets { istep = 1 } T -1 (x > 0 && y > 0 ? T : 0)

will remove all the droplets but the largest one only in the top-right corner of the unit box.


Personal tools
communication