It's been 25 years since I last touched this stuff in a fluid dynamics course, so I'm not sure how much I'm remembering. But a contracting duct like you've pictured is used in wind tunnels because it generates a more even flowrate profile at the outlet. With a straight duct, there tends to be lots of eddies and speed variance in the boundary layer (air closest to the duct). When you contract the duct like in your picture, this boundary layer shrinks in sized disproportionately more than the uniform flow layer in the middle. Since wind tunnels are all about uniform airflow speeds, they're all designed with a contracting duct to help reduce the boundary layer and even out the airflow.
https://www.researchgate.net/publication/230271809_Fundamentals_of_Wind-Tunnel_Design
So there actually is some benefit to using a larger fan and contracting its flow with a duct, vs using a fan which is exactly the same size as the opening you want to shoot the air through. You lose fan efficiency, but you gain more uniform airflow speed throughout the diameter of air exiting your contracting duct.
Whether this tradeoff is worth it, I've long since forgotten the math for calculating. Just bear in mind that flow volume (cross-sectional area * airflow rate) remains the same at both ends of the duct. So the reduction in diameter turns into an increase in airspeed. Another reason engineers usually use a contracting duct like you've pictured is noise. Instead of using a small, noisy fan to generate high airspeed, you use a large, quiet fan to generate the equivalent airflow rate, then contract it to generate the airspeed.