Flow over natural or engineered surfaces: an adjoint homogenization perspective