A continuum approach for consolidation modeling in composites processing