Heat and mass transfer with viscous dissipation in porous medium: FEM based methodology