Risk-adaptive set-based design and applications to shaping a hydrofoil