A methodology for generating orthogonal curvilinear grids is applied to two-dimensional domains. An important feature of the methodology is its ability to control effectively the grid spacing, especially near the boundaries. This paper summarizes the governing equations used for grid generation. Then the numerical procedure is described, with special emphasis on the scheme used to enhance stability and accuracy of the solution. The significance of the distortion function and the way it is used to control grid spacing are illustrated in geometries commonly found in engine combustion chambers. The influence of various parameters, including number of grid points, relaxation factor, and range of values of the distorion function, on the performance of the method are also investigated. It is concluded that the methodology can successfully produce smooth orthogonal grids with control of spacing in symmetric and nonsymmetric domains.