Modelling anisotropic viscosity with applications in the solar corona