Numerical simulation flow of viscoelastic fluid with free surface, which is realized in entrance and output flow in extrusion die was performed. The flow of liquid is described by equations of conservation of mass, momentum and thermal energy with rheological constitutive equation of Giesekesus. On basis of finite element method the stable numerical scheme was developed to solve this problem. Different numerical experiments was performed to define the configuration of outflow jet in various regimes and construction of die.