An Adjoint Optimization Prediction Method for Partially Cavitating Hydrofoils