The finite volume, three-dimensional, turbulent flow code ARIS-3D is applied to the study of the complex flow field through the inlet port and within the cylinder of a uniflow-scavenged engine. The multiblock domain decomposition technique is used to accommodate this complex geometry. In this technique, the domain is decomposed into two blocks, one block being the cylinder and the other being the inlet duct. The effects of inlet duct length, geometric port swirl angle, and number of ports on swirl generating capability are explored. Trade-offs between swirl level and inherent pressure drop can thus be identified, and inlet port design can be optimized.