Ford Mondeo - mondeo knocking noise - franksboy

hi after driving 30 miles or so, when stopped at a junction i get a knocking noise from under the front of the car in the dpf area. it sounds like a flap trying to open but keeps flipping shut again. the car runs perfect, no codes or messages and pulls away fine and then may not do it for a couple of weeks. any ides appreciated. many thanks