Modeling of ion heating from viscous damping of reconnection flows in the reversed field pinch