Finite Element Method for Viscoelastic Fluid Flow

In Simcenter STAR-CCM+, the numerical algorithm for capturing the complex flow field of non-Newtonian viscoelastic fluids is based on the finite element method. The discretization of a closed-form non-linear differential constitutive equation is described exemplarily by means of the Oldroyd-B model and can be readily extended to other differential constitutive equations.

The governing set of equations consisting of continuity equation, momentum equations, and constitutive equation is non-dimensionalized. The coupled system of equations is discretized by using a particular mixed finite element method, which employs three stabilization techniques. These stabilization techniques address issues with the stress-velocity coupling, the non-linear convection terms, and the incompressibility constraint of the fluid.

In steady-state and under isothermal conditions, the governing equations for an incompressible viscoelastic fluid flow can be written in non-dimensional form:

Continuity Equation
Figure 1. EQUATION_DISPLAY
v=0
(1014)
Momentum Equation
Figure 2. EQUATION_DISPLAY
Re(vv)=p+T
(1015)
Constitutive Equation

To describe the numerical procedure, the viscoelastic constitutive equation is represented by the Oldroyd B model:

Figure 3. EQUATION_DISPLAY
WiTip+Tip=2ζiD
(1016)
Figure 4. EQUATION_DISPLAY
T=2ζsD+i=1NTip
(1017)

where:

v non-dimensional velocity
p non-dimensional pressure
T non-dimensional viscous stress tensor
Re=ρvclcμc Reynolds number
vc characteristic velocity
lc characteristic length
μc characteristic dynamic viscosity
Wii=λivclc Weissenberg number that is associated with the ith mode
λi relaxation time of the ith mode
ζi=μi/μc dimensionless viscosity of the ith mode
μi viscosity that is associated with the ith mode
μs solvent viscosity

The above equations are non-dimensionalized by vvc,llc,p,Tμcvc/lc.

In this form, the above system of equations yields a double saddle-point problem, because the velocity and pressure do not appear in the momentum and continuity equations explicitly. Although the velocity appears explicitly only in the momentum equation through the solvent viscosity term, the contribution of this term is often negligible for viscoelastic fluids. To overcome this difficulty, the Discrete Elastic Viscous Split Stress (DEVSS) method proposed by Guénette and Fortin [175] is used. The method defines an additional tensorial unknown d :

Figure 5. EQUATION_DISPLAY
T2ζsD(v)+i=1NTip2αd+2αD(v)
(1018)

where α is an arbitrary constant.

This substitution results in the following (v,p,Tip,d) formulation:

Figure 6. EQUATION_DISPLAY
∇⋅v=0
(1019)
Figure 7. EQUATION_DISPLAY
Re(vv)+p(2ζs+2α)D(v)i=1NTip+2αd=0
(1020)
Figure 8. EQUATION_DISPLAY
WiiTip+Tip2ξiD(v)=0
(1021)
Figure 9. EQUATION_DISPLAY
d D ( v ) = 0
(1022)
Variational Formulation
To obtain the variational formulation, the above set of equations is multiplied with the weight functions ( p ˜ h , v ˜ h , T ˜ h , d ˜ h ) and then integrated over the volume domain Ω with the enclosing boundary Γ and normal n Γ .

By using the standard Galerkin approach for the system of ( p h , v h , T i , h p , d h ) and applying the divergence theorem, the system of equations is given by:

Figure 10. EQUATION_DISPLAY
Ω v h   p ˜ h   d Ω = 0 ,     p ˜ h H 0 1 ( Ω )
(1023)
Figure 11. EQUATION_DISPLAY
Re Ω ( v h v h ) v ˜ h   d Ω Ω p h v ˜ h   d Ω + ( 2 ζ s + 2 α ) Ω D ( v h ) : D ( v ˜ h )   d Ω + m = 1 N Ω T i p : D ( v ˜ h )   d Ω 2 α Ω d : D ( v ˜ h )   d Ω Γ n Γ ( p h I + 2 ζ s D ( v h ) + m = 1 N T i p + 2 α ( D ( v h ) d ) ) v ˜ h   d Γ = 0 ,     v ˜ h ( H 0 1 ( Ω ) ) 3 ,
(1024)
Figure 12. EQUATION_DISPLAY
We i Ω T i , h p : T h   d Ω + Ω T i , h p : T h   d Ω 2 ζ m Ω D ( v h ) : T h   d Ω = 0 ,     T h ( H 0 1 ( Ω ) ) 6
(1025)
Figure 13. EQUATION_DISPLAY
Ω d h : d h   d Ω Ω d h : D ( v h )   d Ω = 0 ,     d h ( H 0 1 ( Ω ) ) 6
(1026)

where H 0 k ( Ω ) denotes the Sobolev space consisting of square integrable functions for which all derivatives up to order k are square integrable, with the magnitude zero at the boundaries with essential boundary conditions and n Γ is the unit normal vector pointing outward to the boundary Γ enclosing the domain Ω .

The continuous space domain is discretized into a finite number of elements, which are interconnected at the vertices.

Discrete Elastic Viscous Split Stress with Traceless Gradient (DEVSS/TG)
In any incompressible flow, the gradient must remain traceless, i.e. tr ( v ) = ∇⋅ v = 0 . However, the discretized velocity field computed according to the finite element method is not precisely traceless. In particular, the trace of the interpolated velocity gradient becomes extremely large in regions where there is a sudden change in velocity; this may lead to instability of the numerical simulation. See Pasquali & Scriven [200].

To guarantee the divergence-free property of the velocity gradient, Pasquali & Scriven modified the Discrete Elastic Viscous Split Stress (DEVSS) of Guénette & Fortin [175] so that the velocity gradient becomes traceless and thus it is called DEVSS/TG. The rate of deformation tensor D ( v ) in Eqn. (1022) is defined as D ( v ) = 1 2 ( v + v T ) . To make the velocity gradient v traceless, replace v with:

Figure 14. EQUATION_DISPLAY
v ∇⋅ v tr ( I ) I
(1027)

As a result :

Figure 15. EQUATION_DISPLAY
D ( v ) = v + v T 2 ∇⋅ v tr ( I ) I
(1028)

Then Eqn. (1022) can be re-written as:

Figure 16. EQUATION_DISPLAY
d D + ∇⋅ v tr ( I ) I = 0
(1029)
Non-Isothermal Flow

For non-isothermal flow, the energy equation for uniform conductivity in the non-dimensional form is:

Figure 17. EQUATION_DISPLAY
Pe ( T t + v T ) 2 T Br T : v = 0
(1030)

where:

  • T is the non-dimensional fluid temperature, scaled with the characteristic temperature of the domain T c .
  • T is the non-dimensional total stress tensor.
  • Pe and Br are the Péclet number and Brinkman numbers respectively:
    Pe = v c l c k / ρ C p Br = μ c v c 2 k T c
    and:
    • v c is the characteristic velocity.
    • k is the fluid conductivity.
    • C p is the specific heat capacity.
    • T c is the characteristic temperature of the domain.

To obtain a variational form, multiply Eqn. (1030) by the weight function T ˜ h and then integrate over the volume domain Ω with the enclosing boundary Γ and normal n Γ . By using the standard Galerkin approach and applying the divergence theorem, Eqn. (1030) can be written as:

Figure 18. EQUATION_DISPLAY
Ω Pe T ˜ h T t d Ω + Ω Pe ( v h T h ) T ˜ h d Ω + Ω T h T ˜ h d Ω Ω Br ( T h : v h ) T ˜ h d Ω Γ ( T h e n ) T ˜ h d Γ = 0 , T ˜ h H 0 1 ( Ω )
(1031)

where e n is the dimensionless unit normal.

In non-isothermal flow, Eqn. (1031) is solved with the continuity, momentum and constitutive equation in a coupled way.

Maximum and Minimum Temperature
The transient non-isothermal simulation of polymers is often complex, since the conductivity of the polymers is usually small and the Péclet number is very high . This often leads to numerical instability next to walls, where there is a very thin thermal boundary layer. The numerical instability appears as sharp spikes in temperature by the walls. The temperature spike is often significant (sometimes result in a local negative temperature), causing the simulation to collapse immediately. The magnitude of this spike is limited by introducing minimum and maximum values for temperature. If the temperature is greater (or lesser) than the specified T max (or T min ), a sink (or source) term is added locally to the energy equation, to cool down (or heat up) the local temperature. The term is in the following form:
Figure 19. EQUATION_DISPLAY
± α ρ C p Δ T Δ t
(1032)

where α is a small non-dimensional value determining the degree of tolerance and Δ t is the time-step. Plus (or minus) accounts for cooling (or heating). To identify the cell in the domain where this term should be locally incorporated, the local temperature at any Gaussian point is tested according to the following smooth function:

Figure 20. EQUATION_DISPLAY
Δ T = ( T T max ) + ( T T max ) 2 + ϵ 2 2 Δ T = ( T T min ) + ( T T min ) 2 + ϵ 2 2
(1033)

where ϵ = 0.01. The above functions generate zero for all points for which the temperature is below (above) T max ( T min ).

Source Terms for Momentum and Energy

Introducing a body force f b to the momentum equation adds a quadrature in the following form to the left-hand side of Eqn. (1024):

Figure 21. EQUATION_DISPLAY
Ω f b v ˜ h d Ω , v ˜ h H 0 1 ( Ω )
(1034)

Similarly, introducing an energy source q to the energy equation adds the following term to the left-hand side of Eqn. (1031):

Figure 22. EQUATION_DISPLAY
Ω q T ˜ h d Ω , T ˜ H 0 1 ( Ω )
(1035)
Passive Scalars in Viscoelastic Fluid Flow
Passive scalars are treated as components of the viscous fluid that can be advected by the flow field and diffused according to Fick's law, but occur in concentrations so small that their presence does not alter the flow field. With multiple passive scalars, there is no interaction between the components. The distribution of each passive scalar in the system is described by an advection-diffusion equation:
Figure 23. EQUATION_DISPLAY
Pe i ( C i t + v C i ) = 2 C i
(1036)

where:

  • C i is the non-dimensional distribution of the i th species in the system.
  • Pe i is the Péclet number, P e i = v c l c / D i .
  • D i is the molecular diffusivity of the i th species that (for small molecule species) is obtained by the Stokes-Einstein relation.
  • t is non-dimensional physical time scaled with the advection time scale t c a / v c .
  • v is the non-dimensional velocity vector.

This equation is one-way coupled to the hydrodynamic equations.

To obtain a variational formulation for passive scalars, multiply Eqn. (1036) by the weight function C˜i and then integrate over the volume domain Ω . This gives:

Figure 24. EQUATION_DISPLAY
ΩPeiC˜iCitdΩ+ΩPeiC˜i(vCi)dΩΩC˜i2CidΩ=0,C˜iH01(Ω)
(1037)

Integrate the last term by parts and use the divergence theorem to derive:

Figure 25. EQUATION_DISPLAY
ΩPeiC˜iCitdΩ+ΩPeiC˜i(vCi)dΩ+ΩC˜iCidΩΓC˜i(nΓCi)dΩ=0,C˜iH01(Ω)
(1038)

The passive scalar equation does not modify the flow field, but it cannot be solved independently, since a velocity field must be known in order to solve the above discretized equation simultaneously with the discretized hydrodynamic equations.

Streamline Upwind Petrov-Galerkin

Simcenter STAR-CCM+ uses the standard streamline upwind Petrov-Galerkin method (SUPG), which is a stabilization technique to prevent oscillations in convection-dominated flow problems in the finite element method.

One difficulty in numerically solving viscoelastic fluid flow is the existence of non-linear and non-Hermitian convective terms in the momentum and constitutive equations. The convective terms that are associated with the momentum equation are usually small in polymeric flows, because the characteristic viscosity μc is high and therefore, the Reynolds number Re is small. However, the effect of the non-linear term in the constitutive equation is dominant at high Weissenberg numbers Wi.

There is also a convective term in the passive scalar equation, so the equation must be stabilized for high values of P e i .

The general form of this consistent stabilization technique relies on adding of quadratures for each element in the following form to the left side of the weak form, Eqn. (1023):

Figure 26. EQUATION_DISPLAY
βSUPGΩeτSUPG PR dΩ
(1039)

where βSUPG is a parameter (but usually equal to one for convenience), P is a specific operator applied to the weight function, R is the residual of the partial differential equation and τSUPG is the SUPG stabilization parameter (also called intrinsic time). In the SUPG stabilization technique, these functions for the momentum equation are defined as [942] [943] [944]:

Figure 27. EQUATION_DISPLAY
τSUPG=((2||vh||h)2+(4μsρh2)2)12
(1040)
Figure 28. EQUATION_DISPLAY
P=vhuh
(1041)
Figure 29. EQUATION_DISPLAY
R=Re(vhvh)+phm=1NTi,hp2ζsD(vh)
(1042)

For the constitutive equation, they are given by:

Figure 30. EQUATION_DISPLAY
τSUPG=h2||vh||
(1043)
Figure 31. EQUATION_DISPLAY
P=vhφh
(1044)
Figure 32. EQUATION_DISPLAY
R=WiiTip+Tip2ζiDv
(1045)

where h denotes the characteristic size of the element.

For passive scalar fluid components, τSUPG, P, and R are given by:

Figure 33. EQUATION_DISPLAY
τSUPG=h2||vh||
(1046)
Figure 34. EQUATION_DISPLAY
P=vhC˜i
(1047)
Figure 35. EQUATION_DISPLAY
R=Pei(Cit+vCi)Ci2
(1048)

Pressure Stabilized Petrov-Galerkin

The algebraic system of equations for the nodal values of unknown pressure and velocity vectors in the Galerkin formulation is governed by a partitioned matrix with a zero submatrix on the diagonal. The stability and convergence of this algebraic system relies on satisfying the Ladyzenskaja-Babuska-Brezzi (LBB) compatibility condition [933]. Simcenter STAR-CCM+ employs the pressure stabilized Petrov-Galerkin (PSPG) method [930] [931] [943] that circumvents this requirement.

The Pressure Stabilized Petrov-Galerkin (PSPG) scheme is a numerical technique to stabilize the formulation of the Galerkin finite element of an incompressible fluid. Similar to SUPG, the method adds quadratures, which are associated with each element, to the left-hand side of the continuity equation Eqn. (1023):

Figure 36. EQUATION_DISPLAY
e = 1 n el β pspg Ω e τ pspg ρ v ˜ h [ ρ ( v h t + v h v h ) ∇⋅ σ ] d Ω
(1049)

where n el is the number of elements and β pspg is a model parameter with default value 1.

The stabilization parameter τ pspg plays a significant role in the stability and robustness of the proposed method. Varchanis et al. [214] proposed the following form, which is the extension of the earlier formulation of Tezduyar and Osawa [212]:

τ pspg = [ ( 2 Δ t ) 2 + ( v e h e ) 2 + ( μ s ρ h e 2 ) 2 + ( μ a ρ h e 2 ) 2 ] 1 2

where v e is the characteristic element velocity and h e is the characteristic length of element.

The last term in the expression for τ pspg , ( μ a ρ h e 2 ) 2 , helps stabilize the numerics in the regions where there is significant variation in the stress field, for instance at singular points where the stress is unbounded.

μ a is the continuous adaptive viscosity:

μ a = ( μ 0 v c l c ) 2 + 0.5 i = 1 n mode T h i : T h i ( v c l c ) 2 + 2 d h : d h

where v c is the characteristic fluid velocity and l c is the characteristic length for the fluid.

μ 0 is the sum of solvent and all viscosity modes:

μ 0 = μ s + i = 1 n mode μ i

σ in Eqn. (1049) is the total hydrodynamic stress:

σ = p I + 2 μ s D + i = 1 n mode T i

where T i is the stress tensor of the i th mode.