A finite element model is developed to solve consolidation problems for composites manufacturing. The model is developed from a generic two-phase continuum theory allowing for coupling between the solid and fluid responses. The code is applied to a case study consisting of consolidation of a hat stringer to evaluate nonlinear effects.