Solute Transport in a Semi-Infinite Geological Formation with Variable Porosity