Ultrasonic methods for measuring liquid viscosity and volume percent of solids