Actually it is the other way around, the supersonic air gets extremely cold. I spent much of my life working in NASA wind tunnels. Gratuitous self promotion: I’m on page 54 of “Wind Tunnels of NASA”. Not because I did anything special, the photo just happened to make the book.
Anyhoo, to accelerate air (or other gases, as we shall see) beyond the speed of sound, it is necessary to first constrict the flow. Every SS wind tunnel has a point of the smallest cross sectional area, called the throat. No matter how much pressure you give to the air upstream of it, the throat remains at exactly the speed of sound, and has a shock wave across it. As the air expands downstream of the throat, it accelerates and cools.
For an example, the 10 foot by 10 foot tunnel I worked in the most has a throat that is barely constricted at low speeds, but is only 16 inches wide at the full speed of Mach 4.
http://turbo.mech.iwate-u.ac.jp/Fel/turbomachines/stanford/images/tunnel_schematic.gif
Scientists always want higher testing speeds, especially in the era of orbital flight and beyond. Alas, we cannot generate such velocities (continuously), it is physically impossible. Why?
If we use air for the wind tunnel, it cools down so much it liquefies. So, we preheat the air with a pebble bed heater. Now the velocity is higher, but it still liquefies.
Using a gas with the lowest condensation temperature (helium), heating it to the point of material failure of the structure and expanding as much as possible, the velocity is still not as high as rockets achieve in the upper atmosphere.
So we start with 3000 degree F helium and end up with -450 degree helium. And even this design is a “blow down” tunnel with a test time of less than a second.
There are higher speed tunnels, but they only give a fraction of a second testing time. Some fire the tiny test vehicle counterflow to the air stream using a gun. Others, like LENS-X are “burst tunnels”, pressurized to extreme temperatures and pressures and accelerating after a diaphragm is ruptured.
LENS-X can hit Mach 25, maybe 30. It starts with hot helium and generates 20,000 psi by a series of diaphragms. It cost hundreds of thousands of dollars for a test series.
The ultra fast wind tunnels actually use an explosion to generate a millisecond shock wave. Then the tunnel is destroyed and a new one built.
Dennis