Online estimation and monitoring of local permeability in resin transfer molding