The key phrase here is computational flow dynamics (CFD)
TORNADO is a multiple-block, implicit, finite-difference 2-D Navier-Stokes code, developed through an on-going collaboration with the University of Toronto Institute for Aerospace Studies. Turbulence models implemented in the code include the Baldwin-Barth, Spalart-Allmaras, and Mentor's SST model. The implementation of matrix dissipation improves the accuracy of drag prediction, and the multigrid technique provides significant convergence acceleration. In the CFD 96 code validation exercise, TORNADO was shown to be competitive with some of the most respected 2-0 aerodynamics codes in the world.
Did ya get all that? If you want to spend the money . . .
Where you put the air inlet, (and it isn't necessarily a "hood scoop" depending on the vehicle,) matters a great deal. If you look at a hood scoop, that is a handy place right above the inlet to the engine. It isn't necessarily the optimal location.
Clean, non-turbulent air from a high-pressure area is what you would like.
The round inlet pictured on one of the cars above isn't the optimal shape.
As the inlet gets wider the base also gets wider and adds drag. By changing the round shape to the one pictured above the inlet area gets larger without making as much drag at the base.
The Hooley Stude is a good example of not only making an inlet but improving the aero on the car while they were at it.
Gratuitous jet inlet photo thrown in for no reason:
You can bet that the F1 teams are using CFD for the multiple inlets.
Jason Line's pro stock. As successful as they are at 200 mph I'm going to guess there was some wind tunnel work done.