Microwave-induced foaming