Finite element solution strategy for viscous dissipation in porous medium