Today, the main focus of human society is on environmental protection, and the observance of environmental standards in order to continue human life on Earth is an important and serious concern. The share of cars in large cities in the production and emission of air pollutants is about 70%, and this share is mainly due to fossil fuels. In the present paper, the behavior of air pollution in a part of the city is simulated by considering the wind pattern using computational fluid dynamics. The K-epsilon turbulence model was employed for the simulation. The governing equations for viscous flow included continuity equation, momentum, and turbulence model equations. CFD (Computational fluid dynamics) modeling provides a good description of flow field variables anywhere in the region with details. The resulting mathematical models and fluid flow patterns can be used in research and development, design, and even engineering economics. This simulation of the environment in the form of environmental models has many benefits, including accuracy and speed of modeling, especially using today's computers. Using the results of this simulation, researchers, authorities and policymakers can test the effects of new programs and ideas without spending time and time in the real world. In fact, by modeling instead of crisis management, you can predict or plan the risk.