I assume you are making some kind of device to protect an object during impact??? Try using one of the spray foams meant for doors and windows. Just be sure to supply a little moisture if you are filling a large form and try to do it is layers if it is more a few inches thick.
Rege
Rege