longitudinal wave propagation simulation