An existing multidimensional in-cylinder flow code, KIVA, was modified to conduct port-and-cylinder gas flow, fuel spray, and combustion calculations in a port-fuel-injection engine. The effect of a moving valve with a stem was modeled using a novel internal obstacle technique in which the valve was represented by a group of discrete computational particles. Previously developed spray and combustion models were used to simulate fuel injection and combustion processes for a solid-cone shaped, pressure-atomized spray with isooctane as the fuel. The spray model was further modified to handle interactions between the spray drops and the valve.The model was applied to a generic port-fuel-injection engine with variations in port orientation, spray cone angle, and valve configuration (without and with a 180-degree shroud). Calculation results for gas flow, fuel spray, and combustion indicated that the effect of a moving valve was modeled adequately using the new internal obstacle treatment technique. In particular, the proposed spray/valve interaction submodel seems to handle the impingement process between the spray drops and the valve quite well.The results also indicated that the spray cone angle and valve shroud had strong influences on the time history of injected fuel that enters the cylinder before intake valve closing and on the distribution of fuel-air mixture in the cylinder at the time of the spark. For excessive spray/valve and/or spray/port wall impingement, the amount of present-cycle-injected fuel entering the cylinder can be greatly reduced.Engines with port-fuel-injection (PFI) systems have become popular as a means of improving vehicle performance through faster response and higher specific output and for improving exhaust emission control *. The combustion process in PFI engines is known to be affected strongly by fuel-air mixing, which is governed by the gas flow and fuel-injection processes. The complex and transient nature of these processes, however, makes it extremely difficult to fully understand the performance and emissions characteristics of these engines [2, 3, 4, 5, 6 and 7]. Those engine parameters that are known to affect the gas flow and fuel injection processes of the PFI system include: port and valve configurations, combustion chamber shape, injector tip location, injection timing, spray cone angle and targeting, spray momentum and drop size. The overall performance of the engine is the net result of these complex interactions. Thus, capability to isolate individual parameter effects on engine performance is clearly needed for better PFI system design. Furthermore, there is current interest in engines that operate on alternate fuels such as methanol. The lower energy content per unit mass and higher latent heat of vaporization of methanol could add additional difficulties in applying alternate fuels to PFI engines. In particular, very different ignition requirements and/or delicate control of the combustion process may be needed as a result of its slow fuel evaporation.In a previous study , General Motors Research Laboratories' (GMR) version of the multidimensional in-cylinder flow code, KIVA, was modified to calculate gas flow and fuel spray in an engine intake port. The code was further modified to conduct port-and-cylinder gas flow and fuel injection calculations in a generic port-fuel-injection engine with a moving valve . The ability to make port-and-cylinder gas flow calculations with a moving valve is essential from a model validation standpoint. For instance, accurate assessment of various submodels is difficult if an assumed flow field is needed at intake valve closing to start the calculation. Furthermore, coupling the cylinder calculation with the valve/port calculation enables us to systematically examine parameters that are known to simultaneously affect the gas flow and fuel injection processes of the PFI engine.Thus, the objective of this work was to apply the model for a generic port-fuel-injection engine to illustrate the detailed information and understanding the model can provide regarding gas flow, fuel spray, and combustion processes in the port and cylinder of the PFI engine during the intake, compression, and expansion strokes. A parametric study was also made with variations in port orientation, spray cone angle and valve configuration (without and with a 180-degree shroud) to further demonstrate the model's capability.This paper is organized as follows. First, the port and cylinder geometries are described. Then, details are given of the flow, turbulence, valve, spray, ignition, and combustion submodels including the initial and boundary conditions. Finally, the results of three calculations with variations in port orientation, spray cone angle, and valve configuration are discussed which represent a parametric study of the model performance.