Simulate Non-Condensable Gases in Conjunction with Cavitation

How to simulate non-condensable gases in conjunction with cavitation?

There are 3 options to take noncondensable gases (NCGS) into account. Option 1 and 2 is highly recommended because of better robustness.

1.) Zwart-Gerber or Schnerr-Sauer cavitation model and 3-phase system: liquid + vapor + compressible NCGS

2.) Zwart-Gerber or Schnerr-Sauer cavitation model and 2-phase system: liquid + compressible mixture of vapor and NCGS

3.) Singhal cavitation model which can be activated by TUI. In this model the volume fraction in postprocessing is the sum of vapor and NCGS. To see the vapor only, use following command: (rpsetvar 'cvt/total-gas-vof? #f)