Mechanisms of ultrasound foam interactions