Numerical study on the bubble dynamics in a broken confined domain