The cavitation models used by the interFoam solver and the compressibleVoF solver module can now be applied regardless of the ordering of the liquid and vapour phases. A "liquid" keyword is now required in the model specification in order to control which phase is considered to be the condensed liquid state. Previously the liquid phase was assumed to be the first of the two phases.