  In this paper, we study the model of $f(T, B)$ gravity with viscous fluid in
flat-FRW metric, in which $T$ and $B$ are torsion scalar and boundary term,
respectively. We obtain the Friedmann equations in the framework of modified
teleparallel gravity by tetrad components. We consider an interacting model
between matter and dark energy so that universe dominates by viscous fluid.
Then, we write the corresponding cosmological parameters in terms of the
redshift parameter, and, we parameterize the Hubble parameter with experimental
data. In what follows, we plot the corresponding cosmological parameters for
dark energy components in terms of redshift, thereafter we investigate the
accelerated expansion of the universe. Moreover, we discuss the stability of
the model by using the sound speed parameter. Finally, we investigate the
validity of the generalized second law of thermodynamics.
