Abstract
We present a flux approximation scheme for the incompressible Navier-Stokes equations, that is based on a flux approximation scheme for the scalar advection-diffusion-reaction equation that we developed earlier. The flux is computed from local boundary value problems (BVPs) and is expressed as a sum of a homogeneous and an inhomogeneous part. The homogeneous part depends on the balance of the convective and viscous forces and the inhomogeneous part depends on source terms included in the local BVP.
Access provided by Autonomous University of Puebla. Download conference paper PDF
Similar content being viewed by others
Keywords
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.
1 Introduction
The numerical solution of the incompressible Navier-Stokes equations requires appropriate spatial and temporal discretisation methods. For the spatial discretisation we consider a finite volume method (FVM), in which the conservation laws are integrated over a disjoint set of control volumes. The resulting semi-discrete conservation laws require fluxes which need to be approximated at the interfaces of the control volumes. Standard methods for the approximation of the fluxes include the central difference (CD) and upwind (UW) approximations. These methods are a consequence of two limit case solutions, i.e., the CD method results from the no-flow solution whereas the UW method corresponds to inviscid flow. This issue can be resolved if we use the exponential/hybrid scheme (as described in [1]), in which the flux approximation is based on the local balance of the convective and viscous forces, given by the solution of a homogeneous local BVP. The exponential scheme can be further extended by including the pressure gradient, the gradient of the transverse flux or the cross-flux and the time derivative of the velocity components as source terms in the local BVP. In this contribution we restrict ourselves to the steady computation of the flux and consider only the effects of including the pressure gradient and the gradient of the cross-flux.
Our objective in this paper is to formulate a flux approximation scheme, such that the computed numerical flux not only depends on the convective and viscous forces, but also includes the effects of the source terms affecting the fluid flow. Such a scheme should provide a flux approximation which is locally consistent with the corresponding conservation law. Our scheme is inspired by the complete flux-scheme for the convection-diffusion-reaction equation described in [2], in which an integral representation for the flux is derived using local BVPs for the entire equation, including the source term. In [3, 4] we have presented a similar method for the computation of the interface velocities required in the discrete convective terms using local BVPs, including the pressure gradient and the gradient of the cross-flux in the source term.
In this contribution we consider the case of two-dimensional flow. In Sect. 2 we outline the underlying FVM. Section 3 gives the integral representations of the fluxes as well as the closure of the flux scheme. In Sect. 4 we use the flux scheme to simulate flow in a lid-driven square cavity and compare the flux scheme with the CD scheme and the benchmark results. Finally, we end with a summary and concluding remarks in Sect. 5.
2 Finite Volume Method
In this section we briefly outline the FVM for the incompressible Navier-Stokes equations. Consider the two-dimensional incompressible Navier-Stokes equations
where \(\boldsymbol{u} = u\boldsymbol{e}_{x} + v\boldsymbol{e}_{y}\) is the flow velocity, p is the kinematic pressure and ε = 1∕Re, with Re being the Reynolds number of the flow. For the spatial discretisation we use a staggered grid configuration as shown in Fig. 1. We have different control volumes for the discretisation of the u- and v-momentum equations. We express equation (1b) component-wise, as
Integrating equation (2a) over a control volume Ω u and applying Gauss’ theorem we get
where \(\boldsymbol{n}\) is the outward unit normal vector to the boundary ∂ Ω u. This integral form of the conservation law can be approximated over the control volume Ω i+1∕2, j u shown in Fig. 1 using the mid-point rule as follows:
where f u, x: = u 2 −ε u x , f u, y: = uv −ε u y and f i, j u, x ≈ f u, x(x i , y j ). Similarly, equation (2b) can be discretised over the control volume Ω i, j v as:
with f v, x: = uv −ε v x and f v, y: = v 2 −ε v y .
We begin with the approximation of the flux f i+1, j u, x using the quasi-one-dimensional formulation of equation (2a), i.e.,
Restricting the above equation to the interval x ∈ [x i+1∕2, x i+3∕2] and y = y j , the boundary conditions read
The term s acts as the source term for the flux f u, x, giving the forces driving the flux. We have included the inertial term u t in the source term. However, in this contribution we focus on the steady computation of the fluxes, i.e., u t = 0.
The components of the fluxes \(\boldsymbol{f}^{u}\) and \(\boldsymbol{f}^{v}\) are nonlinear, thereby making the local BVPs nonlinear. The flux components are linearised using the interface velocities which are computed at the interface of the control volume. For example, the nonlinear term u 2 in f u, x is linearised as Uu, where U is the approximation of the interface velocity. The details regarding the iterative computation of the interface velocities using local BVPs are given in [3, 4]. Thus, for the approximation of the flux f i+1, j u, x we solve the linearised local BVP
In the next section we give the details regarding the solution of the above local BVP.
3 Integral Representation of the Fluxes
The flux approximation scheme is based on the computation of the flux for the scalar advection-diffusion-reaction equation as described in [2]. The model equation is given by φ t + (a φ −ε φ x ) x = s, where the scalar flux is defined as f = a φ −ε φ x , φ being the unknown quantity. We outline the computation of the scalar flux using a local BVP and then extend the scheme to the Navier-Stokes equations. The computation of the flux f i+1 at the cell edge \(x_{i+1} = \tfrac{1} {2}(x_{i+1/2} + x_{i+3/2})\) is based on the following model BVP:
For the solution of the above local BVP we need the following variables:
with Δ x = x i+3∕2 − x i+1∕2 and where P is the (grid) Péclet number. From [2], we get that the flux f i+1 is the sum of a homogeneous (f h) and an inhomogeneous (f i) part, i.e.,
For the incompressible Navier-Stokes equations, we first linearise the flux component f u, x by defining \(\tilde{f}^{u,x} = Uu -\epsilon u_{x}\), which can be computed using the model BVP (7). In the following we restrict ourselves to the approximation of the linearised flux \(\tilde{f}^{u,x}\). Now, the source term is given by s = −p x − (f u, y) y . To simplify the computation of the inhomogeneous part, we make the following assumptions for the source term:
-
1.
Pressure gradient: The pressure p is taken to be piecewise linear, consequently the pressure gradient is piecewise constant, given by its CD approximation:
$$\displaystyle{ p_{x}(x,y_{j}) \approx \left \{\begin{array}{@{}l@{\quad }l@{}} (\delta _{x}p)_{i+1/2,j} = \frac{1} {\varDelta x}(p_{i+1,j} - p_{i,j}),\quad \quad &x_{i+1/2} \leq x \leq x_{i+1}, \\ (\delta _{x}p)_{i+3/2,j} = \frac{1} {\varDelta x}(p_{i+2,j} - p_{i+1,j}),\quad \quad &x_{i+1} < x \leq x_{i+3/2}.\end{array} \right. }$$ -
2.
Cross-flux gradient: the gradient of the cross-flux (f u, y) y is taken to be piecewise constant, given by the CD approximation:
$$\displaystyle{ (\,f^{u,y})_{ y}(x,y_{j}) \approx \left \{\begin{array}{@{}l@{\quad }l@{}} C_{i+1/2,j}^{u},\quad x_{i+1/2} \leq x \leq x_{i+1},\quad \\ C_{i+3/2,j}^{u},\quad x_{i+1} < x \leq x_{i+3/2},\quad \end{array} \right. }$$with
$$\displaystyle{C_{i+1/2,j}^{u} = \dfrac{1} {\varDelta y}\Big(F_{i+1/2,j+1/2}^{u,y} - F_{ i+1/2,j-1/2}^{u,y}\Big),}$$F u, y being the numerical approximation of the linearised flux component \(\tilde{f}^{u,y}\).
From the above we get that s is piecewise constant over the domain making S piecewise linear. Moreover, we also have that U and ε are constants on the domain x i+1∕2 < x < x i+3∕2. Thus, evaluating expressions (8b) and (8c), we get that F i+1, j u, x, is given by
where P u = U Δ x∕ε and
We further split the inhomogeneous part into terms depending on the gradient of the cross-flux term (F u, x, c) and the pressure gradient (F u, x, p), using s i+1∕2, j = −(δ x p) i+1∕2, j − C i+1∕2, j u in equation (9c).
Thus, we have computed the numerical flux F i+1, j u, x as the sum of a homogeneous and an inhomogeneous part using local BVPs. Observe that the homogeneous flux component can be expressed as a weighted mean of the CD flux (F cd) and the UW flux (F uw) as follows
where A(z) is a weight function defined as A(z): = 2(1 − B(z))∕z. Figure 2 for the function A(z), shows that for diffusion dominated flows (P u → 0), the homogeneous scheme reduces to the CD scheme, whereas for convection dominated flows ( | P u | ≫ 1), it reduces to the UW scheme. Analogously, the discrete source terms s i+1∕2, j and s i+3∕2, j involved in the inhomogeneous part have equal contributions, when the Péclet number is zero. For higher Péclet numbers the upwind source term has a larger contribution to the inhomogeneous flux part (Fig. 2).
3.1 Closure of the Scheme
So far we have derived an expression for the approximation of the flux component F i+1, j u, x. For the semi-discrete momentum equation (3) we also need to approximate the cross-flux f u, y. For the closure of the scheme we restrict ourselves to the homogeneous flux part for the cross-flux component. Thus, the flux f i+1∕2, j+1∕2 u, y is computed from the local BVP :
where V is the estimate of the interface velocity at (x i+1∕2, y j+1∕2). On solving the above homogeneous local BVP we find that the flux is given by :
Similarly, the fluxes and the cross-fluxes in equation (4) are also computed from local BVPs. The flux f i, j+1 v, y is computed using the inhomogeneous local BVP :
for which expressions analogous to (9) can be derived. Again, for the computation of the cross-flux f i+1∕2, j+1∕2 v, x we solve the homogeneous local BVP :
In the following section we test the flux schemes described in this section for the lid-driven flow.
4 Numerical Results
In this section we apply the flux schemes to the flow in a lid-driven cavity, in order to assess the accuracy of the scheme. The lid-driven cavity flow is well suited to investigate the effects of including the cross-flux term in the source term. We use the results from Ghia-Ghia-Shin [5] as the reference. Figures 3 and 4 show the u-velocity profile along the vertical center-line of the cavity. In Fig. 3 we compare the homogeneous flux scheme, the 1-D flux scheme (including the pressure-gradient as the source term), and the 2-D flux scheme (including both cross-flux and the pressure-gradient), computed on a coarse 20 × 20 grid, with the finer grid (128 × 128) Ghia-Ghia-Shin solution for Re = 100. Since the pressure gradient is practically zero across the domain, we do not see much difference between the homogeneous and the 1-D flux scheme. However the inclusion of the cross-flux term in the source term gives us a higher accuracy.
Next, we compare the flux scheme with the CD scheme for Re = 400, (see Fig. 4). Again we compare the coarse-grid solution (20 × 20) with the Ghia-Ghia-Shin results. We can observe that the flux schemes exhibit higher accuracy compared to the CD scheme. The difference between the flux schemes becomes very small, with the 2-D flux scheme still being more accurate than the others though.
5 Conclusion
In the preceding sections we presented methods for the approximation of the fluxes derived from local BVPs. The computed flux is the sum of a homogeneous and an inhomogeneous part. The homogeneous part is a weighted mean of the UW and CD scheme and the inhomogeneous part depends on the source term in the BVP, i.e., the pressure-gradient and the cross-flux gradient. The inclusion of the source terms provides higher accuracy to the flux approximation schemes, as observed from the case of lid-driven cavity flow.
The scheme can be further extended by including the time derivative of the velocity-component in the source term in the local BVP for the flux computation, giving the transient flux scheme (TFS). The TFS combined with implicit Runge-Kutta methods, should provide an accurate temporal discretisation method.
References
S.V. Patankar, Numerical Heat Transfer and Fluid Flow. Series in Computational Methods in Mechanics and Thermal Sciences (Hemisphere Publishing Corporation, New York, 1980)
J.H.M. ten Thije Boonkkamp, M.J.H. Anthonissen, The finite volume-complete flux scheme for advection-diffusion-reaction equations. J. Sci. Comput. 46, 47–70 (2011)
N. Kumar, J.H.M. ten Thije Boonkkamp, B. Koren, A new discretization method for the convective terms in the incompressible Navier-Stokes equations, in Finite Volumes for Complex Applications VII-Methods and Theoretical Aspects. Springer Proceedings in Mathematics and Statistics, vol. 77 (Springer, 2014), pp. 363–371
N. Kumar, J.H.M. ten Thije Boonkkamp, B. Koren, A sub-cell discretization method for the convective terms in the incompressible Navier-Stokes equations, in Spectral and High Order Methods for Partial Differential Equations ICOSAHOM2014, Lecture Notes in Computational Science and Engineering, vol. 106 (Springer, 2014), pp. 295–303
U. Ghia, K.N. Ghia, C.T. Shin, High-Re solutions for incompressible flow using the Navier-Stokes equations and a multigrid method. J. Comput. Phys. 48, 387–411 (1982)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2016 Springer International Publishing Switzerland
About this paper
Cite this paper
Kumar, N., ten Thije Boonkkamp, J.H.M., Koren, B. (2016). Flux Approximation Scheme for the Incompressible Navier-Stokes Equations Using Local Boundary Value Problems. In: Karasözen, B., Manguoğlu, M., Tezer-Sezgin, M., Göktepe, S., Uğur, Ö. (eds) Numerical Mathematics and Advanced Applications ENUMATH 2015. Lecture Notes in Computational Science and Engineering, vol 112. Springer, Cham. https://doi.org/10.1007/978-3-319-39929-4_5
Download citation
DOI: https://doi.org/10.1007/978-3-319-39929-4_5
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-39927-0
Online ISBN: 978-3-319-39929-4
eBook Packages: Mathematics and StatisticsMathematics and Statistics (R0)