Foam for underhood use?

But the gap that needs to be filled is about 2 foot wide by 3" or so tall. :confused:

I’d get some better pics, but the box is up at AMF getting finished right now…