On the asymptotic behavior of the solutions of a class of anisotropic initial-boundary value problems