A physical model for the two-phase flow in a continuous casting mold