Nonlinear periodic waves in a two-phase flow model