Viscoelastic fluids play significant roles in many industries, including food and polymeric
petrochemical and forming industries. The rheological response of viscoelastic fluids is quite
complex, including combination of viscous and elastic effects. In this study, mold filling of
Oldroyd-B and linear PTT viscoelastic fluids are simulated by the OpenFOAM software. The
OpenFOAM is a finite volume based open source software that has been used in
Computational Fluid Dynamics (CFD) successfully. The studied mold has a rectangular
structure with a gate for fluids injection. The simulation is carrying out at isothermal
conditions and flow considered two dimensional. The velocity, shear stress and first normal
stress difference changes in different points of the mold are critically studied. The simulation
results indicate that maximum velocity decreases along the mold length. Maximum velocity
and maximum first normal stress difference increase as injection rate increases. In addition,
maximum shear stress and first normal stress difference occur in the inlet of mold and
changes of shear stress and first normal stress difference are linear along the mold length.
Shear stress changes at the inlet are completely different compared to regions far from the
inlet, where the highest values of elongation rate are found.