Experimental and Numerical Investigations of Bubble Dynamics in Porous and Non-Porous Media