Numerical investigation of a standing-wave thermoacoustic device