The paper considers a model for filtering a viscous incompressible fluid in a deformable porous medium. The filtration process can be described by a system consisting of mass conservation equations for liquid and solid phases, Darcy's law, rheological relation for a porous medium, and the law of conservation of balance of forces. This paper assumes that the poroelastic medium has both viscous and elastic properties. In the one-dimensional case, the transition to Lagrange variables allows us to reduce the initial system of governing equations to a system of two equations for effective pressure and porosity, respectively. The aim of the work is a numerical study of the emerging initial-boundary value problem. Paragraph 1 gives the statement of the problem and a brief review of the literature on works close to this topic. In paragraph 2, the initial system of equations is transformed, as a result of which a second-order equation for effective pressure and the first-order equation for porosity arise. Paragraph 3 proposes an algorithm to solve the initial-boundary value problem numerically. A difference scheme for the heat equation with the righthand side and a Runge–Kutta second-order approximation scheme are used for numerical implementation.