Combination of counterflow jet and cavity for heat flux and drag reduction