Groundwater mechanics, flow and transport