For extracting a liquid (such as oil) from a porous medium, the liquid is subjected to pulses that propagate through the liquid flowing through the pores of the medium. The pulses cause momentary surges in the velocity of the liquid, which keeps the pores open. The pulses can be generated in the production well, or in a separate excitation well. If the pulses travel with the liquid, the velocity of travel of the liquid through the pores can be increased. The solid matrix is kept stationary, and the pulses move through the liquid. The pulses in the liquid can be generated directly in the liquid, or indirectly in the liquid via a localized area of the solid matrix.