Potential flow in engine valves