Immersed Boundary Method with Artificial Density in Pressure Equation for Modeling Flows Confined by Wall Boundaries