Analyis of liquid mixing and solid dissolution for pharmaceutical manufacturing in stirred tanks