In a multisource thermal model, we detailedly show dihadron azimuthal correlations for 20–40% and 50–80% in Au-Au collisions atsNN=200 GeV and over a centrality range from 10–15% to 70–80% in Pb-Pb collisions atsNN=2.76 TeV. The model can approximately describe the azimuthal correlations of particles produced in the collisions. Thepxamplitude of the corresponding source is magnified, and the source translates along the direction. The factorαx, in most cases, increases with the increase of the centrality in Pb-Pb collisions atsNN=2.76 TeV.