Extremal Methods in Cavitational Flow