A finite volume is considered bad, if:
- The volume is negative, or less than a minimum volume
- The mass or the energy of the volume is negative
For both cases, the bad volume is merged with its neighbors. This merge is iterative as the neighbors could also be a bad volume.
To determine the minimum volume, two approaches are used:
- The mean volume,
of all the active volume is calculated and a
first minimum volume is a fraction of this one:
(1)
Where,
is the "Factor for global merging"
user-defined in /MONVOL/FVMBAG1.
The
flag
determines if the mean volume to use is
the current mean volume (
=1) or the initial mean volume
calculated at the first cycle.
- The mean volume,
of all the neighbors of the current one is
calculated. A second minimum volume is a fraction of the previous one:
(2)
Where,
is the "Factor for neighborhood merging"
user-defined in /MONVOL/FVMBAG1.
Finally, the
volume minimum used is:
(3)