Preparation, testing and control of rotary drilling fluid systems. A laboratory study of the functions and applications of drilling and well completion fluids.