Text this: Mathematical modeling and experimental study of material flow and torque in the extrusion-based additive manufacturing of granulated polymer