The bulk viscosity of a square-well fluid