First approach for modelling the physical foaming of tannin-based thermoset foams