Adjoint-based Noise minimization via Porous Material