Next Article in Journal
Preparation and Characterization of Cyclodextrin Coated Red Phosphorus Double−Shell Microcapsules and Its Application in Flame Retardant Polyamide6
Next Article in Special Issue
A Semi-Analytical Method for Channel and Pipe Flows for the Linear Phan-Thien-Tanner Fluid Model with a Solvent Contribution
Previous Article in Journal
Gellan Gum in Wound Dressing Scaffolds
Previous Article in Special Issue
Effect of Bacterial Cellulose Plasma Treatment on the Biological Activity of Ag Nanoparticles Deposited Using Magnetron Deposition
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

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

LASI—Associate Laboratory of Intelligent Systems, IPC—Institute for Polymers and Composites, Polymer Engineering Department, School of Engineering, Campus de Azurém, University of Minho, 4800-058 Guimarães, Portugal
Polymers 2022, 14(19), 4099; https://doi.org/10.3390/polym14194099
Submission received: 5 September 2022 / Revised: 22 September 2022 / Accepted: 26 September 2022 / Published: 30 September 2022
(This article belongs to the Special Issue Advanced Polymer Simulation and Processing)

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.

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:
u i x i = 0 ,
ρ u i t + u j u i x j + p x i τ i j x j = 0 ,
where Einstein’s summation convention applies, u i are the velocity components along the Cartesian co-ordinates x i , ρ is the fluid density, t is the time, p is the pressure and τ i j are the components of the total extra-stress tensor ( i , j = 1 , 2 for 2D flows), which is split into Newtonian (solvent), ( τ N ) i j , and elastic (polymeric), ( τ E ) i j , contributions, such that τ i j = ( τ N ) i j + ( τ E ) i j .
The calculation of the stress terms is completed using the following relations:
( τ N ) i j = 2 η N ( T ) D i j = η N ( T ) u i x j + u j x i ,
1 η E ( T ) I i j + h ( ( τ E ) i j ) ( τ E ) i j + λ ( T ) η E ( T ) ( τ E ) i j t + u k ( τ E ) i j x k u i x j + u j x i λ ( T ) η E ( T ) ( τ E ) i k u j x k + ( τ E ) j k u i x k = 0 ,
where η N ( T ) and η E ( T ) are the temperature-dependent solvent and polymeric viscosities, respectively, D i j is the strain rate tensor, which describes the rate of stretching and shearing, λ ( T ) is the temperature-dependent polymer relaxation time, I i j is the identity tensor and h ( ( τ E ) i j ) 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 ) i j ) = 0 . For the Giesekus model [41] h ( ( τ E ) i j ) = κ λ η E ( τ E ) i j , 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 ) i j ) = ϵ λ η E tr ( ( τ E ) i j ) I i j , where tr ( ( τ E ) i j ) = ( τ E ) i i 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 ) i j ) ( τ E ) i j . 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:
ρ C p T t + u i T x i k 2 T x i 2 = ( τ N ) i j D j i + α ( τ E ) i j D j i + ( 1 α ) ( τ E ) i i 2 λ ¯ ( T ) ,
where k is the thermal conductivity of the fluid, without dependence on temperature T and polymer orientation, C p 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 ) i i η E ( T ) 1 for the PTT model and λ ¯ ( T ) = λ ( T ) 1 + λ ( T ) κ ( τ E ) i j η 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 ) = a T λ ( T 0 ) ,
η N ( T ) = a T η N ( T 0 ) ,
η E ( T ) = a T η E ( T 0 ) ,
where T 0 is a reference temperature and a T is a shift factor obeying the Williams–Landel–Ferry (WLF) relation:
a T = exp C 1 ( T T 0 ) C 2 + T T 0 ,
in which C 1 and C 2 are the WLF parameters and T 0 is the reference temperature. Frequently used sets of WLF parameters ( C 1 , C 2 ) are (5, 150) for temperatures relatively far from the glass transition temperature T g , enabling the thermorheological coupling, and (15, 50) for temperatures near T g [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 ) i j , is related to the conformation tensor, σ i j , by the following equation
( τ E ) i j = η E ( T ) λ ( T ) ( σ i j I i j ) .
Subsequently, the conformation tensor σ i j is replaced by its matrix logarithmic Ψ i j = log ( σ i j ) , and Equations (2), (4) and (5) are substituted by
ρ u i t + u j u i x j + p x i 2 η N ( T ) D i j x j η E ( T ) λ ( T ) e Ψ i j I i j x j = 0 ,
1 λ ( T ) I i j + h ( e Ψ i j ) ( e Ψ i j I i j ) + e Ψ i j t + u k e Ψ i j x k e Ψ i k u j x k e Ψ j k u i x k = 0 ,
ρ C p T t + u i T x i k 2 T x i 2 = ( τ N ) i j D j i + η E ( T ) λ ( T ) α ( e Ψ i j I i j ) D j i + ( 1 α ) ( e Ψ I ) i i 2 λ ¯ ( T ) ,
with λ ¯ ( T ) = λ ( T ) 1 + ϵ ( e Ψ I ) i i 1 for the PTT model, λ ¯ ( T ) = λ ( T ) 1 + κ ( e Ψ I ) i j 1 for the Giesekus model and λ ¯ ( T ) = λ ( T ) for the Oldroyd-B model. Here, e Ψ i j is the matrix exponential function, defined as e Ψ i j = m = 1 d e ξ m P m , with d as the dimension of the physical space ( d = 2 for the calculations performed in this work), ξ m the eigenvalues of Ψ i j and P m is the projection matrix onto the corresponding eigenspace. Therefore, if e ^ m is the eigenvector corresponding to ξ m , then P m = e ^ m e ^ m [38]. In addition, note that λ ( T 0 ) and η P ( T 0 ) are known values for the reference temperature T 0 , 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) V P , where the subscript P refers to values of the variables at cell with centroid P, as shown in Figure 1, to yield
ρ V P u i t d V P + V P u j u i x j d V P + V P p x i d V P V P ( η N ( T ) + η ) 2 u i x j 2 d V P V P η E ( T ) λ ( T ) e Ψ I i j x j d V P = V P x j η u i x j d V P ,
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 x j u j x i = 0 .
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:
ρ V P u i t d V P + S n j ( u j u i ) d S + S n i p d S S n j ( η N ( T ) + η ) u i x j d S V P η E ( T ) λ ( T ) e Ψ I i j x j d V P = S n j η u i x j d S ,
where S is the boundary of control volume V P and n i 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:
V P ρ P ( u i ) P ( u i ) P 0 Δ t + f = n b ( P ) ( s j ρ u j u i ) f + f = n b ( P ) ( s i p ) f f = n b ( P ) s j ( η N ( T ) + η ) u i x j f V P η E ( T ) λ ( T ) e Ψ I i j x j d V P = f = n b ( P ) s j η u i x j f ,
where Δ t is the time-step, the superscript 0 represents the previous time step value, n b refers to values at the faces f, obtained by interpolation between P and its neighbors, and s i 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
a P u u u P + a P u v v P + a P u p p P + a P u Ψ x x ( Ψ x x ) P + a P u Ψ x y ( Ψ x y ) P + + F = N B ( P ) a F u u u F + F = N B ( P ) a F u v v F + F = N B ( P ) a F u p p F + + F = N B ( P ) a F u Ψ x x ( Ψ x x ) F + F = N B ( P ) a F u Ψ x y ( Ψ x y ) F = b P u , a P v u u P + a P v v v P + a P v p p P + a P v Ψ x y ( Ψ x y ) P + a P v Ψ y y ( Ψ y y ) P + + F = N B ( P ) a F v u u F + F = N B ( P ) a F v v v F + F = N B ( P ) a F v p p F + F = N B ( P ) a F v Ψ x y ( Ψ x y ) F + F = N B ( P ) a F v Ψ y y ( Ψ y y ) F = b P v ,
where a P u i ϕ and a F u i ϕ are the owner and neighbor coefficients in the discretized linear momentum equation representing the velocity component u i and the variable ϕ interactions, respectively; b P u i is the source term, where N B ( 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 Ψ I i j x j , to the linear momentum equations, we will employ an implicit discretization by considering the following Taylor approximation for the functional ( e Ψ I ) i j [28,39]
( e Ψ I ) i j ( e Ψ I ) i j 0 + ( e Ψ I ) i j Ψ k l | Ψ k l 0 Ψ k l Ψ k l 0 = ( e Ψ I ) i j 0 + i , j d e λ m / 2 e λ n / 2 sinh ( ( λ m λ n ) / 2 ) ( λ m λ n ) / 2 k , l p i k m p l j n Ψ k l Ψ k l 0 ,
where the derivative of the functional ( e Ψ I ) i j in order to the log-conformation tensor variable is substituted by the expression found in Knechtges [38] for the finite element method, and p i k m and p l j n are the coefficients of the projector matrix belonging to the m-th and n-th eigenvalues ( λ m , λ n ) of Ψ i j 0 . Therefore, the divergence of the functional ( e Ψ I ) i j can be written as:
V P η E ( T ) λ ( T ) e Ψ I i j x j d V P η E ( T ) λ ( T ) V P e Ψ I i j x j 0 d V P + η E ( T ) λ ( T ) V P e Ψ I i j Ψ k l 0 Ψ k l / x j d V P η E ( T ) λ ( T ) V P e Ψ I i j Ψ k l 0 Ψ k l 0 / x j d V P ,
Subsequently, applying the Gauss divergence theorem we can transform the volume integrals with derivatives into surface integrals
V P e Ψ I i j Ψ k l 0 Ψ k l / x j d V P = S n j e Ψ I i j Ψ k l 0 Ψ k l d S ,
V P e Ψ I i j Ψ k l 0 Ψ k l 0 / x j d V P = S n j e Ψ I i j Ψ k l 0 Ψ k l 0 d S ,
and obtain the discretized form for the divergence of the functional ( e Ψ I ) i j (i.e., the log-conformation tensor term) in the linear momentum equations as follows:
V P η E ( T ) λ ( T ) e Ψ I i j x j d V P η E ( T ) λ ( T ) e Ψ I i j x j 0 V P + η E ( T ) λ ( T ) f = n b ( P ) s j e Ψ I i j Ψ k l 0 Ψ k l f η E ( T ) λ ( T ) f = n b ( P ) s j e Ψ I i j Ψ k l 0 Ψ k l 0 f .
Lastly, the contributions of the divergence of the log-conformation (DLC) tensor term for the linear momentum equations are given by
a F , D L C u j ψ k l = η E ( T ) λ ( T ) s j e Ψ I i j Ψ k l 0 f ( 1 w f ) ,
a P , D L C u j ψ k l = η E ( T ) λ ( T ) f = n b ( P ) s j e Ψ I i j Ψ k l 0 f w f ,
b P , D L C u j = η E ( T ) λ ( T ) e Ψ I i j x j 0 V P f = n b ( P ) s j e Ψ I i j Ψ k l 0 Ψ k l 0 f ,
where w f 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 V P as follows:
V P u i x i d V P = 0 .
Subsequently, by employing the divergence theorem, the volume integral is transformed into a surface integral as follows:
S n i u i d S = 0 .
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 = n b ( P ) ( s i u i ) f = 0 .
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 = n b ( P ) s i p x i D ¯ i f + f = n b ( P ) s i u ¯ i f = f = n b ( P ) s i p x i ¯ D ¯ i f .
Finally, we can write the mass conservation algebraic equation as:
a P p p p P + a P p u u P + a P p v v P + F = N B ( P ) a F p p p F + F = N B ( P ) a F p u u F + F = N B ( P ) a F p v v F = b P p ,
where a P p ϕ and a F p ϕ are the owner and neighbor coefficients in the discretized mass conservation equation representing the pressure field and the variable ϕ interactions, respectively; b P p is the source term.
The implicit pressure gradient term is discretized (see page 86 of [48]) as follows:
s i p x i D ¯ i f = s i ( s i D ¯ i ) f ( d P F ) i ( s i ) f ( p F p P ) ,
where the coefficients of the implicit pressure gradient term for the mass conservation equation are given by
a F p p = s i ( s i D ¯ i ) f ( d P F ) i ( s i ) f ,
a P p p = F = N B ( P ) a F p p .
The implicit coefficients for the second term in Equation (26) (corresponding to the velocity contribution) are given by
a F p u = s f x ( 1 w f ) , a F p v = s f y ( 1 w f ) ,
a P p u = f = n b ( P ) s f x w f , a P p v = f = n b ( P ) s f y w f .
Lastly, the coefficients of the explicit pressure gradient term contribution for the mass conservation equation are given by
b P p = f = n b ( P ) s i p x i ¯ D ¯ i f .

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])
Ψ i j t + u k Ψ i j x k + [ Ψ i j , Ω i j ] 2 f ( ad ( Ψ i j ) ) D i j = 1 λ ( T ) I i j + κ e Ψ i j I i j e Ψ i j I i j e Ψ i j ,
where Ω i j = u i x j u j x i / 2 is the vorticity tensor and [ Ψ i j , Ω i j ] = Ψ i j Ω i j Ω i j Ψ i j is the commutator term. Following Knechtges [38], f ( ad ( Ψ i j ) ) is defined by the application of the function f ( x ) = x / 2 tanh ( x / 2 ) to the adjoint operator ad ( Ψ i j ) , such as
f ( ad ( Ψ i j ) ) y = m , n = 1 d f ( λ m λ n ) P m y P n ,
where y is a symmetric matrix satisfying ad ( Ψ i j ) y = [ Ψ i j , y ] , and y is continuously differentiable ( C 1 ). 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 V P to yield
V P Ψ i j t d V P + V P u k Ψ i j x k d V P + V P [ Ψ i j , Ω i j ] d V P V P 2 f ( ad ( Ψ i j ) ) D i j d V P = V P 1 λ ( T ) I i j + κ e Ψ i j I i j e Ψ i j I i j e Ψ i j d V P .
This leads to the algebraic equation with the following form:
a P Ψ x x Ψ x x ( Ψ x x ) P + a P Ψ x x   u u P + a P Ψ x x   v v P + F = N B ( P ) a F Ψ x x   Ψ x x ( Ψ x x ) F + + F = N B ( P ) a F Ψ x x   u u F + F = N B ( P ) a F Ψ x x   v v F = b P Ψ x x , a P Ψ x y   Ψ x y ( Ψ x y ) P + a P Ψ x y   u u P + a P Ψ x y   v v P + F = N B ( P ) a F Ψ x y   Ψ x y ( Ψ x y ) F + + F = N B ( P ) a F Ψ x y   u u F + F = N B ( P ) a F Ψ x y   v v F = b P Ψ x y , a P Ψ y y   Ψ y y ( Ψ y y ) P + a P Ψ y y   u u P + a P Ψ y y   v v P + F = N B ( P ) a F Ψ y y   Ψ y y ( Ψ y y ) F + + F = N B ( P ) a F Ψ y y   u u F + F = N B ( P ) a F Ψ y y   v v F = b P Ψ y y ,
where a P Ψ i j ϕ and a F Ψ i j ϕ are the owner and neighbor coefficients in the discretized log-conformation tensor constitutive equations representing the tensor component Ψ i j and the variable ϕ interactions, respectively, and b P Ψ i j is the source term.
Again, for the sake of conciseness, the discretization of the rate of change Ψ i j t and advective u k ( Ψ i j ) x k terms in Equation (32) are not detailed here because similar discretizations were performed for the polymeric stress-tensor ( τ E ) i j (see previous work [28]).
Regarding the commutator term [ Ψ i j , Ω i j ] , we can write the following expanded form:
[ Ψ i j , Ω i j ] = 1 2 Ψ i k u k x j Ψ i k u j x k u i x k Ψ k j + u k x i Ψ k j ,
and, subsequently, we can use Taylor approximations such as
1 2 Ψ i k u j x k + u i x k Ψ k j + 1 2 Ψ i k 0 u j x k 0 + u i x k 0 Ψ k j 0 1 2 Ψ i k u j x k 0 + u i x k 0 Ψ k j 1 2 Ψ i k 0 u j x k + u i x k Ψ k j 0 ,
and
+ 1 2 Ψ i k u k x j + u k x i Ψ k j 1 2 Ψ i k 0 u k x j 0 + u k x i 0 Ψ k j 0 + 1 2 Ψ i k u k x j 0 + u k x i 0 Ψ k j + 1 2 Ψ i k 0 u k x j + u k x i Ψ k j 0 .
Starting with the terms in Equation (37), the negative commutator terms, the first contribution is explicit, being given by
( b P Ψ i j ) n e g = 1 2 V P Ψ i k 0 u j x k 0 + u i x k 0 Ψ k j 0 .
The second contribution is implicit in Ψ i j and explicit in u i x j , being given by
( a P Ψ i j Ψ i k ) n e g , 1 = 1 2 V P u j x k 0 ,
( a P Ψ i j Ψ k j ) n e g , 2 = 1 2 V P u i x k 0 .
The third contribution is implicit in u i x j and explicit in Ψ i j ; therefore, we need an implicit discretization of the gradient operator for velocity, which requires the integration by parts of this term, such as:
V P Ψ i k 0 u j x k + u i x k Ψ k j 0 d V P = S n k Ψ i k 0 u j + u i Ψ k j 0 d S V P Ψ i k x k 0 u j + u i Ψ k j x k 0 d V P .
Applying the Gauss divergence theorem, the discretized form of the terms on the right-hand side of Equation (41) is
f = n b ( P ) s k Ψ i k 0 u j + u i Ψ k j 0 f V P Ψ i k x k 0 u j + u i Ψ k j x k 0 .
Using linear weighted interpolation, we can write the contributions of the third term as:
( a F Ψ i j u j ) n e g , 1 = 1 2 ( s k Ψ i k 0 ) f ( 1 w f ) ,
( a P Ψ i j u j ) n e g , 1 = 1 2 f = n b ( P ) ( s k Ψ i k 0 ) f w f V P Ψ i k x k 0 ,
( a F Ψ i j u i ) n e g , 2 = 1 2 ( Ψ k b 0 s k ) f ( 1 w f ) ,
( a P Ψ i j u i ) n e g , 2 = 1 2 f = n b ( P ) ( s k Ψ k j 0 ) f w f V P Ψ k j x k 0 .
Following the same reasoning as given above, the terms in Equation (38), the positive commutator terms, generate the following coefficients:
( b P Ψ i j ) p o s = 1 2 V P Ψ i k 0 u k x j 0 + u k x i 0 Ψ k j 0 ,
( a P Ψ i j Ψ i k ) p o s , 1 = 1 2 V P u k x j 0 ,
( a P Ψ i j Ψ k j ) p o s , 2 = 1 2 V P u k x i 0 ,
( a F Ψ i j u k ) p o s , 1 = 1 2 ( s j Ψ i k 0 ) f ( 1 w f ) ,
( a P Ψ i j u k ) p o s , 1 = 1 2 f = n b ( P ) ( s j Ψ i k 0 ) f w f V P Ψ i k x j 0 ,
( a F Ψ i j u k ) p o s , 2 = 1 2 ( s i Ψ k j 0 ) f ( 1 w f ) ,
( a P Ψ i j u k ) p o s , 2 = 1 2 f = n b ( P ) ( s i Ψ k j 0 ) f w f V P Ψ k j x i 0 .
Lastly, we implicitly discretize the adjoint operator f ( ad ( Ψ ) ) i j k l D k l by considering the following Taylor approximation [39]
f ( ad ( Ψ ) ) i j k l D k l f ( ad ( Ψ 0 ) ) i j k l D k l 0 + k l f ( ad ( Ψ 0 ) ) i q r j D q r 0 Ψ k l ( Ψ k l Ψ k l 0 ) + k l f ( ad ( Ψ 0 ) ) i q r j D q r 0 D k l ( D k l D k l 0 ) ,
where f ( ad ( Ψ 0 ) ) i q r j   D q r 0 D k l is the derivative of the adjoint operator with respect to D k l , given by [38]
f ( ad ( Ψ 0 ) ) i q r j D q r D k l = f ( ad ( Ψ 0 ) ) i j k l = m , n = 1 d f ( λ m λ n ) p i k m p l j n ,
and f ( ad ( Ψ 0 ) ) i q r j   D q r 0 Ψ k l is the derivative of the adjoint operator with respect to Ψ k l , given by [49]
f ( ad ( Ψ 0 ) ) i q r j D q r 0 Ψ k l = m , n , o = 1 d f ( λ m λ o ) f ( λ n λ o ) λ m λ n p i k m p l q n D q r p r j o + p i q o D q r p r k n p l j m .
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 V P as follows:
V P 2 f ( ad ( Ψ ) ) i j k l D k l d V P V P 2 f ( ad ( Ψ 0 ) ) i j k l D k l 0 d V P + V P 2 f ( ad ( Ψ ) ) i q r j D q r Ψ k l 0 Ψ k l d V P V P 2 f ( ad ( Ψ ) ) i q r j D q r Ψ k l 0 Ψ k l 0 d V P + V P 2 f ( ad ( Ψ ) ) i q r j D q r D k l 0 D k l d V P V P 2 f ( ad ( Ψ ) ) i q r j D q r D k l 0 D k l 0 d V P ,
and substituting D k l = 1 2 u k x l + u l x k in Equation (50), we obtain
V P 2 f ( ad ( Ψ ) ) i j k l D k l d V P V P 2 f ( ad ( Ψ 0 ) ) i j k l D k l 0 d V P + V P 2 f ( ad ( Ψ ) ) i q r j D q r Ψ k l 0 Ψ k l d V P V P 2 f ( ad ( Ψ ) ) i q r j D q r Ψ k l 0 Ψ k l 0 d V P + V P f ( ad ( Ψ ) ) i q r j D q r D k l 0 u k x l + u l x k d V P V P 2 f ( ad ( Ψ ) ) i q r j D q r D k l 0 D k l 0 d V P .
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
V P 2 f ( ad ( Ψ ) ) i j k l D k l d V P V P 2 f ( ad ( Ψ 0 ) ) i j k l D k l 0 d V P + V P 2 f ( ad ( Ψ ) ) i q r j D q r Ψ k l 0 Ψ k l d V P V P 2 f ( ad ( Ψ ) ) i q r j D q r Ψ k l 0 Ψ k l 0 d V P + S f ( ad ( Ψ ) ) i q r j D q r D k l 0 u k n l + u l n k d S V P f ( ad ( Ψ ) )   i q r j   D q r D k l 0 x l u k + f ( ad ( Ψ ) )   i q r j   D q r D k l 0 x k u l d V P V P 2 f ( ad ( Ψ ) ) i q r j D q r D k l 0 D k l 0 d V P .
Thus, the discretized form of Equation (52) can then be written as:
V P 2 f ( ad ( Ψ ) ) i j k l D k l d V P 2 f ( ad ( Ψ 0 ) ) i j k l D k l 0 V P + 2 f ( ad ( Ψ ) ) i q r j D q r Ψ k l 0 Ψ k l V P 2 f ( ad ( Ψ ) ) i q r j D q r Ψ k l 0 Ψ k l 0 V P + f = n b ( P ) f ( ad ( Ψ ) ) i q r j D q r D k l 0 u k s l + u l s k f f ( ad ( Ψ ) )   i q r j   D q r D k l 0 x l u k + f ( ad ( Ψ ) )   i q r j   D q r D k l 0 x k u l V P 2 f ( ad ( Ψ ) ) i q r j D q r D k l 0 D k l 0 V P .
The contributions of the adjoint term for the log-conformation tensor constitutive equations, using linear weighted interpolation, read as
( a P Ψ i j Ψ k l ) a d j = 2 f ( ad ( Ψ ) ) i q r j D q r Ψ k l 0 V P ,
( a F Ψ i j u k ) a d j = f ( ad ( Ψ ) ) i q r j D q r D k l 0 s l f ( 1 w f ) ,
( a P Ψ i j u k ) a d j = f = n b ( P ) f ( ad ( Ψ ) ) i q r j D q r D k l 0 s l f w f f ( ad ( Ψ ) )   i q r j   D q r D k l 0 x l V P ,
( a F Ψ i j u l ) a d j = f ( ad ( Ψ ) ) i q r j D q r D k l 0 s k f ( 1 w f ) ,
( a P Ψ i j u l ) a d j = f = n b ( P ) f ( ad ( Ψ ) ) i q r j D q r D k l 0 s k f w f f ( ad ( Ψ ) )   i q r j   D q r D k l 0 x k V P ,
( b P Ψ i j ) a d j = 2 f ( ad ( Ψ 0 ) ) i j k l D k l 0 V P 2 f ( ad ( Ψ ) ) i q r j D q r Ψ k l 0 Ψ k l 0 V P 2 f ( ad ( Ψ ) ) i q r j D q r D k l 0 D k l 0 V P .
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 V P , to yield
ρ C p V P T t d V P + V P u i T x i d V P V P k 2 T x i 2 d V P = V P ( τ N ) i j D j i + η E ( T ) λ ( T ) α ( e Ψ I ) i j D j i + ( 1 α ) ( e Ψ I ) i i 2 λ ¯ ( T ) d V P .
Using the Gauss divergence theorem, the volume integrals of the advection and diffusion terms in Equation (55) are transformed into surface integrals as:
ρ C p V P T t d V P + S n i u i T d S S n i k T x i d S = V P ( τ N ) i j D j i + η E ( T ) λ ( T ) α ( e Ψ I ) i j D j i + ( 1 α ) ( e Ψ I ) i i 2 λ ¯ ( T ) d V P .
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
V P ρ P ( C p ) P T P T P 0 Δ t + f = n b ( P ) ( s i ρ C p u i T ) f f = n b ( P ) s i k T x i f = V P ( τ N ) i j D j i + η E ( T ) λ ( T ) α ( e Ψ I ) i j D j i + ( 1 α ) ( e Ψ I ) i i 2 λ ¯ ( T ) .
This leads to the algebraic equation for the energy balance with the following form:
a P T T T P + a P T u u P + a P T v v P + F = N B ( P ) a F T T T F + F = N B ( P ) a F T u u F + F = N B ( P ) a F T v v F = b P T ,
where a P T ϕ and a F T ϕ are the owner and neighbor coefficients in the discretized conservation of energy equation, representing the temperature T and the variable ϕ interactions, respectively, and b P T is the source term.
The rate of change ( r c h g ) term in Equation (57) (first term), contributes to both the diagonal of the system of equations and to the explicit term as:
a P , r c h g T T = V P ρ P ( C p ) P Δ t ,
b P , r c h g T = V P ρ P ( C p ) P T P 0 Δ t .
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 = ( s i ρ u i ) 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 ( a d v ) term contribution for the conservation of energy equation are given by:
a F , a d v T u = a F , a d v T v = ( C p ) f max ( m ˙ f , 0 ) ,
a P , a d v T u = F = N B ( P ) a F , a d v T u , a P , a d v T v = F = N B ( P ) a F , a d v T v ,
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 V P .
The implicit diffusion ( i d i f f ) contribution, third term of Equation (57), is discretized, taking a linear profile (see page 86 of [48]) as
s i k T x i f = k f ( s i s i ) f ( d P F ) i ( s i ) f ( T F T P ) ,
where ( d P F ) 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
a F , i d i f f T T = k f ( s i s i ) f ( d P F ) i ( s i ) f ,
a P , i d i f f T T = F = N B ( P ) a F , i d i f f T T .
Finally, the coefficients of the explicit term contribution (right-hand side of Equation (57)) for the conservation of energy equation are given by
b P , s o u r c e T = V P ( τ N ) i j D j i + η E ( T ) λ ( T ) α ( e Ψ I ) i j D j i + ( 1 α ) ( e Ψ I ) i i 2 λ ¯ ( T ) .

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:
a P u u a P u v a P u p a P u Ψ x x a P u Ψ x y a P u Ψ y y a P u T a P v u a P v v a P v p a P v Ψ x x a P v Ψ x y a P v Ψ y y a P v T a P p u a P p v a P p p a P p Ψ x x a P p Ψ x y a P p Ψ y y a P p T a P Ψ x x u a P Ψ x x   v a P Ψ x x   p a P Ψ x x   Ψ x x a P Ψ x x   Ψ x y a P Ψ x x   Ψ y y a P Ψ x x   T a P Ψ x y   u a P Ψ x y   v a P Ψ x y   p a P Ψ x y   Ψ x x a P Ψ x y   Ψ x y a P Ψ x y   Ψ y y a P Ψ x y   T a P Ψ y y   u a P Ψ y y   v a P Ψ y y   p a P Ψ y y   Ψ x x a P Ψ y y   Ψ x y a P Ψ y y   Ψ y y a P Ψ y y   T a P T u a P T v a P T p a P T Ψ x x a P T Ψ x y a P T Ψ y y a P T T u P v P p P ( Ψ x x ) P ( Ψ x y ) P ( Ψ y y ) P T P + + F = n b ( P ) a F u u a F u v a F u p a F u Ψ x x a F u Ψ x y a F u Ψ y y a F u T a F v u a F v v a F v p a F v Ψ x x a F v Ψ x y a F v Ψ y y a F v T a F p u a F p v a F p p a F p Ψ x x a F p Ψ x y a F p Ψ y y a F p T a F Ψ x x   u a F Ψ x x   v a F Ψ x x   p a F Ψ x x   Ψ x x a F Ψ x x   Ψ x y a F Ψ x x   Ψ y y a F Ψ x x   T a F Ψ x y   u a F Ψ x y   v a F Ψ x y   p a F Ψ x y   Ψ x x a F Ψ x y   Ψ x y a F Ψ x y   Ψ y y a F Ψ x y   T a F Ψ y y   u a F Ψ y y   v a F Ψ y y   p a F Ψ y y   Ψ x x a F Ψ y y   Ψ x y a F Ψ y y   Ψ y y a F Ψ y y   T a F T u a F T v a F T p a F T Ψ x x a F T Ψ x y a F T Ψ y y a F T T u F v F p F ( Ψ x x ) F ( Ψ x y ) F ( Ψ y y ) F T F = b P u b P v b P p b P Ψ x x b P Ψ x y b P Ψ y y b P T
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 Φ = ( u i , p , Ψ i j , 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:
  • Initialize the fluid variables with the latest known values ( u i n , p n , Ψ i j n , T n ) .
  • 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 u i , p, Ψ i j and T (Equation (64)).
  • 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 10 6 ), 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 R 1 / R 2 = 4 was chosen as test geometry (Figure 2a), because of the availability of numerical data in the literature [18]. The upstream length was l 1 = 80 R 2 and the downstream length was l 2 = 50 R 2 . The downstream channel height was chosen as R 2 = 0.0020604 m.
The flow had a rotational symmetry that was normal to the r z plane 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 ( f z = Δ z i + 1 / Δ z i , with Δ z i being the length of the cell i in the z-direction). In this way, since f z > 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.
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 ( T i n l = 462 K), a symmetry boundary condition was used at the centerline, at the upstream wall, ( z < l 1 ) , T w , 1 = 462 K, while, for the downstream wall, ( z l 1 ) the temperature T w , 2 was chosen such as to give temperature jumps of Δ T = T w , 2 T w , 1 = 30 K , 0 K , 30 K . 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 R e , the Weissenberg number W i , the Peclet number P e and the retardation ratio β , defined as:
R e = ρ R 2 U ¯ z , 2 η 0
W i = λ U ¯ z , 2 R 2
P e = λ R 2 U ¯ z , 2 c P k
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, R e = 3.9 × 10 5 , 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 P e = 345 by setting c P = 1500 J/kg K and k = 0.17 W/mK. The WLF parameters were C 1 = 4.54 and C 2 = 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 / ( R 2 / U ¯ z , 2 ) of 10 4 allowed for converged solutions to be obtained for all the runs performed. The maximum local Courant number corresponding to the normalized time-step 10 4 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.97 R 2 (Figure 3a) and the temperature contour plots (Figure 3b) are shown as a function of the axial position z / R 1 for α = 0 and α = 1 at W i = 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 T w , 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.97 R 2 . In both cases, we see the formation of a larger temperature-rising region for z / R 1 > 1 , which is also extended through the downstream channel radial direction.
In Figure 4, the axial normal stress profile on the line r = 0.97 R 2 (Figure 4a) and the axial normal stress contour plots (Figure 4b) as a function of the axial position z / R 1 for α = 0 and α = 1 at W i = 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 / R 1 < 0.2 , which then increases in width, but with smaller normal stress values, at 0.2 < z / R 1 < 1 .
Additionally, Figure 5 shows the contours of the first normal stress difference and shear stress predicted on M2 at α = 0 , W i = 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 / R 1 = 0 . Finally, at the contraction vertical wall, the shear stress is positive, allowing for the extension of the corner vortex size.
In Figure 6, the axial velocity profile on the line r = 0.97 R 2 (Figure 6a) and the axial velocity contour plots (Figure 6b) as a function of the axial position z / R 1 for α = 0 and α = 1 at W i = 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.
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 W i = 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.

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 W i = 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 / R 1 = 0.25 ) temperature changes by more than 60 K and the centerline ( r / R 1 = 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.
The temperature and axial velocity contours are shown in Figure 8 for W i = 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.
Additionally, Figure 9 shows the contours of the first normal stress difference and shear stress predicted on M2 at α = 0 , W i = 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.

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.

Funding

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.

Institutional Review Board Statement

Not applicable.

Data Availability Statement

Not applicable.

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.

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.

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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  9. Bird, R. Constitutive equations for polymeric liquids. Annu. Rev. Fluid Mech. 1995, 27, 169–193. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  15. Braun, H. A model for the thermorheological behavior of viscoelastic fluids. Rheol. Acta 1991, 30, 523–529. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  22. Kunisch, K.; Marduel, X. Optimal control of non-isothermal viscoelastic fluid flow. J.-Non-Newton. Fluid Mech. 2000, 88, 261–301. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  30. Pimenta, F.; Alves, M.A. A coupled finite-volume solver for numerical simulation of electrically-driven flows. Comput. Fluids 2019, 193, 104279. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef] [Green Version]
  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. [Google Scholar] [CrossRef]
  34. Shaw, M. Introduction to Polymer Rheology; John Wiley & Sons: New York, NY, USA, 2011. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  37. Afonso, A.; Pinho, F.; Alves, M. The kernel-conformation constitutive laws. J.-Non-Newton. Fluid Mech. 2012, 167–168, 30–37. [Google Scholar] [CrossRef]
  38. Knechtges, P. Simulation of Viscoelastic Free-Surface Flows. Ph.D. Thesis, RWTH Aachen University, Aachen, Germany, 2018. [Google Scholar]
  39. Spahn, M. Modeling High Weissenberg Number Flows in OpenFOAM: Implementation of a Novel Log-Conf Approach in the Context of Finite Volumes. Master’s Thesis, RWTH Aachen University, Aachen, Germany, 2019. [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. [Google Scholar] [CrossRef]
  42. Phan-Thien, N.; Tanner, R. A new constitutive equation derived from network theory. J.-Non-Newton. Fluid Mech. 1977, 2, 353–365. [Google Scholar] [CrossRef]
  43. Phan-Thien, N. A nonlinear network viscoelastic model. J. Rheol. 1978, 22, 259–283. [Google Scholar] [CrossRef]
  44. Wapperom, P.; Hulsen, M. Thermodynamics of viscoelastic fluids: The temperature equation. J. Rheol. 1998, 42, 999–1019. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  47. Rhie, C.; Chow, W. Numerical Study of Turbulent Flow Past an Isolated Airfol with Trailing Edge Separation. AIAA J. 1983, 21, 1525–1532. [Google Scholar] [CrossRef]
  48. Jasak, H. Error Analysis and Estimation for the Finite Volume Method with Applications to Fluid Flows. Ph.D. Thesis, Imperial College University of London, London, UK, 1996. [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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
Figure 1. Schematic representation of the control volume V P with centroid P (owner), with distance vector to the origin r P , 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 S f and face unit normal vector n f . The distance vector between P and F is represented by d P F .
Figure 1. Schematic representation of the control volume V P with centroid P (owner), with distance vector to the origin r P , 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 S f and face unit normal vector n f . The distance vector between P and F is represented by d P F .
Polymers 14 04099 g001
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 l 1 and the downstream length was l 2 . The upstream channel height was R 1 and the downstream channel height was R 2 . The temperature at the upstream wall is T w , 1 , while, for the downstream wall, the temperature was T w , 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.01 R 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 l 1 and the downstream length was l 2 . The upstream channel height was R 1 and the downstream channel height was R 2 . The temperature at the upstream wall is T w , 1 , while, for the downstream wall, the temperature was T w , 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.01 R 2 .
Polymers 14 04099 g002
Figure 3. (a) Temperature profiles on the line r = 0.97 R 2 [18] and (b) temperature contours as a function of the axial position z / R 1 for α = 0 and α = 1 at W i = 5 and Δ T = 0 K using M2.
Figure 3. (a) Temperature profiles on the line r = 0.97 R 2 [18] and (b) temperature contours as a function of the axial position z / R 1 for α = 0 and α = 1 at W i = 5 and Δ T = 0 K using M2.
Polymers 14 04099 g003
Figure 4. (a) Axial normal stress profiles τ P , z z / ( η 0 U ¯ z , 2 / R 2 ) on the line r = 0.97 R 2 [18] and (b) axial normal stress contours as a function of the axial position z / R 1 for α = 0 and α = 1 at W i = 5 and Δ T = 0 K using M2.
Figure 4. (a) Axial normal stress profiles τ P , z z / ( η 0 U ¯ z , 2 / R 2 ) on the line r = 0.97 R 2 [18] and (b) axial normal stress contours as a function of the axial position z / R 1 for α = 0 and α = 1 at W i = 5 and Δ T = 0 K using M2.
Polymers 14 04099 g004
Figure 5. Contours of (a) first normal stress difference ( τ P , z z τ P , r r ) / ( η 0 U ¯ z , 2 / R 2 ) and (b) shear stress τ P , r z / ( η 0 U ¯ z , 2 / R 2 ) for α = 0 , W i = 5 and Δ T = 0 K using M2.
Figure 5. Contours of (a) first normal stress difference ( τ P , z z τ P , r r ) / ( η 0 U ¯ z , 2 / R 2 ) and (b) shear stress τ P , r z / ( η 0 U ¯ z , 2 / R 2 ) for α = 0 , W i = 5 and Δ T = 0 K using M2.
Polymers 14 04099 g005
Figure 6. (a) Axial velocity profiles U z / U ¯ z , 2 on the line r = 0.97 R 2 [18] and (b) axial velocity contours as a function of the axial position z / R 1 for α = 0 and α = 1 at W i = 5 and Δ T = 0 K using M2.
Figure 6. (a) Axial velocity profiles U z / U ¯ z , 2 on the line r = 0.97 R 2 [18] and (b) axial velocity contours as a function of the axial position z / R 1 for α = 0 and α = 1 at W i = 5 and Δ T = 0 K using M2.
Polymers 14 04099 g006
Figure 7. (a) Temperature T and (b) axial velocity U z / U ¯ z , 2 as a function of the radial distance r / R 1 at the outlet, with W i = 5 , α = 0 and temperature jumps Δ T = 30 K, Δ T = 0 K and Δ T = + 30 K using M2 [18].
Figure 7. (a) Temperature T and (b) axial velocity U z / U ¯ z , 2 as a function of the radial distance r / R 1 at the outlet, with W i = 5 , α = 0 and temperature jumps Δ T = 30 K, Δ T = 0 K and Δ T = + 30 K using M2 [18].
Polymers 14 04099 g007
Figure 8. (a) Temperature T and (b) axial velocity U z / U ¯ z , 2 contours at W i = 5 , α = 0 and temperature jumps Δ T = 30 K and Δ T = + 30 K using M2.
Figure 8. (a) Temperature T and (b) axial velocity U z / U ¯ z , 2 contours at W i = 5 , α = 0 and temperature jumps Δ T = 30 K and Δ T = + 30 K using M2.
Polymers 14 04099 g008
Figure 9. Contours of (a) first normal stress difference ( τ P , z z τ P , r r ) / ( η 0 U ¯ z , 2 / R 2 ) and (b) shear stress τ P , r z / ( η 0 U ¯ z , 2 / R 2 ) for α = 0 , W i = 5 , Δ T = 30 K (top) and Δ T = + 30 K (bottom) using M2.
Figure 9. Contours of (a) first normal stress difference ( τ P , z z τ P , r r ) / ( η 0 U ¯ z , 2 / R 2 ) and (b) shear stress τ P , r z / ( η 0 U ¯ z , 2 / R 2 ) for α = 0 , W i = 5 , Δ T = 30 K (top) and Δ T = + 30 K (bottom) using M2.
Polymers 14 04099 g009
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.
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.
BlockMesh 1 (M1)Mesh 2 (M2)
Nz × Nr f z f r Nz × Nr f z f r
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
NC4293 17172
Δ z min = Δ r min 0.02 R 2 Δ z min = Δ r min 0.01 R 2
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.
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 W i = 5 and Δ T = 0 K.
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 W i = 5 and Δ T = 0 K.
MeshNumber of IterationsExecution Time [s]
CSS/CCSS/C
M1827357,681432103176017
M21484778,34452468913,10219
M1: 4293 CV; M2: 17172 CV.
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Fernandes, C. A Fully Implicit Log-Conformation Tensor Coupled Algorithm for the Solution of Incompressible Non-Isothermal Viscoelastic Flows. Polymers 2022, 14, 4099. https://doi.org/10.3390/polym14194099

AMA Style

Fernandes C. A Fully Implicit Log-Conformation Tensor Coupled Algorithm for the Solution of Incompressible Non-Isothermal Viscoelastic Flows. Polymers. 2022; 14(19):4099. https://doi.org/10.3390/polym14194099

Chicago/Turabian Style

Fernandes, Célio. 2022. "A Fully Implicit Log-Conformation Tensor Coupled Algorithm for the Solution of Incompressible Non-Isothermal Viscoelastic Flows" Polymers 14, no. 19: 4099. https://doi.org/10.3390/polym14194099

APA Style

Fernandes, C. (2022). A Fully Implicit Log-Conformation Tensor Coupled Algorithm for the Solution of Incompressible Non-Isothermal Viscoelastic Flows. Polymers, 14(19), 4099. https://doi.org/10.3390/polym14194099

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop