How could I introduce sound wave in molecular dynamics or dissipative dynamic particles? What do specify which is applicable between molecular dynamics and dissipative particle dynamics? problem is simulating a 50 nm bubble in a MHz sound waves.
DPD doesn't have attractive forces so I don't see how it's possible to simulate a bubble with it. And a 50 nm bubble with MD? I hope you have a lot of computing power!
Assuming you use MD: I think the most elegant solution would be to use NVT with periodic boundary conditions, and modify the MD code you're using so that the cell vectors in one of the directions are sinusoidally varied at the desired frequency.