Optimizing pressure drops and mass flow rates in nozzles, pipes and valves.