longitudinal wave particle simulation