Optimization of a hydraulic mixing nozzle