# Gas-nozzle flow screening # Scope: Ideal-gas choked mass flow through a throat; upstream stagnation data. # Status: illustrative worked example; engineering review pending. # Inputs are example values. Checks are editable example requirements, not standards. pressure = 300 kPa temperature = 300 K area = 1 mm^2 gamma = 1.4 gasConstant = 287 J/(kg*K) backPressure = 100 kPa criticalRatio := (2/(gamma+1))^(gamma/(gamma-1)) massFlow := area*pressure*sqrt(gamma/(gasConstant*temperature))*(2/(gamma+1))^((gamma+1)/(2*(gamma-1))) [g/s] check choked applicability: backPressure/pressure <= criticalRatio scenario alternative: pressure = 240 kPa