On the nonlinear time development of gas flow in spiral density waves