Analysis of resin transfer/compression molding process