Modeling epoxy foams exposed to fire-like heat fluxes