Not pure luck though, they tried 15 different baffle configurations. Would of course be easier to filter configuration in simulations.
For a relevant example, even just the oil formulation for Water Displacement on the exterior of the steel Atlas rockets took 40 iterations. Hence naming the product WD-40.
I don't know about the prior WD formulations.