The procedure based on the modified two-step Lax-Wendroff scheme has been suggested for calculation of one-dimensional non-stationary motion of porous media described by the mathematical two-velocity model with two stress tensors. Results of computer modeling of the processes of passing the boundary between gas and porous medium by air shock wave and the reflection from rigid wall covered by the porous layer are presented.