The numerical integration of viscoelastic models is rather challenging, since it is necessary to solve at the same time the modified Navier-stokes equation and the equation for the components of the conformation tensor. As a consequence, the CPU time and memory required by standard pseudospectral simulation of the viscoelastic model are about times larger in 2D than the Newtonian case with the same resolution.
Moreover the linear viscoelastic model Oldroyd-B model allows for infinite elongation, and consequently the stretching exerted by velocity gradients can generate singularities in the conformation tensor. Indeed the eigenvectors of the conformation tensor tend to align in the directions of the Lyapunov vectors, and the eigenvalues can experience exponential growth, leading to the formation of sharp fronts with diverging gradients which are involved in the feedback on the velocity fields. The consequence is a sudden rise of numerical instabilities in the simulations, which typically blow up after a short time.
Another critical aspect is the fact that the conformation tensor must remain positive definite because of its physical meaning: its eigenvalues represent the square axes of the inertia tensor. Since the smaller eigenvalues can became arbitrarily close to zero, infinitesimal errors arising from the integration scheme can bring it below zero, producing a new source of numerical instabilities.
The adoption of finite extensibility of the polymer is not sufficient to solve these problems. One of the standard trick to avoid the formation of singularities in viscoelastic simulations is the addiction of an artificial diffusivity in the equation for the conformation tensor [72]. In this way the sharp gradients are regularized, and simulations can be performed. Nevertheless this solution is not completely satisfactory, because the values of diffusivity that must be used are unrealistic, especially for passive simulations where the formation of sharp gradients is not prevented by feedback of polymers.
In order to perform accurate simulation of the passive limit for Oldroyd-B model we developed a numerical code which explicitly preserves the positive definiteness of the conformation tensor.
In two dimension the symmetric conformation tensor reads:
Its evolution along a Lagrangian trajectory
is determined by the equation
The velocity gradients
are valued along the Lagrangian trajectory
Let us write the evolution of the three components
of the conformation tensor along the Lagrangian trajectory
in the vectorial form:
The discrete evolution at first order accuracy in
can be obtained as:
To obtain an explicit form for the exponential matrix
it is necessary to distinguish the case in which
the predominant effect of velocity gradients on the conformation tensor
is either the stretching or the rotation,
depending on the sign of the determinant of velocity gradients:
Introducing the Weiss function Q defined as [81]