Flowing granular materials, undergoing both mixing and segregation, play important roles in industries ranging from minerals and food to pharmaceuticals and ceramics. Sometimes it is desirable to enhance the mixing and inhibit segregation and in other cases it is desirable to minimise the mixing and enhance the segregation The fundamentals of these processes are poorly understood. Computational modelling of such granular flows offers a good opportunity to study these fundamentals. But how well do these discrete element based modelling techniques capture the essential features of mixing processes? The capabilities of our discrete element modelling package are described. Two different methods for measuring the rates of mixing are presented and three different configurations are studied. Qualitatively reasonable flows are obtained. A detailed study of the mixing demonstrates that the amount and nature of the mixing is quite sensitive to a range of physical parameters. (C) 1998 Elsevier Science Inc. All rights reserved.