Boundary effects on a bubble rising in a finite two-dimensional fluidized bed