In this work the numerical modeling of the flow inside co-rotating twin-screw extruders is performed and solutions are analyzed to determine the mixing behavior of two screw elements: conveying and mixing elements. The flow around intermeshing screws is computed using an immersed boundary finite element method capable of dealing with complex moving solid boundaries. The flow is considered isothermal and the material behaves as a generalized non-Newtonian fluid. Because the viscosity depends on the shear rate, solutions will be shown for various rotation velocities of the screw. The 3D solutions are then analyzed in order to determine various parameters characterizing the flow mixing such as the residence time and the linear stretch. Residence time distribution inside the twin-screw extruder is first computed by using a particle tracking algorithm based on a fourth order Runge-Kutta method. A large number of particles are tracked inside the extruder and the resulting particle data is used to determine the distribution of the residence time and of the linear stretch. The spatial distribution of the residence time is also computed by solving a transport equation tracking the injection time of the polymer melt. The methodology shows important differences in the mixing behavior of the screw elements considered.