Explorative gradient method for active drag reduction of the fluidic pinball and slanted Ahmed body