Numerical modeling of nonlinear acoustic waves in a tube connected with Helmholtz resonators