Pore-scale behaviors of the Darcy flow in static and dynamic porous media