Skip to main content
Polymers logoLink to Polymers
. 2022 Sep 30;14(19):4099. doi: 10.3390/polym14194099

A Fully Implicit Log-Conformation Tensor Coupled Algorithm for the Solution of Incompressible Non-Isothermal Viscoelastic Flows

Célio Fernandes 1
Editors: Patrick Ilg1, Maria Bercea1
PMCID: PMC9571340  PMID: 36236047

Abstract

In this work, a block-coupled algorithm is presented, which can compute laminar, incompressible, non-isothermal, viscoelastic flow problems based on the log-conformation tensor approach. The inter-equation coupling of the incompressible Cauchy linear momentum and mass conservation equations is obtained in a procedure based on the Rhie–Chow interpolation. The divergence of the log-conformation tensor term in the linear momentum equations is implicitly discretized in this work. In addition, the velocity field is considered implicitly in the log-conformation tensor constitutive equations by expanding the advection, rotation and the rate of deformation terms with a Taylor series expansion truncated at the second-order error term. Finally, the advection and diffusion terms in the energy equation are also implicitly discretized. The mass, linear momentum, log-conformation tensor constitutive model and energy-discretized linear equations are joined into a block-matrix following a monolithic framework. Validation of the newly developed algorithm is performed for the non-isothermal viscoelastic matrix-based Oldroyd-B fluid flow in the axisymmetric 4:1 planar sudden contraction benchmark problem.

Keywords: fully implicit coupled solver, viscoelastic flow, log-conformation tensor approach, non-isothermal effects, finite volume method, OpenFOAM

1. Introduction

The polymers’ processing techniques are predominantly non-isothermal, such as injection molding [1,2,3], heat exchange problems [4,5], or in plastication, including heating and cooling sequences [6,7]. The thermal conductivity and heat transfer are usually low in this processes; however, due to the heating or cooling of the machine’s operations, large temperature gradients arise in the fluid [4,8]. In addition, the viscoelastic behavior of polymers acts on the temperature field as well as on the fluid deformation [4,8]. Therefore, flow properties are strongly dependent on both rheology and temperature; and, thus, it is essential to understand and make predictions regarding non-isothermal viscoelastic fluid flows.

The temperature dependence of linear viscoelastic properties (such as the relaxation time λ) can be included in constitutive equations using the time-temperature superposition principle [9]. In this way, the material properties can be defined through a function of the temperature, the so-called shift factor [10]. Two empirical correlations of the shift factor are widely employed: the William–Landel-Ferry (WLF) [11] and Arrhenius [12] models. Thus, the temperature is considered an independent variable in the constitutive equations employed to compute the components of the polymeric stress tensor (see the work of Peters and Baaijens [13] for a detailed discussion on this topic). In addition, when solving non-isothermal viscoelastic flows, the internal energy of the fluid is not only a function of the temperature [13]. The conversion mechanisms of internal energy need to be taken into account for non-isothermal viscoelastic flows; specifically, the thermal energy is partly dissipated and partly stored in the fluid. Therefore, the energy equation should predict which part of the mechanical power is dissipated and which part is accumulated as elastic energy [4,8]. For that purpose, an additional term is needed in the energy equation [14]. Peters and Baaijens [13] developed an internal energy equation for multiple rate-type fluids based on a constant weighting factor that characterizes the ratio of entropy to energy elasticity [15]. Several numerical studies have also used this concept [16,17,18] and we will employ this in the current work.

Numerical simulations can describe these complex flow mechanisms and help to gain a better understanding of, and improvements in, the processes where they occur. For that purpose, Computational Fluid Dynamics (CFD) are used to guide the theoretical researchers and practitioner engineers, through the use of both open-source [3,4,5,7,19] and proprietary software [20]. In the last decade, a significant effort has been made in research on the non-isothermal flows of viscoelastic fluids. A survey of the scientific literature finds different works that describe the non-isothermal viscoelastic fluid flows based on iterative numerical algorithms. For example, Shahbani-Zahiri et al. [21] studied the recirculation and thermal regions of viscoelastic flow in the symmetric planar problem for different expansion angles. Kunisch and Marduel [22] employed the finite element (FE) method to study the optimal control of non-isothermal viscoelastic fluids to minimize vortices and control the heat flux. Spanjaards et al. [23] performed a 3D transient non-isothermal simulation to predict the extrudate shape of viscoelastic fluids emerging from an asymmetric keyhole-shaped die. However, the current state-of-the-art codes depend on iterative algorithms, such as the Semi-Implicit Method for Pressure Linked Equations (SIMPLE) procedure [24], which are known to delay the convergence of the problem of interest when compared to monolithic or coupled algorithms [25,26,27,28,29,30]. The iterative algorithms, also known as segregated algorithms, are characterized to provide a separate solution of the linear momentum, mass, viscoelastic polymer stress tensor and energy conservation equations, which are then iterated until convergence. Recently, with the increase in computational resources and due to scalability problems in the segregated algorithms, the monolithic approach has been used, with the advantage of decreasing the computational wall time of the simulation, particularly for finer meshes, as shown by Fernandes et al. [28]. Thus, a methodology based on the monolithic approach for the simulation of non-isothermal viscoelastic flows would be of major importance.

In addition, the benchmark problems of both planar and axisymmetric contraction flows are also extensively studied to evaluate the stability of newly developed numerical algorithms [31,32,33]. These benchmark problems are especially important because, near the contraction, complex flow profiles are generated, and thus large stress gradients are developed, which can cause numerical difficulties, leading to the overall failure of the algorithms. Bearing this in mind, we will revisit the axisymmetric sudden contraction benchmark flow to validate the newly developed, fully implicit, coupled solver for non-isothermal viscoelastic fluid flows.

The rheological data available in the literature for the validation of non-isothermal viscoelastic fluids are scarse due to the complex fluid behaviour, which generally requires several modes to capture the full range of operating conditions. In this work, we will employ the highly elastic, polyisobutylene-based polymer solution (PIB-Boger fluid), which is typically described by the quasi-linear Oldroyd-B viscoelastic fluid model. Another important issue to consider when solving viscoelastic fluid flows is the elastic effects, specifically, the flow at high Weissenberg numbers [34]. It is well known that numerical simulations tend to become unstable at increased Weissenberg numbers, the so-called High Weissenberg Number Problem (HWNP). The seminal work of Fattal and Kupferman [35] proposed a reformulation of the viscoelastic stress-tensor-based formulation to solve the HWNP, where the logarithm of the conformation tensor is used as the main variable in the constitutive transport equation. Different methods have been also used to solve the HWNP, such as the square root of the conformation tensor [36]. A detailed discussion of this topic can be found in Afonso et al. [37]. In this work, we will employ the log-conformation tensor approach to handle the HWNP.

In this manuscript, a new numerical code is developed in the context of the Finite Volume Method (FVM), following a monolithic framework to compute the non-isothermal flow of viscoelastic fluids. To the author’s knowledge, the other CFD codes, which provide a fully implicit block-coupled solution for a discretized, log-conformation, viscoelastic, fluid-flow system, were developed by Knechtges [38] using the Finite Element Method (FEM) and Spahn [39] using FVM; however, these studies did not consider the non-isothermal effects. In this work, the solution to the enlarged system of equations, composed of continuity, linear momentum, log-conformation tensor constitutive equation and energy, is obtained using a Bi-Conjugate Gradient Stabilized solver. The validation of the fully implicit, block-coupled, non-isothermal, viscoelastic, log-conformation tensor-based solver is performed for the Oldroyd-B fluid flow in the axisymmetric 4:1 planar sudden-contraction benchmark problem. For assessment purposes, the results obtained with the newly-developed code are compared with numerical results found in the scientific literature. We study flows at a high Weissenberg number and we investigate the limits of pure energy elasticity and pure entropy elasticity. Lastly, we also analyzed the effect of the jump in wall temperature near the contraction for positive and negative increments.

The remaining sections of the manuscript are organized as follows. In Section 2, the governing equations for the stress tensor and log-conformation tensor-based formulations of non-isothermal viscoelastic flows are presented. Subsequently, in Section 3, the numerical procedure of the block-coupled algorithm will be described in detail, including the finite-volume discretization process for all the implicit terms considered in the governing equations. In Section 4, the validation of the newly-developed numerical algorithm is performed, and in Section 5 the main conclusions of the work are addressed.

2. Governing Equations

In this section, the equations that involve non-isothermal viscoelastic fluid flow problems are presented for both stress-tensor- and log-conformation tensor-based formulations.

2.1. Stress-Tensor-Based Formulation

The governing equations for laminar, incompressible, non-isothermal viscoelastic flows are the conservation of mass and linear momentum, together with a constitutive equation modeling the polymer stress behavior and the energy equation to account for thermodynamical effects.

The conservation of mass and linear momentum equations read as follows:

uixi=0, (1)
ρuit+ujuixj+pxiτijxj=0, (2)

where Einstein’s summation convention applies, ui are the velocity components along the Cartesian co-ordinates xi, ρ is the fluid density, t is the time, p is the pressure and τij are the components of the total extra-stress tensor (i,j=1,2 for 2D flows), which is split into Newtonian (solvent), (τN)ij, and elastic (polymeric), (τE)ij, contributions, such that τij=(τN)ij+(τE)ij.

The calculation of the stress terms is completed using the following relations:

(τN)ij=2ηN(T)Dij=ηN(T)uixj+ujxi, (3)
1ηE(T)Iij+h((τE)ij)(τE)ij+λ(T)ηE(T)(τE)ijt+uk(τE)ijxkuixj+ujxiλ(T)ηE(T)(τE)ikujxk+(τE)jkuixk=0, (4)

where ηN(T) and ηE(T) are the temperature-dependent solvent and polymeric viscosities, respectively, Dij is the strain rate tensor, which describes the rate of stretching and shearing, λ(T) is the temperature-dependent polymer relaxation time, Iij is the identity tensor and h((τE)ij) is a tensor that can be given by different expressions, related to the constitutive equation chosen to model the viscoelastic fluid. For the Oldroyd-B model [40], h((τE)ij)=0. For the Giesekus model [41] h((τE)ij)=κληE(τE)ij, where κ is a positive constant, the so-called mobility factor, which is related to the elongational behavior of the fluids. For the Phan–Thien–Tanner (PTT) model [42,43], the tensor h is of the form h((τE)ij)=ϵληEtr((τE)ij)Iij, where tr((τE)ij)=(τE)ii is the trace of the polymeric stress tensor and ϵ is a material parameter called the extensibility factor, related to the fluid behavior in extensional flow. In addition, the Giesekus and PTT models present one more non-linearity, which is given by the product h((τE)ij)(τE)ij. This term is responsible for the shear-thinning, the non-zero second normal stress coefficient and the stress overshoot in transient shear flows of viscoelastic fluids. In this work, we will provide a preliminary assessment of the merits of the fully implicit, block-coupled, non-isothermal, viscoelastic, log-conformation tensor-based algorithm for calculations using the Oldroyd-B fluid model, which is commonly used to validate newly-developed viscoelastic codes due to the stress singular behavior near sharp corners or at stagnation points. For these models, a characteristic (solvent) viscosity ratio can be defined by β=ηN/(ηN+ηE)=ηN/η0, known as the retardation ratio, where η0 is the total viscosity in the limit of vanishing shear rate.

Following the work of Peters and Baaijens [13] the energy balance equation for the case of viscoelastic flows is as follows:

ρCpTt+uiTxik2Txi2=(τN)ijDji+α(τE)ijDji+(1α)(τE)ii2λ¯(T), (5)

where k is the thermal conductivity of the fluid, without dependence on temperature T and polymer orientation, Cp is the specific heat capacity, also without temperature and polymer orientation dependence [44], and α is the energy partitioning coefficient. When α=1, all mechanical energy is dissipated as heat (pure entropy elasticity), and if α=0, all mechanical energy is stored as elastic energy (pure elastic material) [13,18]. Habla et al. [18] concluded that the effect of the parameter α is negligible because, with a fully developed shear flow, only stress work occurs, and the internal energy storage is absent. In addition, λ¯(T)=λ(T)1+λ(T)ϵ(τE)iiηE(T)1 for the PTT model and λ¯(T)=λ(T)1+λ(T)κ(τE)ijηE(T)1 for the Giesekus model. For the Oldroyd-B model calculations considered in the validation section of this work (Section 4), λ¯(T)=λ(T). The temperature dependencies of the relaxation time, λ(T), solvent and polymeric viscosities, ηN(T) and ηE(T), respectively, are given by

λ(T)=aTλ(T0), (6)
ηN(T)=aTηN(T0), (7)
ηE(T)=aTηE(T0), (8)

where T0 is a reference temperature and aT is a shift factor obeying the Williams–Landel–Ferry (WLF) relation:

aT=expC1(TT0)C2+TT0, (9)

in which C1 and C2 are the WLF parameters and T0 is the reference temperature. Frequently used sets of WLF parameters (C1,C2) are (5, 150) for temperatures relatively far from the glass transition temperature Tg, enabling the thermorheological coupling, and (15, 50) for temperatures near Tg [18].

2.2. Log-Conformation Tensor-Based Formulation

In this section, we write the viscoelastic stress tensor-based formulation in terms of the log-conformation tensor variable, which was proposed by Fattal and Kupferman [35] to address the HWNP. For that purpose, the polymeric stress tensor, (τE)ij, is related to the conformation tensor, σij, by the following equation

(τE)ij=ηE(T)λ(T)(σijIij). (10)

Subsequently, the conformation tensor σij is replaced by its matrix logarithmic Ψij=log(σij), and Equations (2), (4) and (5) are substituted by

ρuit+ujuixj+pxi2ηN(T)DijxjηE(T)λ(T)eΨijIijxj=0, (11)
1λ(T)Iij+h(eΨij)(eΨijIij)+eΨijt+ukeΨijxkeΨikujxkeΨjkuixk=0, (12)
ρCpTt+uiTxik2Txi2=(τN)ijDji+ηE(T)λ(T)α(eΨijIij)Dji+(1α)(eΨI)ii2λ¯(T), (13)

with λ¯(T)=λ(T)1+ϵ(eΨI)ii1 for the PTT model, λ¯(T)=λ(T)1+κ(eΨI)ij1 for the Giesekus model and λ¯(T)=λ(T) for the Oldroyd-B model. Here, eΨij is the matrix exponential function, defined as eΨij=m=1deξmPm, with d as the dimension of the physical space (d=2 for the calculations performed in this work), ξm the eigenvalues of Ψij and Pm is the projection matrix onto the corresponding eigenspace. Therefore, if e^m is the eigenvector corresponding to ξm, then Pm=e^me^m [38]. In addition, note that λ(T0) and ηP(T0) are known values for the reference temperature T0, and, therefore, the quotient ηE(T)λ(T) in Equations (11) and (13) is a constant, considering that λ and ηE scale in the same way [45].

3. Numerical Method

In this section, we will describe a finite volume numerical method to set up a block-coupled solver procedure to simultaneously solve the continuity (Equation (1)), linear momentum (Equation (11)), log-conformation tensor (Equation (12)) and energy (Equation (13)) equations.

Within the framework of the block-coupled solver developed in this work, the advection, pressure gradient, diffusion and log-conformation tensor terms in the conservation of linear momentum equations are implicitly discretized (see Section 3.1). Subsequently, the velocity field term in the conservation of mass equation is also treated in an implicit manner (see Section 3.2). In addition, and as an extension to our previous work [28], where we have discretized implicitly the advection term in the stress constitutive equation, here the rotation and the rate of deformation terms are implicitly discretized (see Section 3.3). Lastly, the advection and diffusion terms in the energy equation are also implicitly discretized (see Section 3.4). The rate of change term in all the equations is implicitly discretized using the backward implicit Euler scheme.

3.1. Discretization of the Equations for Conservation of Linear Momentum

In the framework of the FVM, the discretization process starts by integrating the conservation of linear momentum equations (Equation (11)) over a general control volume (also called representative volume or cell) VP, where the subscript P refers to values of the variables at cell with centroid P, as shown in Figure 1, to yield

ρVPuitdVP+VPujuixjdVP+VPpxidVPVP(ηN(T)+η)2uixj2dVPVPηE(T)λ(T)eΨIijxjdVP=VPxjηuixjdVP, (14)

where the additional terms involving η are related to the improved both-side diffusion technique [46], which can solve the checkerboard pattern due to numerical instabilities caused by a velocity–stress decoupling. Note that we also used the identity xjujxi=0.

Figure 1.

Figure 1

Schematic representation of the control volume VP with centroid P (owner), with distance vector to the origin rP, and neighboring control volumes with centroids F,G,H and I. The face shared by the control volumes with centroids P and F is represented by f, with area Sf and face unit normal vector nf. The distance vector between P and F is represented by dPF.

The following step of the discretization process is to apply the Gauss divergence theorem to transform the volume integrals of the advection, pressure and diffusion terms in Equation (14) into surface integrals as follows:

ρVPuitdVP+Snj(ujui)dS+SnipdSSnj(ηN(T)+η)uixjdSVPηE(T)λ(T)eΨIijxjdVP=SnjηuixjdS, (15)

where S is the boundary of control volume VP and ni are the components of the outward pointing unit vector normal to S.

Subsequently, a second-order integration scheme is employed to approximate the surface integrals and the following linear momentum semi-discretized equations are obtained:

VPρP(ui)P(ui)P0Δt+f=nb(P)(sjρujui)f+f=nb(P)(sip)ff=nb(P)sj(ηN(T)+η)uixjfVPηE(T)λ(T)eΨIijxjdVP=f=nb(P)sjηuixjf, (16)

where Δt is the time-step, the superscript 0 represents the previous time step value, nb refers to values at the faces f, obtained by interpolation between P and its neighbors, and si are the components of the area normal vector to face f.

Finally, the linear momentum semi-discretized equations are transformed into an algebraic linear system of equations by expressing the variation in the dependent variable and its derivatives in terms of the control volume P and its neighbors’ values at the respective centroids, such as

aPuuuP+aPuvvP+aPuppP+aPuΨxx(Ψxx)P+aPuΨxy(Ψxy)P++F=NB(P)aFuuuF+F=NB(P)aFuvvF+F=NB(P)aFuppF++F=NB(P)aFuΨxx(Ψxx)F+F=NB(P)aFuΨxy(Ψxy)F=bPu,aPvuuP+aPvvvP+aPvppP+aPvΨxy(Ψxy)P+aPvΨyy(Ψyy)P++F=NB(P)aFvuuF+F=NB(P)aFvvvF+F=NB(P)aFvppF+F=NB(P)aFvΨxy(Ψxy)F+F=NB(P)aFvΨyy(Ψyy)F=bPv, (17)

where aPuiϕ and aFuiϕ are the owner and neighbor coefficients in the discretized linear momentum equation representing the velocity component ui and the variable ϕ interactions, respectively; bPui is the source term, where NB(P) refers to the neighbors of the control-volume with centroid P.

For the sake of conciseness, the contributions of the rate of change, advection, pressure gradient, implicit diffusion and explicit diffusion terms shown in Equation (16) can be found in Fernandes et al. [28]. Regarding the contribution of the log-conformation tensor term, eΨIijxj, to the linear momentum equations, we will employ an implicit discretization by considering the following Taylor approximation for the functional (eΨI)ij [28,39]

(eΨI)ij(eΨI)ij0+(eΨI)ijΨkl|Ψkl0ΨklΨkl0=(eΨI)ij0+i,jdeλm/2eλn/2sinh((λmλn)/2)(λmλn)/2k,lpikmpljnΨklΨkl0, (18)

where the derivative of the functional (eΨI)ij in order to the log-conformation tensor variable is substituted by the expression found in Knechtges [38] for the finite element method, and pikm and pljn are the coefficients of the projector matrix belonging to the m-th and n-th eigenvalues (λm,λn) of Ψij0. Therefore, the divergence of the functional (eΨI)ij can be written as:

VPηE(T)λ(T)eΨIijxjdVPηE(T)λ(T)VPeΨIijxj0dVP+ηE(T)λ(T)VPeΨIijΨkl0Ψkl/xjdVPηE(T)λ(T)VPeΨIijΨkl0Ψkl0/xjdVP, (19)

Subsequently, applying the Gauss divergence theorem we can transform the volume integrals with derivatives into surface integrals

VPeΨIijΨkl0Ψkl/xjdVP=SnjeΨIijΨkl0ΨkldS, (20a)
VPeΨIijΨkl0Ψkl0/xjdVP=SnjeΨIijΨkl0Ψkl0dS, (20b)

and obtain the discretized form for the divergence of the functional (eΨI)ij (i.e., the log-conformation tensor term) in the linear momentum equations as follows:

VPηE(T)λ(T)eΨIijxjdVPηE(T)λ(T)eΨIijxj0VP+ηE(T)λ(T)f=nb(P)sjeΨIijΨkl0ΨklfηE(T)λ(T)f=nb(P)sjeΨIijΨkl0Ψkl0f. (21)

Lastly, the contributions of the divergence of the log-conformation (DLC) tensor term for the linear momentum equations are given by

aF,DLCujψkl=ηE(T)λ(T)sjeΨIijΨkl0f(1wf), (22a)
aP,DLCujψkl=ηE(T)λ(T)f=nb(P)sjeΨIijΨkl0fwf, (22b)
bP,DLCuj=ηE(T)λ(T)eΨIijxj0VPf=nb(P)sjeΨIijΨkl0Ψkl0f, (22c)

where wf are the interpolation weights.

It should be noted that the total contribution for the owner and neighbor coefficients related to the linear momentum equations’ interactions is given by the sum of the rate of change, advection, pressure gradient, implicit diffusion and divergence of log-conformation tensor terms. In addition, the total contribution for the explicit coefficient related to the linear momentum equations is given by the sum of the rate of change, explicit diffusion and divergence of log-conformation tensor terms.

3.2. Discretization of the Equation for Conservation of Mass

Following the same steps as presented in Section 3.1, we begin the discretization of the continuity equation, Equation (1), with the integration over the control volume VP as follows:

VPuixidVP=0. (23)

Subsequently, by employing the divergence theorem, the volume integral is transformed into a surface integral as follows:

SniuidS=0. (24)

Then, by applying a second-order integration scheme to approximate the surface integral, we can write the semi-discretized form of the continuity equation as:

f=nb(P)(siui)f=0. (25)

In a collocated framework, the velocity at the face is obtained by reconstructing a pseudo-momentum equation at the face from the linear momentum equations of the straddling cells P and F, known as the Rhie–Chow interpolation [47]. For the sake of conciseness, the derivation of the discretized form for the equation of conservation of mass will not be given in detail, but it can be found in our previous work [28], which reads as

f=nb(P)sipxiD¯if+f=nb(P)siu¯if=f=nb(P)sipxi¯D¯if. (26)

Finally, we can write the mass conservation algebraic equation as:

aPpppP+aPpuuP+aPpvvP+F=NB(P)aFpppF+F=NB(P)aFpuuF+F=NB(P)aFpvvF=bPp, (27)

where aPpϕ and aFpϕ are the owner and neighbor coefficients in the discretized mass conservation equation representing the pressure field and the variable ϕ interactions, respectively; bPp is the source term.

The implicit pressure gradient term is discretized (see page 86 of [48]) as follows:

sipxiD¯if=si(siD¯i)f(dPF)i(si)f(pFpP), (28)

where the coefficients of the implicit pressure gradient term for the mass conservation equation are given by

aFpp=si(siD¯i)f(dPF)i(si)f, (29a)
aPpp=F=NB(P)aFpp. (29b)

The implicit coefficients for the second term in Equation (26) (corresponding to the velocity contribution) are given by

aFpu=sfx(1wf),aFpv=sfy(1wf), (30a)
aPpu=f=nb(P)sfxwf,aPpv=f=nb(P)sfywf. (30b)

Lastly, the coefficients of the explicit pressure gradient term contribution for the mass conservation equation are given by

bPp=f=nb(P)sipxi¯D¯if. (31)

3.3. Discretization of the Log-Conformation Tensor Constitutive Equations

The constitutive equations, Equation (4), can be written, without loss of generality, for a Giesekus fluid model by (see Theorem A.42 in [38])

Ψijt+ukΨijxk+[Ψij,Ωij]2f(ad(Ψij))Dij=1λ(T)Iij+κeΨijIijeΨijIijeΨij, (32)

where Ωij=uixjujxi/2 is the vorticity tensor and [Ψij,Ωij]=ΨijΩijΩijΨij is the commutator term. Following Knechtges [38], f(ad(Ψij)) is defined by the application of the function f(x)=x/2tanh(x/2) to the adjoint operator ad(Ψij), such as

f(ad(Ψij))y=m,n=1df(λmλn)PmyPn, (33)

where y is a symmetric matrix satisfying ad(Ψij)y=[Ψij,y], and y is continuously differentiable (C1). Notice that, Equation (32) simplifies to the constitutive equation for an Oldroyd-B fluid model when κ=0.

The discretization of the log-conformation tensor constitutive equations, Equation (32), starts with the integration over the control volume VP to yield

VPΨijtdVP+VPukΨijxkdVP+VP[Ψij,Ωij]dVPVP2f(ad(Ψij))DijdVP=VP1λ(T)Iij+κeΨijIijeΨijIijeΨijdVP. (34)

This leads to the algebraic equation with the following form:

aPΨxxΨxx(Ψxx)P+aPΨxx uuP+aPΨxx vvP+F=NB(P)aFΨxx Ψxx(Ψxx)F++F=NB(P)aFΨxx uuF+F=NB(P)aFΨxx vvF=bPΨxx,aPΨxy Ψxy(Ψxy)P+aPΨxy uuP+aPΨxy vvP+F=NB(P)aFΨxy Ψxy(Ψxy)F++F=NB(P)aFΨxy uuF+F=NB(P)aFΨxy vvF=bPΨxy,aPΨyy Ψyy(Ψyy)P+aPΨyy uuP+aPΨyy vvP+F=NB(P)aFΨyy Ψyy(Ψyy)F++F=NB(P)aFΨyy uuF+F=NB(P)aFΨyy vvF=bPΨyy, (35)

where aPΨijϕ and aFΨijϕ are the owner and neighbor coefficients in the discretized log-conformation tensor constitutive equations representing the tensor component Ψij and the variable ϕ interactions, respectively, and bPΨij is the source term.

Again, for the sake of conciseness, the discretization of the rate of change Ψijt and advective uk(Ψij)xk terms in Equation (32) are not detailed here because similar discretizations were performed for the polymeric stress-tensor (τE)ij (see previous work [28]).

Regarding the commutator term [Ψij,Ωij], we can write the following expanded form:

[Ψij,Ωij]=12ΨikukxjΨikujxkuixkΨkj+ukxiΨkj, (36)

and, subsequently, we can use Taylor approximations such as

12Ψikujxk+uixkΨkj+12Ψik0ujxk0+uixk0Ψkj012Ψikujxk0+uixk0Ψkj12Ψik0ujxk+uixkΨkj0, (37)

and

+12Ψikukxj+ukxiΨkj12Ψik0ukxj0+ukxi0Ψkj0+12Ψikukxj0+ukxi0Ψkj+12Ψik0ukxj+ukxiΨkj0. (38)

Starting with the terms in Equation (37), the negative commutator terms, the first contribution is explicit, being given by

(bPΨij)neg=12VPΨik0ujxk0+uixk0Ψkj0. (39)

The second contribution is implicit in Ψij and explicit in uixj, being given by

(aPΨijΨik)neg,1=12VPujxk0, (40a)
(aPΨijΨkj)neg,2=12VPuixk0. (40b)

The third contribution is implicit in uixj and explicit in Ψij; therefore, we need an implicit discretization of the gradient operator for velocity, which requires the integration by parts of this term, such as:

VPΨik0ujxk+uixkΨkj0dVP=SnkΨik0uj+uiΨkj0dSVPΨikxk0uj+uiΨkjxk0dVP. (41)

Applying the Gauss divergence theorem, the discretized form of the terms on the right-hand side of Equation (41) is

f=nb(P)skΨik0uj+uiΨkj0fVPΨikxk0uj+uiΨkjxk0. (42)

Using linear weighted interpolation, we can write the contributions of the third term as:

(aFΨijuj)neg,1=12(skΨik0)f(1wf), (43a)
(aPΨijuj)neg,1=12f=nb(P)(skΨik0)fwfVPΨikxk0, (43b)
(aFΨijui)neg,2=12(Ψkb0sk)f(1wf), (43c)
(aPΨijui)neg,2=12f=nb(P)(skΨkj0)fwfVPΨkjxk0. (43d)

Following the same reasoning as given above, the terms in Equation (38), the positive commutator terms, generate the following coefficients:

(bPΨij)pos=12VPΨik0ukxj0+ukxi0Ψkj0, (44)
(aPΨijΨik)pos,1=12VPukxj0, (45a)
(aPΨijΨkj)pos,2=12VPukxi0, (45b)
(aFΨijuk)pos,1=12(sjΨik0)f(1wf), (46a)
(aPΨijuk)pos,1=12f=nb(P)(sjΨik0)fwfVPΨikxj0, (46b)
(aFΨijuk)pos,2=12(siΨkj0)f(1wf), (46c)
(aPΨijuk)pos,2=12f=nb(P)(siΨkj0)fwfVPΨkjxi0. (46d)

Lastly, we implicitly discretize the adjoint operator f(ad(Ψ))ijklDkl by considering the following Taylor approximation [39]

f(ad(Ψ))ijklDklf(ad(Ψ0))ijklDkl0+klf(ad(Ψ0))iqrjDqr0Ψkl(ΨklΨkl0)+klf(ad(Ψ0))iqrjDqr0Dkl(DklDkl0), (47)

where f(ad(Ψ0))iqrj Dqr0Dkl is the derivative of the adjoint operator with respect to Dkl, given by [38]

f(ad(Ψ0))iqrjDqrDkl=f(ad(Ψ0))ijkl=m,n=1df(λmλn)pikmpljn, (48)

and f(ad(Ψ0))iqrj Dqr0Ψkl is the derivative of the adjoint operator with respect to Ψkl, given by [49]

f(ad(Ψ0))iqrjDqr0Ψkl=m,n,o=1df(λmλo)f(λnλo)λmλnpikmplqnDqrprjo+piqoDqrprknpljm. (49)

Note that, if λm is equal to λn, then the denominator of Equation (49) needs to be replaced by f(λmλn) [38].

Subsequently, we integrate the adjoint term over a control volume VP as follows:

VP2f(ad(Ψ))ijklDkldVPVP2f(ad(Ψ0))ijklDkl0dVP+VP2f(ad(Ψ))iqrjDqrΨkl0ΨkldVPVP2f(ad(Ψ))iqrjDqrΨkl0Ψkl0dVP+VP2f(ad(Ψ))iqrjDqrDkl0DkldVPVP2f(ad(Ψ))iqrjDqrDkl0Dkl0dVP, (50)

and substituting Dkl=12ukxl+ulxk in Equation (50), we obtain

VP2f(ad(Ψ))ijklDkldVPVP2f(ad(Ψ0))ijklDkl0dVP+VP2f(ad(Ψ))iqrjDqrΨkl0ΨkldVPVP2f(ad(Ψ))iqrjDqrΨkl0Ψkl0dVP+VPf(ad(Ψ))iqrjDqrDkl0ukxl+ulxkdVPVP2f(ad(Ψ))iqrjDqrDkl0Dkl0dVP. (51)

As the fourth term on the right hand side of Equation (51) contains implicit velocity gradients, we employ integration by parts to linearize them, obtaining

VP2f(ad(Ψ))ijklDkldVPVP2f(ad(Ψ0))ijklDkl0dVP+VP2f(ad(Ψ))iqrjDqrΨkl0ΨkldVPVP2f(ad(Ψ))iqrjDqrΨkl0Ψkl0dVP+Sf(ad(Ψ))iqrjDqrDkl0uknl+ulnkdSVPf(ad(Ψ)) iqrj DqrDkl0xluk+f(ad(Ψ)) iqrj DqrDkl0xkuldVPVP2f(ad(Ψ))iqrjDqrDkl0Dkl0dVP. (52)

Thus, the discretized form of Equation (52) can then be written as:

VP2f(ad(Ψ))ijklDkldVP2f(ad(Ψ0))ijklDkl0VP+2f(ad(Ψ))iqrjDqrΨkl0ΨklVP2f(ad(Ψ))iqrjDqrΨkl0Ψkl0VP+f=nb(P)f(ad(Ψ))iqrjDqrDkl0uksl+ulskff(ad(Ψ)) iqrj DqrDkl0xluk+f(ad(Ψ)) iqrj DqrDkl0xkulVP2f(ad(Ψ))iqrjDqrDkl0Dkl0VP. (53)

The contributions of the adjoint term for the log-conformation tensor constitutive equations, using linear weighted interpolation, read as

(aPΨijΨkl)adj=2f(ad(Ψ))iqrjDqrΨkl0VP, (54a)
(aFΨijuk)adj=f(ad(Ψ))iqrjDqrDkl0slf(1wf), (54b)
(aPΨijuk)adj=f=nb(P)f(ad(Ψ))iqrjDqrDkl0slfwff(ad(Ψ)) iqrj DqrDkl0xlVP, (54c)
(aFΨijul)adj=f(ad(Ψ))iqrjDqrDkl0skf(1wf), (54d)
(aPΨijul)adj=f=nb(P)f(ad(Ψ))iqrjDqrDkl0skfwff(ad(Ψ)) iqrj DqrDkl0xkVP, (54e)
(bPΨij)adj=2f(ad(Ψ0))ijklDkl0VP2f(ad(Ψ))iqrjDqrΨkl0Ψkl0VP2f(ad(Ψ))iqrjDqrDkl0Dkl0VP. (54f)

Again, it should be noted that the total contribution of the owner and neighbor coefficients related to the log-conformation tensor components’ interactions is given by the sum of the log-conformation tensor, rate of change, advection, commutator and adjoint terms. In addition, the total contribution for the explicit coefficient related to the log-conformation tensor constitutive equations is given by the sum of the rate of change, commutator and adjoint terms.

3.4. Discretization of the Equation for Conservation of Energy

The discretization starts by integrating the equation for the conservation of energy (Equation (13)) over a general control volume VP, to yield

ρCpVPTtdVP+VPuiTxidVPVPk2Txi2dVP=VP(τN)ijDji+ηE(T)λ(T)α(eΨI)ijDji+(1α)(eΨI)ii2λ¯(T)dVP. (55)

Using the Gauss divergence theorem, the volume integrals of the advection and diffusion terms in Equation (55) are transformed into surface integrals as:

ρCpVPTtdVP+SniuiTdSSnikTxidS=VP(τN)ijDji+ηE(T)λ(T)α(eΨI)ijDji+(1α)(eΨI)ii2λ¯(T)dVP. (56)

The semi-discretized equation for the conservation of energy is obtained by evaluating the surface integrals using a second-order integration scheme and approximating the rate of change term with a backward implicit Euler scheme, such as

VPρP(Cp)PTPTP0Δt+f=nb(P)(siρCpuiT)ff=nb(P)sikTxif=VP(τN)ijDji+ηE(T)λ(T)α(eΨI)ijDji+(1α)(eΨI)ii2λ¯(T). (57)

This leads to the algebraic equation for the energy balance with the following form:

aPTTTP+aPTuuP+aPTvvP+F=NB(P)aFTTTF+F=NB(P)aFTuuF+F=NB(P)aFTvvF=bPT, (58)

where aPTϕ and aFTϕ are the owner and neighbor coefficients in the discretized conservation of energy equation, representing the temperature T and the variable ϕ interactions, respectively, and bPT is the source term.

The rate of change (rchg) term in Equation (57) (first term), contributes to both the diagonal of the system of equations and to the explicit term as:

aP,rchgTT=VPρP(Cp)PΔt, (59a)
bP,rchgT=VPρP(Cp)PTP0Δt. (59b)

Then, and in the framework of the FVM, the advection term in Equation (57) (second term) is linearized by computing the mass flow rate at control-volume face f(m˙f=(siρui)f) using the previous iteration values. Here, we used the UDS differentiating scheme to approximate the advection term. However, many high-order schemes could be used, such as the MINMOD or CUBISTA schemes. For the sake of readability, the discretization procedure will be presented for the UDS scheme, but it is important to stress that the methodology is independent of the adopted discretization scheme. In this way, the coefficients of the advection (adv) term contribution for the conservation of energy equation are given by:

aF,advTu=aF,advTv=(Cp)fmax(m˙f,0), (60a)
aP,advTu=F=NB(P)aF,advTu,aP,advTv=F=NB(P)aF,advTv, (60b)

where the superscript Tϕ means the influence of the ϕ variable in the T energy equation. The term max(m˙f,0) represents the maximum of m˙f and 0, where the mass flux is positive if it goes from owner to neighbor cells, i.e., leaves the control-volume VP.

The implicit diffusion (idiff) contribution, third term of Equation (57), is discretized, taking a linear profile (see page 86 of [48]) as

sikTxif=kf(sisi)f(dPF)i(si)f(TFTP), (61)

where (dPF)i is the vector joining the centroids P and F (see Figure 1). The coefficients of the implicit diffusion term for the conservation of energy equation are given by

aF,idiffTT=kf(sisi)f(dPF)i(si)f, (62a)
aP,idiffTT=F=NB(P)aF,idiffTT. (62b)

Finally, the coefficients of the explicit term contribution (right-hand side of Equation (57)) for the conservation of energy equation are given by

bP,sourceT=VP(τN)ijDji+ηE(T)λ(T)α(eΨI)ijDji+(1α)(eΨI)ii2λ¯(T). (63)

3.5. Block-Coupled Algorithm

Combining the discretized conservation of linear momentum (Equation (17)), conservation of mass (Equation (27)), log-conformation tensor (Equation (35)) and conservation of energy equations (Equation (58)), the following linear system of equations, written in matrix form, is obtained for each control volume:

aPuuaPuvaPupaPuΨxxaPuΨxyaPuΨyyaPuTaPvuaPvvaPvpaPvΨxxaPvΨxyaPvΨyyaPvTaPpuaPpvaPppaPpΨxxaPpΨxyaPpΨyyaPpTaPΨxxuaPΨxx vaPΨxx paPΨxx ΨxxaPΨxx ΨxyaPΨxx ΨyyaPΨxx TaPΨxy uaPΨxy vaPΨxy paPΨxy ΨxxaPΨxy ΨxyaPΨxy ΨyyaPΨxy TaPΨyy uaPΨyy vaPΨyy paPΨyy ΨxxaPΨyy ΨxyaPΨyy ΨyyaPΨyy TaPTuaPTvaPTpaPTΨxxaPTΨxyaPTΨyyaPTTuPvPpP(Ψxx)P(Ψxy)P(Ψyy)PTP++F=nb(P)aFuuaFuvaFupaFuΨxxaFuΨxyaFuΨyyaFuTaFvuaFvvaFvpaFvΨxxaFvΨxyaFvΨyyaFvTaFpuaFpvaFppaFpΨxxaFpΨxyaFpΨyyaFpTaFΨxx uaFΨxx vaFΨxx paFΨxx ΨxxaFΨxx ΨxyaFΨxx ΨyyaFΨxx TaFΨxy uaFΨxy vaFΨxy paFΨxy ΨxxaFΨxy ΨxyaFΨxy ΨyyaFΨxy TaFΨyy uaFΨyy vaFΨyy paFΨyy ΨxxaFΨyy ΨxyaFΨyy ΨyyaFΨyy TaFTuaFTvaFTpaFTΨxxaFTΨxyaFTΨyyaFTTuFvFpF(Ψxx)F(Ψxy)F(Ψyy)FTF=bPubPvbPpbPΨxxbPΨxybPΨyybPT (64)

The linear systems (Equation (64)) obtained for each control volume of the computational domain are merged in a full system of equations, which can be written in the form AΦ=b where all variables Φ=(ui,p,Ψij,T) are solved simultaneously. In this procedure, all variables in the different equations are treated implicitly, which is expected to be advantageous to the stability of the overall calculation process. The fully implicit coupled algorithm can be summarized into the following steps:

  1. Initialize the fluid variables with the latest known values (uin,pn,Ψijn,Tn).

  2. Assemble the discretized equations for the conservation of linear momentum, conservation of mass, log-conformation tensor and conservation of energy (see Equations (17), (27), (35), (58)) and solve for ui, p, Ψij and T (Equation (64)).

  3. Iterate until convergence.

For the solution of the global system of discretized algebraic equations, it is fundamental that an efficient linear solver is used to obtain the best overall convergence. In this work, the iterative solver Bi-Conjugate Gradient Stabilized (BiCGStab) [50], combined with an LU preconditioner, was used to retrieve the solution of the global system of discretized algebraic equations (see detailed discussion in Pimenta and Alves [30]). The initial residual for each iteration is evaluated based on the current values of the field, before solving the block-coupled system. After each block solver linear iteration, the residual is re-evaluated (final residual). When the maximum number of linear iterations (in this work defined as 100) or the final residual falls below the solver absolute tolerance (set as 106), the block-coupled system current iteration stops and advances in time. All computations are performed on a computer with a 2.00-GHz 64 cores AMD EPYC 7662 CPU processor and 128 GB of RAM.

4. Results and Discussion

The validation of the newly-developed, fully implicit, block-coupled, non-isothermal, viscoelastic, log-conformation tensor-based algorithm was performed for the laminar, incompressible, non-isothermal viscoelastic flow of an Oldroyd-B fluid in an axisymmetric 4:1 sudden contraction geometry. For assessment purposes, the results computed with the newly-developed code were compared with the available data from the scientific literature [18].

4.1. Geometry, Meshes, and Initial and Boundary Conditions

An axisymmetric 4:1 sudden contraction with ratio of the radii R1/R2=4 was chosen as test geometry (Figure 2a), because of the availability of numerical data in the literature [18]. The upstream length was l1=80R2 and the downstream length was l2=50R2. The downstream channel height was chosen as R2=0.0020604 m.

Figure 2.

Figure 2

(a) Schematic of the 4:1 planar sudden contraction cross-section used to simulate the non-isothermal flow of a viscoelastic matrix fluid described by the Oldroyd-B constitutive model. The upstream length was l1 and the downstream length was l2. The upstream channel height was R1 and the downstream channel height was R2. The temperature at the upstream wall is Tw,1, while, for the downstream wall, the temperature was Tw,2. (b) The geometrical domain was divided into five blocks for mesh discretization. (c) A detailed view of the contraction area with the minimum normalized cell size at the corner (Δz)min=(Δr)min=0.01R2.

The flow had a rotational symmetry that was normal to the rzplane and, to save computational resources and reduce the CPU times, only half of the domain was considered. The characteristics of the meshes used to discretize the geometrical domain are presented in Table 1. The meshes employed in the current work (M1 and M2) resulted from a mesh convergence analysis performed by Habla et al. [18], and had a similar refinement level to the two most refined meshes (M3 and M4) therein. The expansion or contraction geometrical factors were defined for each direction as the ratio of two consecutive cells lengths (fz=Δzi+1/Δzi, with Δzi being the length of the cell i in the z-direction). In this way, since fz>1 in Block V (see Table 1), in the z direction, the cells expanded from left to right. Figure 2c shows the details of the level of mesh refinement at the contraction region for M2. The higher refinement that occurs near the walls and in the contraction region allowed for the highest gradients of the computed flow variables in these locations to be captured.

Table 1.

Characteristics of the meshes employed to simulate the non-isothermal viscoelastic flow of a viscoelastic matrix fluid described by the Oldroyd-B constitutive model in the axisymmetric 4:1 planar sudden contraction geometry.

Block Mesh 1 (M1) Mesh 2 (M2)
Nz×Nr fz fr Nz×Nr fz fr
Block I 61×20 0.9061 0.9206 122×40 0.9519 0.9595
Block II 61×25 0.9061 1.0996 122×50 0.9519 1.0486
Block III 61×8 0.9061 0.8593 122×16 0.9519 0.9270
Block IV 40×20 1.1036 0.9206 80×40 1.0505 0.9595
Block V 13×20 1.1740 0.9206 26×40 1.0835 0.9595
NC 4293 17172
Δzmin=Δrmin 0.02R2 Δzmin=Δrmin 0.01R2

Nz and Nr are number of cells along z and r directions, respectively, inside each block. fz and fr are the expansion/contraction ratios inside each block. NC is the number of cells in the mesh. Δzmin and Δrmin are the minimum cell size in each direction.

The following boundary and initial conditions were used for all the runs that were performed:

  • For velocity, no-slip at the walls, symmetry at the centerline, parabolic velocity profile at the inlet (with average velocity U¯z,1=0.00129 m/s), and a zero-gradient condition at the outlet, i.e., assuming a fully developed flow;

  • For pressure, the inlet and wall boundary conditions were set as zero-gradient and the centerline as symmetry boundary condition. At the outlet Dirichlet boundary condition was used, with a fixed value p=0. Notice that, although the zero-pressure gradient specified at the inlet did not match the fully developed Poiseuille flow with the average velocity U¯z,1, this inconsistency did not affect the results, because the length of the upstream channel was sufficiently large to achieve fully developed flow conditions;

  • For the log-conformation tensor components, zero values were assumed at the inlet, a symmetry boundary condition was used at the centerline, a linear extrapolation of the tensor components to the boundary was used at the walls, and a zero-gradient condition was imposed at the outlet;

  • For the temperature, a Dirichlet condition was imposed at the inlet (Tinl=462 K), a symmetry boundary condition was used at the centerline, at the upstream wall, (z<l1), Tw,1=462 K, while, for the downstream wall, (zl1) the temperature Tw,2 was chosen such as to give temperature jumps of ΔT=Tw,2Tw,1=30K,0K,30K. A zero-gradient condition was imposed at the outlet;

  • All fields were set to zero at the initial time.

4.2. Numerical Parameters

The dimensionless numbers governing the flow are the Reynolds number Re, the Weissenberg number Wi, the Peclet number Pe and the retardation ratio β, defined as:

Re=ρR2U¯z,2η0 (65)
Wi=λU¯z,2R2 (66)
Pe=λR2U¯z,2cPk (67)

where U¯z,2 is the mean velocity in the axial direction in the downstream channel, and λ is the relaxation time. In this case study, Re=3.9×105, corresponding to creeping flow conditions. The retardation ratio was equal to β=ηS/η0=19/20, thus assuming the solvent contribution to be negligibly small, which approximately recovered an Upper-Convected-Maxwell model. The Peclet number was kept constant at Pe=345 by setting cP=1500 J/kg K and k=0.17 W/mK. The WLF parameters were C1=4.54 and C2=150.36. The split coefficient varied between pure energy elasticity and entropy elasticity, α=0 or 1, respectively.

The use of a normalized time-step Δt/(R2/U¯z,2) of 104 allowed for converged solutions to be obtained for all the runs performed. The maximum local Courant number corresponding to the normalized time-step 104 obtained for the axisymmetric 4:1 sudden contraction is 0.07.

4.3. Effects of the Energy Partitioning Parameter α

In Figure 3, the temperature profile on the line r=0.97R2 (Figure 3a) and the temperature contour plots (Figure 3b) are shown as a function of the axial position z/R1 for α=0 and α=1 at Wi=5 and ΔT=0 K. As illustrated in Figure 3a, the temperature profile computed by the newly-developed, fully implicit, block-coupled, non-isothermal, viscoelastic, log-conformation tensor-based algorithm is in agreement with the results presented by Habla et al. [18]. Due to the increase in the deformation rate near the contraction, the dissipation also increases, which leads to a temperature rise shortly before the contraction. At the contraction, the fluid moves to the wall with the imposed fixed wall temperature Tw,2=462 K and, therefore, due to heat conduction towards the wall, a fast decrease in temperature is observed. Note that this decrease is remarkably higher for entropy elasticity (α=1) due to its higher temperature, which promotes a larger heat conduction rate. Subsequently, just after the re-entrant corner, due to the larger normal stresses developed here (see Figure 4), which lead to an increase of dissipation, the temperature rises again at the steepest rate. Further along the downstream channel, the temperatures also increase, but now at a smaller rate and, ultimately, the difference in the temperatures between energy elasticity and entropy elasticity cases is small, because the energy is now more released as pure energy elasticity (α=0) [18]. The temperature contour plots shown in Figure 3b are similar for both the energy and entropy elasticities, as expected from the marginal differences shown in Figure 3a for the temperature profile at r=0.97R2. In both cases, we see the formation of a larger temperature-rising region for z/R1>1, which is also extended through the downstream channel radial direction.

Figure 3.

Figure 3

(a) Temperature profiles on the line r=0.97R2 [18] and (b) temperature contours as a function of the axial position z/R1 for α=0 and α=1 at Wi=5 and ΔT=0 K using M2.

Figure 4.

Figure 4

(a) Axial normal stress profiles τP,zz/(η0U¯z,2/R2) on the line r=0.97R2 [18] and (b) axial normal stress contours as a function of the axial position z/R1 for α=0 and α=1 at Wi=5 and ΔT=0 K using M2.

In Figure 4, the axial normal stress profile on the line r=0.97R2 (Figure 4a) and the axial normal stress contour plots (Figure 4b) as a function of the axial position z/R1 for α=0 and α=1 at Wi=5 and ΔT=0 K, are shown. As illustrated in Figure 4a, the axial normal stress profile computed by the newly-developed, fully implicit, block-coupled, non-isothermal, viscoelastic, log-conformation tensor-based algorithm and the isothermal version is in agreement with the results presented by Habla et al. [18]. In the non-isothermal cases, the axial normal stress is smaller than the one obtained for the isothermal calculation. This behaviour can be attributed to the fact that increasing the temperature leads to a reduction in the viscosity value (see Equation (9)), which decreases the stress values, and also leads to a reduction in the relaxation time, resulting in a smaller local Weissenberg number and, therefore, fewer elastic effects (i.e., decrease in stresses). In addition, just after the re-entrant corner, we see an abrupt increase of the normal stresses due to the increase in the fluid deformation in this region, followed by a fast relaxation, before it starts to increase further down the downstream channel, but now at a smaller rate. The axial normal stress contour plots shown in Figure 4b are again similar for both the energy and entropy elasticities. In both cases, we see the formation of a thinner layer of normal stresses rising region at 0<z/R1<0.2, which then increases in width, but with smaller normal stress values, at 0.2<z/R1<1.

Additionally, Figure 5 shows the contours of the first normal stress difference and shear stress predicted on M2 at α=0, Wi=5 and ΔT=0 K, for a zoomed region around the re-entrant corner. The maximum first normal stress difference is located on the downstream channel wall near the re-entrant corner (see Figure 5a). Moreover, at the contraction vertical wall, the first normal stress difference is negative, which is responsible for fluid re-circulation and the formation of the corner vortex. The maximum magnitude of the shear stress component is also located on the downstream channel wall near the re-entrant corner (see Figure 5b); however, in that case, the shear stress value is negative, pushing the fluid towards the symmetry line at r/R1=0. Finally, at the contraction vertical wall, the shear stress is positive, allowing for the extension of the corner vortex size.

Figure 5.

Figure 5

Contours of (a) first normal stress difference (τP,zzτP,rr)/(η0U¯z,2/R2) and (b) shear stress τP,rz/(η0U¯z,2/R2) for α=0, Wi=5 and ΔT=0 K using M2.

In Figure 6, the axial velocity profile on the line r=0.97R2 (Figure 6a) and the axial velocity contour plots (Figure 6b) as a function of the axial position z/R1 for α=0 and α=1 at Wi=5 and ΔT=0 K are shown. As illustrated in Figure 6a, the axial velocity profiles computed by the newly-developed, fully implicit, block-coupled, non-isothermal, viscoelastic, log-conformation tensor-based algorithm and with the isothermal version are in agreement with the results presented by Habla et al. [18]. In addition, we can see that the influence of temperature on the local velocity profile for both cases of entropy elasticity and energy elasticity is negligible, being similar to the axial velocity of the isothermal case. The axial velocity contour plots shown in Figure 6b are, again, similar for both the energy and entropy elasticities, showing the accommodation of the fluid near the re-entrant corner, i.e., the fluid is accelerated in the center while decelerating in the wall-near regions, and a fully developed velocity profile at the downstream channel.

Figure 6.

Figure 6

(a) Axial velocity profiles Uz/U¯z,2 on the line r=0.97R2 [18] and (b) axial velocity contours as a function of the axial position z/R1 for α=0 and α=1 at Wi=5 and ΔT=0 K using M2.

In Table 2, we provide a summary of the number of iterations and execution time of the segregated/iterative and coupled/monolithic approaches for the calculation of the non-isothermal, viscoelastic matrix-based Oldroyd-B fluid flow in the two-dimensional, axisymmetric 4:1 planar sudden-contraction geometry, using the two different meshes, M1 and M2, with α=0 at Wi=5 and ΔT=0 K. The ratio of the number of iterations required by the segregated algorithm to that required by the coupled one increases from 432 to 524 for M1 and M2, respectively, with accompanying computational cost ratios of 17 and 19, respectively, which clearly shows the benefits obtained by using the fully implicit coupled approach.

Table 2.

Comparison of the number of iterations and CPU time required by the segregated (S) and coupled (C) solvers for the calculation of the non-isothermal viscoelastic matrix-based Oldroyd-B fluid flow in the two-dimensional axisymmetric 4:1 planar sudden-contraction geometry, using the two different meshes M1 and M2, with α=0 at Wi=5 and ΔT=0 K.

Mesh Number of Iterations Execution Time [s]
C S S/C C S S/C
M1 827 357,681 432 103 1760 17
M2 1484 778,344 524 689 13,102 19

M1: 4293 CV; M2: 17172 CV.

4.4. Effects of Wall Temperature Jumps

The temperature and axial velocity profiles at the outlet of the downstream section are shown in Figure 7 for Wi=5, α=0 and temperature jumps ΔT=30 K, ΔT=0 K and ΔT=+30 K. The results for the case of energy elasticity at the outlet of the downstream section, for all temperature jumps, did not present any differences [18]. As shown in Figure 7a, the wall (r/R1=0.25) temperature changes by more than 60 K and the centerline (r/R1=0) temperature varied less than 5 K from ΔT=30 K to ΔT=+30 K, in agreement with the results obtained by Habla et al. [18]. These temperature changes are responsible for the limited effect of external heating or cooling in the thermal control of the flow at the bulk region. In Figure 7b, the axial velocity profile at the centerline increases with the decrease in temperature jump, due to the smaller viscosity in the near-wall region.

Figure 7.

Figure 7

(a) Temperature T and (b) axial velocity Uz/U¯z,2 as a function of the radial distance r/R1 at the outlet, with Wi=5, α=0 and temperature jumps ΔT=30 K, ΔT=0 K and ΔT=+30 K using M2 [18].

The temperature and axial velocity contours are shown in Figure 8 for Wi=5, α=0 and temperature jumps ΔT=30 K and ΔT=+30 K. For the cooling case, i.e., ΔT=30 K (top figures in Figure 8), the reduction in temperature on the downstream channel walls promotes an increase in fluid centerline velocity of approximately 3.1 times more than the one obtained for the case ΔT=0 K (see Figure 6). For the heating case, i.e., ΔT=+30 K (bottom figures in Figure 8), the increase in temperature on the downstream channel walls promotes an increase in fluid centerline velocity of approximately 2.3 times more than the one obtained for the case ΔT=0 K (see Figure 6). Notice that the increase in centerline velocity for the heating case is approximately 75% smaller than the one obtained for the cooling case.

Figure 8.

Figure 8

(a) Temperature T and (b) axial velocity Uz/U¯z,2 contours at Wi=5, α=0 and temperature jumps ΔT=30 K and ΔT=+30 K using M2.

Additionally, Figure 9 shows the contours of the first normal stress difference and shear stress predicted on M2 at α=0, Wi=5, ΔT=30 K (top) and ΔT=+30 K (bottom), for a zoomed region around the re-entrant corner. The maximum first normal stress difference was found to decrease by 35% and increase by 30% for the cases ΔT=30 K and ΔT=+30 K, respectively, when compared to the case ΔT=0 K. The minimum value of the shear stress is found to both increase and decrease by 50% for the cases ΔT=30 K and ΔT=+30 K, respectively, when compared to the case ΔT=0 K.

Figure 9.

Figure 9

Contours of (a) first normal stress difference (τP,zzτP,rr)/(η0U¯z,2/R2) and (b) shear stress τP,rz/(η0U¯z,2/R2) for α=0, Wi=5, ΔT=30 K (top) and ΔT=+30 K (bottom) using M2.

5. Conclusions

This paper presented a fully implicit coupled method (also known as a monolithic approach) for the solution of laminar, incompressible, non-isothermal, viscoelastic flows based on the log-conformation tensor framework for high Weissenberg number problems. The fully implicit coupled solver is a pressure-based method in which the pressure equation is derived through the Rhie–Chow interpolation, allowing for coupling between the pressure and velocity fields. In addition, the explicit diffusion term added by the improved both-sides-diffusion (iBSD) technique to the linear momentum equations is discretized with a special second-order derivative of the velocity field, allowing for coupling between the velocity and log-conformation tensor fields. Subsequently, the divergence of the log-conformation tensor term in the linear momentum equations is implicitly discretized, and the velocity field is considered implicitly in the log-conformation tensor constitutive equations by expanding the advection, rotation and the rate of deformation terms, all by considering a Taylor series expansion truncated at the second-order error term. Finally, the advection and diffusion terms in the energy equation are also implicitly discretized.

The validation of the newly-developed algorithm was performed for the non-isothermal viscoelastic matrix-based Oldroyd-B fluid flow in the benchmark problem of a two-dimensional axisymmetric 4:1 planar sudden-contraction geometry, and the results obtained by the fully implicit coupled algorithm were shown to be in remarkable agreement with other results found in the scientific literature (less than 5% error differences), which validated the present implementation. The results were obtained at a high Weissenberg number, and allowed to study the influence of the energy splitting factor at the limit of pure energy elasticity and pure entropy elasticity, and the effect of the wall temperature jump near the contraction for positive and negative temperature increments.

In future works, the algorithm will be further assessed by looking at 3D case studies and employing non-linear viscoelastic fluid behaviors, such as the shear-thinning phenomenon predicted by the Giesekus fluid model.

Acknowledgments

The authors would like to acknowledge the Minho University cluster under the project NORTE-07-0162-FEDER-000086 (URL: http://search6.di.uminho.pt (accessed on 1 February 2022)) for providing HPC resources that have contributed to the research results reported within this paper. The author thank M. Spahn from RWTH Aachen University for insightful comments regarding this work, specifically during the implementation of the isothermal log-conformation discretization schemes.

Institutional Review Board Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript, or in the decision to publish the results.

Funding Statement

This work is funded by FEDER funds through the COMPETE 2020 Programme and National Funds through FCT (Portuguese Foundation for Science and Technology) under the projects UID-B/05256/2020 and UID-P/05256/2020.

Footnotes

Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

References

  • 1.Chang R.Y., Yang W.H. Numerical simulation of mold filling in injection molding using a three-dimensional finite volume approach. J. Numer. Methods Fluids. 2001;37:125–148. doi: 10.1002/fld.166. [DOI] [Google Scholar]
  • 2.Zhou J., Turng L.S. Three-dimensional numerical simulation of injection mold filling with a finite-volume method and parallel computing. Adv. Polym. Technol. 2007;25:247–258. doi: 10.1002/adv.20076. [DOI] [Google Scholar]
  • 3.Pedro J., Ramôa B., Nóbrega J., Fernandes C. Verification and Validation of openInjMoldSim, an Open-Source Solver to Model the Filling Stage of Thermoplastic Injection Molding. Fluids. 2020;5:84. doi: 10.3390/fluids5020084. [DOI] [Google Scholar]
  • 4.Habla F., Fernandes C., Maier M., Densky L., Ferrás L., Rajkumar A., Carneiro O., Hinrichsen O., Nóbrega J.M. Development and validation of a model for the temperature distribution in the extrusion calibration stage. Appl. Therm. Eng. 2016;100:538–552. doi: 10.1016/j.applthermaleng.2016.01.166. [DOI] [Google Scholar]
  • 5.Pimenta F., Alves M. Conjugate heat transfer in the unbounded flow of a viscoelastic fluid past a sphere. Int. J. Heat Fluid Flow. 2021;89:108784. doi: 10.1016/j.ijheatfluidflow.2021.108784. [DOI] [Google Scholar]
  • 6.Fernandes C., Pontes A.J., Viana J.C., Nóbrega J.M., Gaspar-Cunha A. Modeling of Plasticating Injection Molding-Experimental Assessment. Int. Polym. Proc. 2014;29:558–569. doi: 10.3139/217.2862. [DOI] [Google Scholar]
  • 7.Fernandes C., Fakhari A., Tukovic Ž. Non-Isothermal Free-Surface Viscous Flow of Polymer Melts in Pipe Extrusion Using an Open-Source Interface Tracking Finite Volume Method. Polymers. 2021;13:4454. doi: 10.3390/polym13244454. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 8.Meburger S., Niethammer M., Bothe D., Schäfer M. Numerical simulation of non-isothermal viscoelastic flows at high Weissenberg numbers using a finite volume method on general unstructured meshes. J.-Non-Newton. Fluid Mech. 2021;287:104451. doi: 10.1016/j.jnnfm.2020.104451. [DOI] [Google Scholar]
  • 9.Bird R. Constitutive equations for polymeric liquids. Annu. Rev. Fluid Mech. 1995;27:169–193. doi: 10.1146/annurev.fl.27.010195.001125. [DOI] [Google Scholar]
  • 10.Williams M., Landel R., Ferry J. The temperature dependence of relaxation mechanisms in amorphous polymers and other glass-forming liquids. J. Am. Chem. Soc. 1955;77:3701–3707. doi: 10.1021/ja01619a008. [DOI] [Google Scholar]
  • 11.Ferry J. Viscoelastic Properties of Polymers. 3rd ed. John Wiley & Sons; New York, NY, USA: 1980. [Google Scholar]
  • 12.Bird R., Armstrong R., Hassager O. Dynamics of Polymeric Liquids, Volume 1: Fluid Mechanics. 2nd ed. John Wiley & Sons; New York, NY, USA: 1987. [Google Scholar]
  • 13.Peters G., Baaijens F. Modelling of non-isothermal viscoelastic flows. J.-Non-Newton. Fluid Mech. 1997;68:205–224. doi: 10.1016/S0377-0257(96)01511-X. [DOI] [Google Scholar]
  • 14.Hütter M., Luap C., Öttinger H. Energy elastic effects and the concept of temperature in flowing polymeric liquids. Rheol. Acta. 2009;48:301–316. doi: 10.1007/s00397-008-0318-8. [DOI] [Google Scholar]
  • 15.Braun H. A model for the thermorheological behavior of viscoelastic fluids. Rheol. Acta. 1991;30:523–529. doi: 10.1007/BF00444370. [DOI] [Google Scholar]
  • 16.Wachs A., Clermont J.R. Non-isothermal viscoelastic flow computations in an axisymmetric contraction at high Weissenberg numbers by a finite volume method. J.-Non-Newton. Fluid Mech. 2000;95:147–184. doi: 10.1016/S0377-0257(00)00176-2. [DOI] [Google Scholar]
  • 17.Wachs A., Clermont J.R., Khalifeh A. Computations of non-isothermal viscous and viscoelastic flows in abrupt contractions using a finite volume method. Eng. Comput. 2002;19:874–901. doi: 10.1108/02644400210450332. [DOI] [Google Scholar]
  • 18.Habla F., Woitalka A., Neuner S., Hinrichsen O. Development of a methodology for numerical simulation of non-isothermal viscoelastic fluid flows with application to axisymmetric 4:1 contraction flows. Chem. Eng. J. 2012;207–208:772–784. doi: 10.1016/j.cej.2012.07.060. [DOI] [Google Scholar]
  • 19.Fernandes C., Faroughi S.A., Ribeiro R., Isabel A., McKinley G.H. Finite volume simulations of particle-laden viscoelastic fluid flows: Application to hydraulic fracture processes. Eng. Comput. 2022 doi: 10.1007/s00366-022-01626-5. [DOI] [Google Scholar]
  • 20.Zheng Z.Y., Li F.C., Yang J.C. Modeling Asymmetric Flow of Viscoelastic Fluid in Symmetric Planar Sudden Expansion Geometry Based on User-Defined Function in FLUENT CFD Package. Adv. Mech. Eng. 2013;Volume 2013:795937. doi: 10.1155/2013/795937. [DOI] [Google Scholar]
  • 21.Shahbani-Zahiri A., Shahmardan M., Hassanzadeh H., Norouzi M. Effects of fluid inertia and elasticity and expansion angles on recirculation and thermal regions of viscoelastic flow in the symmetric planar gradual expansions. J. Braz. Soc. Mech. Sci. Eng. 2018;40:480–492. doi: 10.1007/s40430-018-1398-8. [DOI] [Google Scholar]
  • 22.Kunisch K., Marduel X. Optimal control of non-isothermal viscoelastic fluid flow. J.-Non-Newton. Fluid Mech. 2000;88:261–301. doi: 10.1016/S0377-0257(99)00021-X. [DOI] [Google Scholar]
  • 23.Spanjaards M., Hulsen M., Anderson P. Computational analysis of the extrudate shape of three-dimensional viscoelastic, non-isothermal extrusion flows. J.-Non-Newton. Fluid Mech. 2020;282:104310. doi: 10.1016/j.jnnfm.2020.104310. [DOI] [Google Scholar]
  • 24.Patankar S., Spalding D. A calculation procedure for heat, mass and momentum transfer in three-dimensional parabolic flows. Int. Heat Mass Transf. 1972;15:1787–1806. doi: 10.1016/0017-9310(72)90054-3. [DOI] [Google Scholar]
  • 25.Darwish M., Sraj I., Moukalled F. A coupled incompressible flow solver on structured grid. Numer. Heat Transf. Part B Fundam. 2007;52:353–371. doi: 10.1080/10407790701372785. [DOI] [Google Scholar]
  • 26.Darwish M., Sraj I., Moukalled F. A coupled finite volume solver for the solution of incompressible flows on unstructured grids. J. Comput. Phys. 2009;228:180–201. doi: 10.1016/j.jcp.2008.08.027. [DOI] [Google Scholar]
  • 27.Mangani L., Buchmayr M., Darwish M. Development of a novel fully coupled solver in OpenFOAM: Steady-state incompressible turbulent flows. Numer. Heat Transf. Part B Fundam. 2014;66:1–20. doi: 10.1080/10407790.2014.894448. [DOI] [Google Scholar]
  • 28.Fernandes C., Cević V.V., Uroić T., Simoes R., Carneiro O., Jasak H., Nóbrega J. A coupled finite volume flow solver for the solution of incompressible viscoelastic flows. J.-Non-Newton. Fluid Mech. 2019;265:99–115. doi: 10.1016/j.jnnfm.2019.01.006. [DOI] [Google Scholar]
  • 29.Ferreira G., Lage P., Silva L., Jasak H. Implementation of an implicit pressure-velocity coupling for the Eulerian multi-fluid model. Comput. Fluids. 2002;181:188–207. doi: 10.1016/j.compfluid.2019.01.018. [DOI] [Google Scholar]
  • 30.Pimenta F., Alves M.A. A coupled finite-volume solver for numerical simulation of electrically-driven flows. Comput. Fluids. 2019;193:104279. doi: 10.1016/j.compfluid.2019.104279. [DOI] [Google Scholar]
  • 31.Kim J., Kim C., Kim J., Chung C., Ahn K., Lee S. High-resolution finite element simulation of 4:1 planar contraction flow of viscoelastic fluid. J.-Non-Newton. Fluid Mech. 2005;129:23–37. doi: 10.1016/j.jnnfm.2005.04.007. [DOI] [Google Scholar]
  • 32.Oliveira M., Oliveira P., Pinho F., Alves M. Effect of contraction ratio upon viscoelastic flow in contractions: The axisymmetric case. J.-Non-Newton. Fluid Mech. 2007;147:92–108. doi: 10.1016/j.jnnfm.2007.07.009. [DOI] [Google Scholar]
  • 33.Xue S.C., Phan-Thien N., Tanner R. Three dimensional numerical simulations of viscoelastic flows through planar contractions. J.-Non-Newton. Fluid Mech. 1998;74:195–245. doi: 10.1016/S0377-0257(97)00072-4. [DOI] [Google Scholar]
  • 34.Shaw M. Introduction to Polymer Rheology. John Wiley & Sons; New York, NY, USA: 2011. [DOI] [Google Scholar]
  • 35.Fattal R., Kupferman R. Time-dependent simulation of viscoelastic flows at high Weissenberg number using the log-conformation representation. J.-Non-Newton. Fluid Mech. 2005;126:23–37. doi: 10.1016/j.jnnfm.2004.12.003. [DOI] [Google Scholar]
  • 36.Balci N., Thomases B., Renardy M., Doering C. Symmetric factorization of the conformation tensor in viscoelastic fluid models. J.-Non-Newton. Fluid Mech. 2011;166:546–553. doi: 10.1016/j.jnnfm.2011.02.008. [DOI] [Google Scholar]
  • 37.Afonso A., Pinho F., Alves M. The kernel-conformation constitutive laws. J.-Non-Newton. Fluid Mech. 2012;167–168:30–37. doi: 10.1016/j.jnnfm.2011.09.008. [DOI] [Google Scholar]
  • 38.Knechtges P. Ph.D. Thesis. RWTH Aachen University; Aachen, Germany: 2018. Simulation of Viscoelastic Free-Surface Flows. [Google Scholar]
  • 39.Spahn M. Master’s Thesis. RWTH Aachen University; Aachen, Germany: 2019. Modeling High Weissenberg Number Flows in OpenFOAM: Implementation of a Novel Log-Conf Approach in the Context of Finite Volumes. [Google Scholar]
  • 40.Oldroyd J.G. On the formulation of rheological equations of state. Proc. R. Soc. Lond. Ser. A Math. Phys. Sci. 1950;200:523–541. [Google Scholar]
  • 41.Giesekus H. A simple constitutive equation for polymer fluids based on the concept of deformation-dependent tensorial mobility. J.-Non-Newton. Fluid Mech. 1982;11:69–109. doi: 10.1016/0377-0257(82)85016-7. [DOI] [Google Scholar]
  • 42.Phan-Thien N., Tanner R. A new constitutive equation derived from network theory. J.-Non-Newton. Fluid Mech. 1977;2:353–365. doi: 10.1016/0377-0257(77)80021-9. [DOI] [Google Scholar]
  • 43.Phan-Thien N. A nonlinear network viscoelastic model. J. Rheol. 1978;22:259–283. doi: 10.1122/1.549481. [DOI] [Google Scholar]
  • 44.Wapperom P., Hulsen M. Thermodynamics of viscoelastic fluids: The temperature equation. J. Rheol. 1998;42:999–1019. doi: 10.1122/1.550922. [DOI] [Google Scholar]
  • 45.Moreno L., Codina R., Baiges J. Numerical simulation of non-isothermal viscoelastic fluid flows using a VMS stabilized finite element formulation. J.-Non-Newton. Fluid Mech. 2021;296:104640. doi: 10.1016/j.jnnfm.2021.104640. [DOI] [Google Scholar]
  • 46.Fernandes C., Araujo M., Ferrás L., Nóbrega J. Improved both sides diffusion (iBSD): A new and straightforward stabilization approach for viscoelastic fluid flows. J.-Non-Newton. Fluid Mech. 2017;249:63–78. doi: 10.1016/j.jnnfm.2017.09.008. [DOI] [Google Scholar]
  • 47.Rhie C., Chow W. Numerical Study of Turbulent Flow Past an Isolated Airfol with Trailing Edge Separation. AIAA J. 1983;21:1525–1532. doi: 10.2514/3.8284. [DOI] [Google Scholar]
  • 48.Jasak H. Ph.D. Thesis. Imperial College University of London; London, UK: 1996. Error Analysis and Estimation for the Finite Volume Method with Applications to Fluid Flows. [Google Scholar]
  • 49.Knechtges P. The fully-implicit log-conformation formulation and its application to three-dimensional flows. J.-Non-Newton. Fluid Mech. 2015;223:209–220. doi: 10.1016/j.jnnfm.2015.07.004. [DOI] [Google Scholar]
  • 50.van der Vorst H. Bi-CGSTAB: A fast and smoothly converging variant of Bi-CG for the solution of nonsymmetric linear systems. SIAM J. Sci. Stat. Comput. 1992;13:631–644. doi: 10.1137/0913035. [DOI] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

Not applicable.


Articles from Polymers are provided here courtesy of Multidisciplinary Digital Publishing Institute (MDPI)

RESOURCES