Measure theoretical approach for optimal shape design of a nozzle