Numerical simulation of seepage problem in porous media