In order to inspect the effects of adverse pressure gradient (APG) and curvature on the corrosion in the main gas transmission pipelines, the mean velocity and turbulence boundary layer on the walls of six different geometries including a straight pipe (A), a convex pipe (B 1), a concave pipe (B 2), a convex diffuser (C 1), a concave diffuser (C 2) and a straight diffuser (D) are calculated. The values of pressure gradient and curvature parameters are chosen 0.62 and 0.023, respectively. The results indicate that the corrosion in the concave curvature is greater than that the corrosion in the convex curvature, since the turbulence intensity increases in the concave curvature while it is suppressed in the convex curvature. In addition, when the boundary layer is exposed to APG and concave curvature simultaneously, the corrosion is greater than the situation when there is only APG or concave curvature. Ultimately, it was found that for the six studied geometries, there are two flow regimes (for velocities lower than 36 m/s) that the turbulence quantities are dependent on velocity. However, for velocities more than 36 m/s, the turbulence quantities and other affected quantities in the shear region are independent. Keywords Curvature • Adverse pressure gradient (APG) • k − − SST turbulence model • Corrosion List of symbols A Flow in a straight pipe B Flow in a curved pipe B1 Flow in a curved pipe with boundary layer developing on the convex side B2 Flow in a curved pipe with boundary layer developing on the concave side C Flow in a curved diffuser C1 Flow in a curved diffuser with boundary layer developing on the convex side C2 Flow in a curved diffuser with boundary layer developing on the concave side D Flow in a straight diffuser H Shape factor K Turbulent kinetic energy per unit mass (m 2 /s 2) k r The inverse of curvature radius (m −1) p Pressure (kgm/s 2) * Boundary layer thickness (mm) Displacement thickness (mm) Dissipation rate of the turbulent kinetic energy per unit mass (m 2 /s 2) Momentum thickness (mm) Von Karman constant (= 0.41) t Kinematic eddy viscosity (m 2 /s) Kinematic viscosity (m 2 /s) Density (kg/m 3) Specific dissipation rate (1/s)