Application of the Lattice Boltzmann method in acoustics