Computational analysis of a thermoacoustic refrigerator