Three dimensional analysis of the gas flow in piston ring pack