Study of contaminant concentration distribution through unsteady groundwater flow in porous formation