Numerical simulation of port-valve-cylinder flow in reciprocating engines