GfsRemoveDroplets

From Gerris

(Difference between revisions)
Jump to: navigation, search
Revision as of 07:16, 3 July 2008
Popinet (Talk | contribs)
(examples cross-reference)
← Previous diff
Revision as of 08:57, 24 April 2011
Arnaud.antkowiak (Talk | contribs)
(Precising what is a droplet)
Next diff →
Line 1: Line 1:
-GfsRemoveDroplets replaces "droplets" (i.e. connected volumes containing the same fluid) with the background fluid.+GfsRemoveDroplets replaces "droplets" (i.e. connected volumes containing the fluid with volume fraction unity) with the background fluid (characterized by a zero volume fraction).
The syntax in parameter files is as follows: The syntax in parameter files is as follows:

Revision as of 08:57, 24 April 2011

GfsRemoveDroplets replaces "droplets" (i.e. connected volumes containing the fluid with volume fraction unity) with the background fluid (characterized by a zero volume fraction).

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.

Examples

Personal tools
communication