Isothermal flows of complex rheology fluids into two-dimensional cavity