Study on void formation in resin transfer molding