Design and optimization of a multi-port applicator for microwave assisted foaming