This adapter allows you to install 30mm fan on top of your Raspberry pi 3 and 4. This might work on rpi5 but i haven't tested it.