선정목록으로
Low-diffusivity scalar transport using a WENO scheme and dual meshing
간접 관련 수소연료전지 · (5) 연료전지용 수분제어장치(가습기) (6) PEM(고분자전해질막)(7) MEA(막전극접합체)
기본 정보
- 저자
- DOI
- 10.48550/arxiv.1208.5079
- 저널
- arXiv (Cornell University)
- 발행년도
- 2022
- 발행기관
- Cornell University
- 피인용수
- 0
- 라이선스
- 0
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.48550/arxiv.1208.5079
- 토픽
- Heat and Mass Transfer in Porous Media
- OpenAlex ID
- W6891707105
평가 내용
- 관련도
- 간접 관련
- 사업분야
- 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
- 부 분야
- (6) PEM(고분자전해질막), (7) MEA(막전극접합체)
- R&D 측면
- 분석·모델링
- 확신도
- 0.70
- 근거 용어
- scalar transport, mass transfer, interfacial mass transfer, WENO scheme, convection-diffusion equation
- 판단 근거
- 본 논문은 저확산 물질의 계면 질량 전달을 정밀하게 모사하기 위한 수치 해석 기법(WENO scheme 및 Dual meshing)을 다루고 있습니다. 이는 수소연료전지(PEMFC)의 핵심 요소인 막가습기(5) 내 수분 제어, 이온전도성 고분자막(6) 및 막전극접합체(7)에서의 가스/수분 확산 및 물질 전달 현상을 시뮬레이션하는 수치 모델링 기술에 간접적으로 활용될 수 있습니다.
- R&D 활용 포인트
- PEMFC의 중공사막(hollow fiber membrane)이나 이온교환막 내에서의 수증기 및 가스 투과 거동을 정밀하게 예측하기 위한 CFD(전산유체역학) 모델 고도화에 활용 가능합니다.
- 평가 입력
- 본문 72,760자 중 30,032자 발췌
초록
Interfacial mass transfer of low-diffusive substances in an unsteady flow environment is marked by a very thin boundary layer at the interface and other regions with steep concentration gradients. A numerical scheme capable of resolving accurately most details of this process is presented. In this scheme, the fourth-order accurate WENO method developed by Liu et al. (1994) was implemented on a non-uniform staggered mesh to discretize the scalar convection while for the scalar diffusion a fourth-order accurate central discretization was employed. The discretization of the scalar convection-diffusion equation was combined with a fourth-order Navier-Stokes solver which solves the incompressible flow. A dual meshing strategy was employed, in which the scalar was solved on a finer mesh than the incompressible flow. The solver was tested by performing a number of two-dimensional simulations of an unstably stratified flow with low diffusivity scalar transport. The unstable stratification led to buoyant convection which was modelled using a Boussinesq approximation with a linear relationship between flow temperature and density. The order of accuracy for one-dimensional scalar transport on a stretched and uniform grid was also tested. The results show that for the method presented above a relatively coarse mesh is sufficient to accurately describe the fluid flow, while the use of a refined mesh for the low-diffusive scalars is found to be beneficial in order to obtain a highly accurate resolution with negligible numerical diffusion.
본문 72,760자
본문 펼치기
## Low-diffusivity scalar transport using a WENO scheme and dual meshing
B. Kubrak <sup>a</sup>, H. Herlina <sup>b</sup>, F. Greve <sup>c</sup>, J.G. Wissink <sup>a,1</sup>
_aBrunel University London, Kingston Lane, Uxbridge, UB8 3PH, UK_
_bKIT, Karlsruhe Institute of Technology, Germany_
_cTechnical University Dresden, Germany_
Abstract
Interfacial mass transfer of low-diffusive substances in an unsteady flow environment is marked by a very thin
boundary layer at the interface and other regions with steep concentration gradients. A numerical scheme capable of
resolving accurately most details of this process is presented. In this scheme, the fifth-order accurate WENO method
developed by Liu et al. [13] was implemented on a non-uniform staggered mesh to discretize the scalar convection
while for the scalar diffusion a fourth-order accurate central discretization was employed. The discretization of the
scalar convection-diffusion equation was combined with a fourth-order Navier-Stokes solver which solves the incompressible flow. A dual meshing strategy was employed, in which the scalar was solved on a finer mesh than the
incompressible flow. The order of accuracy of the solver for one-dimensional scalar transport was tested on both
stretched and uniform grids. Compared to the fifth-order WENO implementation of Jiang and Shu [10], the Liu et al.
[13] method was found to be superior on very coarse meshes. The solver was further tested by performing a number
of two-dimensional simulations. At first a grid refinement test was performed at zero viscosity with shear acting on
an initially axisymmetric scalar distribution. A second refinement test was conducted for an unstably stratified flow
with low diffusivity scalar transport. The unstable stratification led to buoyant convection which was modelled using
a Boussinesq approximation with a linear relationship between flow temperature and density. The results show that
for the method presented a relatively coarse mesh is sufficient to accurately describe the fluid flow, while the use of a
refined dual mesh for the low-diffusive scalars is found to be beneficial in order to obtain a highly accurate resolution
with negligible numerical diffusion.
_Keywords:_
Air-Water Interface, DNS, Gas Transfer, WENO Scheme, Scalar Transport, high Schmidt number.
1. Introduction
To accurately resolve low-diffusivity scalar transport problems special numerical schemes are necessary for the
discretization of the convective term in order to avoid under- and/or overshoots of the scalar quantity. The first order
upwind method, for example, could be used to effectively avoid such under- and/or overshoots but at the cost of
introducing an excessive amount of numerical diffusion [5, 17]. Up to now, a number of DNS studies of gas transfer
across the air-water interfaces have been carried out for shear driven and stirred vessels. Hasegawa and Kasagi [8]
studied wind-shear driven mass transfer across the turbulent interface at a Schmidt number of _S c_ = 100. They used
a pseudo-spectral Fourier method for the spatial discretization in the horizontal directions, whereas the finite volume
method is employed in the normal direction in which turbulent and molecular mass fluxes are evaluated at a cell
surface with second-order accuracy. Handler et al. [6] used a pseudo spectral approach with Fourier expansions to
carry out direct numerical simulations for the transport of a passive scalar at a shear-free boundary in fully developed
channel flow. Similarly, Banerjee et al. also used a pseudo-spectral method to extensively study the mechanisms of
1Tel.: +44 (0)1895 267371
E-mail: Jan.wissink@brunel.ac.uk
_Preprint submitted to Journal of Computational Physics_ _May 23, 2022_
turbulence and scalar exchange at the air-water interface in several publications (see [3, 2] and references therein).
Schwertfirm and Manhart [15] also studied passive scalar transport in a turbulent channel flow for Schmidt numbers up
to _S c_ = 49. They used a similar approach as presented in the present work by solving the scalar on a finer grid than the
velocity which was mapped by a conservative interpolation to the fine-grid. An explicit iterative finite-volume scheme
of sixth-order accuracy was employed to calculate all convective and diffusive fluxes, while for the time-integration a
third order Runge-Kutta method was used [16].
The pseudo-spectral methods used above have excellent error properties when the solution is relatively smooth.
However, a main disadvantage of using spectral methods lies in the formation of non-physical oscillations near steep
gradients that may regularly occur in the solution of a convection-diffusion problem when the diffusivity is extremely
small. These Gibbs oscillations (under- and/or overshoots) [19] near steep gradients are not uncommon and can
also be found when higher-order central finite-difference methods are used on a relatively coarse mesh to discretize
the convection of a scalar with low diffusivity. This can be overcome by using weighted essentially non-oscillatory
schemes (WENO) which have excellent shock capturing capabilities. Their non-oscillatory behaviour is advantageous
in dealing with very steep gradients. In this paper, we present a numerical scheme developed specifically to resolve the
details of the interfacial mass transfer of low-diffusive substances by adapting the weighted essentially non-oscillatory
(WENO) by Liu et al. [13]. They are based on essentially non-oscillatory (ENO) schemes which were first published
in the meanwhile classic paper of Harten et al. [7]. Liu et al. [13] introduced the idea of taking a convex combination
of interpolation polynomials to construct a stencil using non-linear weights with a high order-of-accuracy in smooth
regions while weighing out the non-smooth stencils in regions containing steep gradients or discontinuities. They
studied WENO(2 _r_ - 1) schemes for different stencil sizes, i.e. _r_ = 2 (WENO3) and _r_ = 3 (WENO5).
In the meantime a large variety of WENO schemes has been developed. Many improvements were made by
modifying the smoothness determination. For instance, Jiang and Shu [10] introduced a new smoothness indicator
that is used to evaluate the non-linear weights. The size of the stencil has also been further increased by Balsara
and Shu [1] extending it up to _r_ = 6 (WENO11). Henrick et al. [9] could show that the weights generated by the
classical choice of smoothness indicators in [10] failed to recover the maximum order of the scheme at critical points
of the solution where the first derivatives are zero. They developed the so called WENOM schemes where a mapping
procedure is introduced to keep the weights of the stencils as close as possible to the optimal weights. The resulting
(mapped) WENOM scheme of Henrick et al. [9] presented more accurate results close to discontinuities. Even more
recently, Borges et al. [4] achieved the same results as mapped WENO schemes without mapping but by improving
the accuracy of the classical WENO5 scheme by devising a new smoothness indicator and non-linear weights using
the whole 5-points stencil and not the classical smoothness indicator of Jiang and Shu [10] which uses a composition
of three 3-points stencils. The schemes of Borges et al. [4] are known as WENO-Z schemes. Of all the schemes
discussed above the classical WENO5 scheme is used most widely [9, 14, 12]. In our simulations we do not expect
any discontinuities in the scalar field so that the classical WENO5 scheme of Liu et al. [13] is a good choice to
accurately resolve low-diffusive scalar transport which may lead to steep concentration gradients.
An example of application is given for the 2D case of buoyant-convectively driven mass transfer with a Prandtl
number of _Pr_ = 6 and a Schmidt number of _S c_ = 500. One typical process in nature of such a case is the absorption
of oxygen into lakes during night time. This process is controlled by the low diffusivity of the dissolved gas in the
water and the convective instability triggered by the density difference between the cold water at the top surface and
the warm water in the bulk. The convective-instability enhances the gas transfer into the water body significantly
compared with the static condition with only diffusive gas transfer. This low diffusive process results in a very thin
concentration boundary layer that is found at the water surface. Experimental measurements near the surface (such as
the mass flux) are very difficult. There is a need to fully resolve the near surface mechanisms in order to understand
the physical mechanism.
Below, the capability of the newly developed code to accurately resolve low-diffusivity scalar transport problems
will be illustrated. First the full set of 2D equations to be solved and the formulation of the numerical schemes used in
Section 2 are presented. Section 3 covers 1D numerical experiments that were performed to determine the accuracy of
the applied schemes on uniform and stretched meshes for both purely convective and purely diffusive scalar transport.
The numerical schemes were further tested by performing a number of 2D-simulations. The first 2D application
case, presented in Section 4, deals with a zero-viscosity steady shear flow acting on an initially axisymmetric scalar
distribution. In the last section the solver was tested for the 2D case of low-diffusivity scalar transport in buoyancy
driven flow.
2
2. Formulation of Numerical Method
The full set of the 2D governing equations to be solved in order to address/simulate the low-diffusivity scalar
transport problem are first presented in this section followed by the formulation of the numerical schemes used. For
the scalar transport the two-dimensional convection diffusion equation of the scalar ϕ = ϕ( _x_, _z_, _t_ ) in conservative form
reads
<u>∂ϕ∂</u> _t_ <sup>+</sup> <sup><u>∂</u></sup> ∂ <sup>_<u>u</u>_</sup> _x_ <sup><u>ϕ</u></sup>
= _D_
∂ <sup>_<u>w</u>_</sup> _z_ <sup><u>ϕ</u></sup>
- <u>∂∂2</u> _x_ <u>ϕ</u> <sup>2</sup> <sup>+</sup> <sup><u>∂</u></sup> ∂ <sup>2</sup> _z_ <sup><u>ϕ2</u></sup>
<u>∂ϕ</u>
∂ <sup>_<u>u</u>_</sup> _x_ <sup><u>ϕ</u></sup> <sup>+</sup> <sup><u>∂</u></sup> ∂ <sup>_<u>w</u>_</sup> _z_ <sup><u>ϕ</u></sup>
∂ _z_ <sup>2</sup>
, (1)
where _x_ and _z_ are the horizontal and vertical directions, respectively, _u_ and _w_ are the velocities in the _x_ and _z_ directions,
_D_ is the molecular diffusion coefficient of the dissolved substance and _t_ denotes time.
For the flow-field the incompressible Navier-Stokes equation is solved. The continuity equation for two-dimensional
incompressible flow reads,
<u>∂∂</u> _<u>ux</u>_ <sup>+</sup> <sup><u>∂</u></sup> ∂ <sup>_<u>w</u>_</sup> _z_
(2)
<sup><u>∂</u></sup> ∂ <sup>_<u>w</u>_</sup> _z_ <sup>= 0,</sup>
and the momentum equations are given by
<u>∂</u> _<u>u</u>_
<u>∂</u> _<u>u</u>_ = - <sup><u>∂</u></sup> <sup>_<u>p</u>_</sup>
∂ _t_ ∂ _x_
<u>∂</u> _<u>w</u>_
<u>∂</u> _<u>w</u>_ = - <sup><u>∂</u></sup> <sup>_<u>p</u>_</sup>
∂ _t_ ∂ _z_
<sup><u>∂</u></sup> ∂ <sup>_<u>p</u>_</sup> _x_ <sup>+</sup> <sup>_a_</sup> (3)
<sup><u>∂</u></sup> ∂ <sup>_<u>p</u>_</sup> _z_ <sup>+</sup> <sup>_c_</sup> (4)
where _p_ is pressure and _a_ and _c_ represent the sum of the convective and diffusive terms
_a_ = - <sup><u>∂</u></sup> <sup>_<u>u</u>_</sup> <sup>2</sup>
∂ _x_
<sup><u>∂</u></sup> ∂ <sup>_<u>uw</u>_</sup> _z_ <sup>+</sup> _Re_ <sup><u>1</u></sup>
_Re_
<sup><u>∂</u></sup> ∂ <sup>_<u>u</u>_</sup> _x_ <sup>2</sup> <sup>−</sup> <sup><u>∂</u></sup> ∂ <sup>_<u>uw</u>_</sup> _z_
<sup><u>∂</u></sup> ∂ <sup>_<u>w</u>_</sup> _z_ <sup>2</sup> <sup>−</sup> <sup><u>∂</u></sup> ∂ <sup>_<u>uw</u>_</sup> _x_
_Re_
- <u>∂∂2</u> _xu_ <sup>2</sup> <sup>+</sup> <sup><u>∂</u></sup> ∂ <sup>2</sup> _z_ <sup>_<u>u</u>_</sup> <sup>2</sup>
(5)
_c_ = - <sup><u>∂</u></sup> <sup>_<u>w</u>_</sup> <sup>2</sup>
∂ _z_
∂ <sup>_<u>uw</u>_</sup> _x_ <sup>+</sup> _Re_ <sup><u>1</u></sup>
- <u>∂∂2</u> _xw_ <sup>2</sup> <sup>+</sup> <sup><u>∂</u></sup> ∂ <sup>2</sup> _z_ <sup>_<u>w</u>_</sup> <sup>2</sup>
(6)
where _Re_ is the Reynolds number.
_2.1._ _Discretization of the convection-di_ ff _usion equation of the scalar_ ϕ
In this section we outline the discretization of the transport equation for the scalar ϕ as given in equation (1). The
diffusive term on the right of (1) is discretized using a fourth-order accurate central scheme, while the convective term
is discretized using variants of the fifth-order WENO schemes developed by Liu et al. [13] and Jiang and Shu [10]. The
WENO schemes use an approximation of the scalar fluxes at the cell interface by employing interpolation schemes.
The reconstruction procedure produces a high order accurate approximation of the solution from the calculated cell
averages. Below the implemented scheme is detailed only in one dimension. Generalization to higher dimensions is
straightforward.
When ignoring the diffusive term, the one dimensional variant of (1) can be rewritten as
<u>∂ϕ</u>
(7)
∂ <sup>_<u>u</u>_</sup> _x_ <sup><u>ϕ</u></sup>
<u>∂ϕ∂</u> _t_ <sup>= −</sup> <sup><u>∂</u></sup> ∂ <sup>_<u>u</u>_</sup> _x_ <sup><u>ϕ</u></sup>
where _u_ is the velocity in the _x_ -direction. As we employ a staggered mesh, for the volume centred around _x_ = _xi_, the
convective fluxes _R_ <sup>+</sup> _i_ <sup>and</sup> <sup>_R_</sup> <sup>−</sup> _i_ <sup>are defined by</sup>
<sup>+</sup> _i_ <sup>and</sup> <sup>_R_</sup> <sup>−</sup> _i_
<sup>−</sup> _i_ <sup>are defined by</sup>
_<u>a</u>_ <u>0</u>
_R_ <sup>+</sup> _i_ = _a_ 0 + _a_ 1 + _a_ 2
_<u>a</u>_ <u>0</u>
<sup>+</sup> _i_ = _a_ 0 + _a_ 1 + _a_ 2
_<u>a</u>_ <u>1</u>
<u>12</u> <sup>) +</sup>
_a_ 0 + _a_ 1 + _a_ 2
_<u>a</u>_ <u>1</u>
_Pi_ −1( _xi_ + <u>12</u> <sup>) +</sup>
_a_ 0 + _a_ 1 + _a_ 2
_<u>a</u>_ <u>2</u>
_Pi_ ( _xi_ + <u>12</u> <sup>) +</sup>
_a_ 0 + _a_ 1 + _a_ 2
_Pi_ +1( _xi_ + <u>12</u> <sup>)</sup> (8)
and
_<u>a</u>_ <u>1</u>
_Pi_ −1( _xi_ - <u>12</u> <sup>) +</sup>
_a_ 0 + _a_ 1 + _a_ 2
_<u>a</u>_ <u>2</u>
_Pi_ ( _xi_ - <u>12</u> <sup>) +</sup>
_a_ 0 + _a_ 1 + _a_ 2
_<u>a</u>_ <u>0</u>
_R_ <sup>−</sup> _i_ = _a_ 0 + _a_ 1 + _a_ 2
_<u>a</u>_ <u>0</u>
<sup>−</sup> _i_ = _a_ 0 + _a_ 1 + _a_ 2
_<u>a</u>_ <u>1</u>
<u>12</u> <sup>) +</sup>
_a_ 0 + _a_ 1 + _a_ 2
_Pi_ +1( _xi_ - <u>12</u> <sup>)</sup> (9)
3
where _a_ 0, _a_ 1, _a_ 2 are coefficients and _P_ the Lagrange interpolations polynomials defined in (16). In the implementation
of Liu et al. [13], for _R_ <sup>+</sup> _i_ <sup>the weights for the convex combination of the quadratic Lagrange interpolation polynomials</sup>
are given by,
<u>1</u> <u>1</u> <u>1</u>
_a_ 0 = 12(ε + _IS i_ ) <sup>3</sup> <sup>,</sup> <sup>_a_</sup> <sup>1</sup> <sup>=</sup> 2(ε + _IS i_ +1) <sup>3</sup> <sup>,</sup> <sup>_a_</sup> <sup>2</sup> <sup>=</sup> 4(ε + _IS i_ +2) <sup>3</sup> <sup>,</sup> (10)
while for _R_ <sup>−</sup> _i_ <sup>the weights are given by</sup>
<u>1</u> <u>1</u> <u>1</u>
_a_ 0 = 4(ε + _IS i_ ) <sup>3</sup> <sup>,</sup> <sup>_a_</sup> <sup>1</sup> <sup>=</sup> 2(ε + _IS i_ +1) <sup>3</sup> <sup>,</sup> <sup>_a_</sup> <sup>2</sup> <sup>=</sup> 12(ε + _IS i_ +2) <sup>3</sup> <sup>,</sup> (11)
where ε = 10 <sup>−6</sup> and the smoothness indicator _IS i_ is defined by
_IS i_ = 2 <sup><u>1</u></sup> <sup>((ϕ</sup> <sup>_i_</sup> <sup>−1 −</sup> <sup>ϕ</sup> <sup>_i_</sup> <sup>−2)2 + (ϕ</sup> <sup>_i_</sup> <sup>−</sup> <sup>ϕ</sup> <sup>_i_</sup> <sup>−1)2) + (ϕ</sup> <sup>_i_</sup> <sup>−</sup> <sup>2ϕ</sup> <sup>_i_</sup> <sup>−1 + ϕ</sup> <sup>_i_</sup> <sup>−2)2.</sup> (12)
The original calculation of the weights _a_ 0, _a_ 1 and _a_ 2 as presented above is compared to an alternative developed
by Jiang and Shu [10], in which the weights for _R_ <sup>+</sup> _i_ <sup>are given by</sup>
<u>1</u> <u>6</u> <u>3</u>
_a_ 0 = 10(ε + _IS_ 0) <sup>_r_</sup> <sup>,</sup> <sup>_a_</sup> <sup>1</sup> <sup>=</sup> 10(ε + _IS_ 1) <sup>_r_</sup> <sup>,</sup> <sup>_a_</sup> <sup>2</sup> <sup>=</sup> 10(ε + _IS_ 2) <sup>_r_</sup> <sup>,</sup> (13)
while for _R_ <sup>−</sup> _i_ <sup>the weights are given by</sup>
<u>3</u> <u>6</u> <u>1</u>
_a_ 0 = 10(ε + _IS_ 0) <sup>_r_</sup> <sup>,</sup> <sup>_a_</sup> <sup>1</sup> <sup>=</sup> 10(ε + _IS_ 1) <sup>_r_</sup> <sup>,</sup> <sup>_a_</sup> <sup>2</sup> <sup>=</sup> 10(ε + _IS_ 2) <sup>_r_</sup> <sup>,</sup> (14)
with the smoothness indicators _IS i_ defined by
<u>13</u>
_IS_ 0 =
12 <sup>(ϕ</sup> <sup>_i_</sup> <sup>−2 −</sup> <sup>2ϕ</sup> <sup>_i_</sup> <sup>−1 + ϕ</sup> <sup>_i_</sup> <sup>)2 +</sup> <sup><u>1</u></sup> 4 <sup>(ϕ</sup> <sup>_i_</sup> <sup>−2 −</sup> <sup>4ϕ</sup> <sup>_i_</sup> <sup>−1 + 3ϕ</sup> <sup>_i_</sup> <sup>)2</sup>
<u>13</u>
_IS_ 1 =
12 <sup>(ϕ</sup> <sup>_i_</sup> <sup>−1 −</sup> <sup>2ϕ</sup> <sup>_i_</sup> <sup>+ ϕ</sup> <sup>_i_</sup> <sup>+1)2 +</sup> <sup><u>1</u></sup> 4 <sup>(ϕ</sup> <sup>_i_</sup> <sup>−1 −</sup> <sup>ϕ</sup> <sup>_i_</sup> <sup>+1)2</sup>
<u>13</u>
_IS_ 2 = (15)
12 <sup>(ϕ</sup> <sup>_i_</sup> <sup>−</sup> <sup>2ϕ</sup> <sup>_i_</sup> <sup>+1 + ϕ</sup> <sup>_i_</sup> <sup>+2)2 +</sup> <sup><u>1</u></sup> 4 <sup>(3ϕ</sup> <sup>_i_</sup> <sup>−</sup> <sup>4ϕ</sup> <sup>_i_</sup> <sup>+1 + ϕ</sup> <sup>_i_</sup> <sup>+2)2.</sup>
Note that in the 1D tests presented below a power of _r_ = 3 in (13) and (14) was used. The upstream central method
can be obtained from both the Liu et al. [13] and Jiang and Shu [10] implementations of the weights by setting all
smoothness indicators _IS_ in (10), (11) and (13), (14) to zero.
The modified quadratic Lagrange interpolations _Pi_ ( _x_ ) in equations (8) and (9) read
_Pi_ ( _x_ ) = ( _xi_ −( _<u>x</u>_ 1−− _<u>xxii</u>_ <u>)()(</u> _<u>xxi</u>_ <u>−−1</u> _<u>x</u>_ - _<u>i</u>_ <u>+</u> _x_ <u>1</u> _i_ <u>)+1)</u> <sup>ϕ</sup> <sup>_i_</sup> <sup>−1 +</sup> ( <sup><u>(</u></sup> _x_ <sup>_<u>x</u>_</sup> _i_ <sup><u>−</u></sup> - <sup>_<u>x</u>_</sup> _x_ <sup>_<u>i</u>_</sup> _i_ <sup><u>−</u></sup> −1 <sup><u>1)(</u></sup> )( <sup>_<u>x</u>_</sup> _xi_ <sup><u>−</u></sup> - <sup>_<u>x</u>_</sup> _x_ <sup>_<u>i</u>_</sup> <sup><u>+</u></sup> _i_ + <sup><u>1</u></sup> 1 <sup><u>)</u></sup> ) <sup>ϕ</sup> <sup>_i_</sup> <sup>+</sup> ( _xi_ +( _<u>x</u>_ 1−− _<u>xxii</u>_ <u>−−11)()(</u> _<u>xxi</u>_ <u>−+1</u> _<u>x</u>_ - _<u>i</u>_ <u>)</u> _xi_ ) <sup>ϕ</sup> <sup>_i_</sup> <sup>+1</sup>
- <sup><u>(</u></sup> <sup>_<u>xi</u>_</sup> <sup><u>−</u></sup> <sup>_<u>xi</u>_</sup> <sup><u>−1)ϕ</u></sup> <sup>_<u>i</u>_</sup> <sup><u>+1−(</u></sup> <sup>_<u>xi</u>_</sup> <sup><u>+1−</u></sup> <sup>_<u>xi</u>_</sup> <sup><u>−1)ϕ</u></sup> <sup>_<u>i</u>_</sup> <sup><u>+(</u></sup> <sup>_<u>xi</u>_</sup> <sup><u>+1−</u></sup> <sup>_<u>xi</u>_</sup> <sup><u>)ϕ</u></sup> <sup>_<u>i</u>_</sup> <sup><u>−1</u></sup> (16)
12( _xi_ +1− _xi_ )
High-order polynomial interpolations to the midpoints _xi_ + 21 <sup>are computed using known grid values of the scalar ϕ.</sup>
The scheme uses a 5-points stencil which is divided into three 3-points stencils as shown in Fig. 1.
These are interpolations of the scalar to the faces of the volume combined with a smoothing term at the right.
Using the above, depending on the signs of _ui_ - 21 <sup>and</sup> <sup>_ui_</sup> <sup>+</sup> <sup><u>1</u></sup> 2 <sup>, we have four possible ways to calculate the discretization</sup>
21 <sup>and</sup> <sup>_ui_</sup> <sup>+</sup> <sup><u>1</u></sup> 2 <sup>, we have four possible ways to calculate the discretization</sup>
of the convective terms _Li_ (ϕ) =
�− _u_ <sup><u>∂ϕ</u></sup> ∂ _x_
- | _xi_ in _xi_ :
4
Figure 1: Schematic illustration of the weighted 5 point convex combination composed of three 3-points stencils
_S_ 0, _S_ 1, _S_ 2 and their respective weights _a_ 0, _a_ 1, _a_ 2 used in the classical WENO5 scheme. [18].
_ui_ + 21 <sup>> 0,</sup> <sup>_ui_</sup> <sup>−</sup> <sup><u>1</u></sup> 2 <sup>> 0 :</sup> <sup>_Li_</sup> <sup>(ϕ)</sup> =
_ui_ + <u>21</u>
<u>21</u> <sup>_R_</sup> _i_ <sup>+</sup> <sup>−</sup> <sup>_u_</sup> _i_ - <sup><u>1</u></sup> <u>2</u>
<u>21</u> <sup>_R_</sup> _i_ <sup>+</sup> <sup>−</sup> <sup>_u_</sup> _i_ - <sup><u>1</u></sup> <u>2</u> <sup>_R_</sup> _i_ <sup>+</sup> −1
_xi_ + <u>12</u> <sup>−</sup> <sup>_xi_</sup> <sup>−</sup> 2 <sup><u>1</u></sup>
<u>12</u> <sup>−</sup> <sup>_xi_</sup> <sup>−</sup> 2 <sup><u>1</u></sup>
_ui_ + <u>12</u> <sup>> 0,</sup> <sup>_ui_</sup> <sup>−</sup> <sup><u>1</u></sup> 2 <sup>< 0 :</sup> <sup>_Li_</sup> <sup>(ϕ)</sup> =
_ui_ + <u>21</u>
<u>21</u> <sup>_R_</sup> _i_ <sup>+</sup> <sup>−</sup> <sup>_u_</sup> _i_ - <sup><u>1</u></sup> <u>2</u>
<u>21</u> <sup>_R_</sup> _i_ <sup>+</sup> <sup>−</sup> <sup>_u_</sup> _i_ - <sup><u>1</u></sup> <u>2</u> <sup>_R_</sup> _i_ <sup>−</sup>
_xi_ + 21 <sup>−</sup> <sup>_xi_</sup> <sup>−</sup> 2 <sup><u>1</u></sup>
21 <sup>−</sup> <sup>_xi_</sup> <sup>−</sup> 2 <sup><u>1</u></sup>
_ui_ + <u>12</u> <sup>< 0,</sup> <sup>_ui_</sup> <sup>−</sup> <sup><u>1</u></sup> 2 <sup>> 0 :</sup> <sup>_Li_</sup> <sup>(ϕ)</sup> =
_ui_ + <u>21</u>
<u>21</u> <sup>_R_</sup> _i_ <sup>−</sup> +1 <sup>−</sup> <sup>_ui_</sup> <sup>−</sup> <sup><u>1</u></sup> <u>2</u>
<sup>_R_</sup> _i_ <sup>−</sup> +1 <sup>−</sup> <sup>_ui_</sup> <sup>−</sup> <sup><u>1</u></sup> <u>2</u> <sup>_R_</sup> _i_ <sup>+</sup> −1
_xi_ + <u>12</u> <sup>−</sup> <sup>_xi_</sup> <sup>−</sup> 2 <sup><u>1</u></sup>
<u>12</u> <sup>−</sup> <sup>_xi_</sup> <sup>−</sup> 2 <sup><u>1</u></sup>
_ui_ + <u>12</u> <sup>< 0,</sup> <sup>_ui_</sup> <sup>−</sup> <sup><u>1</u></sup> 2 <sup>< 0 :</sup> <sup>_Li_</sup> <sup>(ϕ)</sup> =
_ui_ + <u>21</u>
<u>21</u> <sup>_R_</sup> _i_ <sup>−</sup> +1 <sup>−</sup> <sup>_ui_</sup> <sup>−</sup> <sup><u>1</u></sup> <u>2</u>
<u>21</u> <sup>_R_</sup> _i_ <sup>−</sup> +1 <sup>−</sup> <sup>_ui_</sup> <sup>−</sup> <sup><u>1</u></sup> <u>2</u> <sup>_R_</sup> _i_ <sup>−</sup>
_xi_ + <u>12</u> <sup>−</sup> <sup>_xi_</sup> <sup>−</sup> 2 <sup><u>1</u></sup>
<u>12</u> <sup>−</sup> <sup>_xi_</sup> <sup>−</sup> 2 <sup><u>1</u></sup>
By examining the equations above it can be seen that at each interface _xi_ + <u>12</u> <sup>of 2 neighbouring cells the scalar flux (ei-</sup>
ther _ui_ + <u>12</u> <sup>_R_</sup> _i_ <sup>+</sup> <sup>or</sup> <sup>_u_</sup> _i_ + <sup><u>1</u></sup> 2 <sup>_R_</sup> _i_ <sup>−</sup> +1 <sup>) is uniquely determined, which ensures that any scalar quantity that leaves the volume centred</sup>
By examining the equations above it can be seen that at each interface _xi_ + <u>12</u>
<u>12</u> <sup>_R_</sup> _i_ <sup>+</sup> <sup>or</sup> <sup>_u_</sup> _i_ + <sup><u>1</u></sup> 2
ther _ui_ + <u>12</u> <sup>_R_</sup> _i_ <sup>+</sup> <sup>or</sup> <sup>_u_</sup> _i_ + <sup><u>1</u></sup> 2 <sup>_R_</sup> _i_ <sup>−</sup> +1 <sup>) is uniquely determined, which ensures that any scalar quantity that leaves the volume centred</sup>
around _xi_ through this interface will enter the volume centred around _xi_ +1. Upwind information is incorporated by the
way in which the scalar at each cell interface is interpolated. For instance, the interpolation stencil for _R_ <sup>+</sup> _i_ <sup>(8) - which</sup>
is employed when _ui_ + <u>12</u> <sup>></sup> <sup>0</sup> <sup>and</sup> <sup>consists</sup> <sup>of</sup> <sup>five</sup> <sup>points</sup> <sup>with</sup> <sup>_x_</sup> <sup>=</sup> <sup>_xi_</sup> <sup>in</sup> <sup>the</sup> <sup>middle</sup> <sup>-</sup> <sup>is</sup> <sup>used</sup> <sup>to</sup> <sup>calculate</sup> <sup>the</sup> <sup>scalar</sup> <sup>at</sup>
is employed when _ui_ + <u>12</u> <sup>></sup> <sup>0</sup> <sup>and</sup> <sup>consists</sup> <sup>of</sup> <sup>five</sup> <sup>points</sup> <sup>with</sup> <sup>_x_</sup> <sup>=</sup> <sup>_xi_</sup> <sup>in</sup> <sup>the</sup> <sup>middle</sup> <sup>-</sup> <sup>is</sup> <sup>used</sup> <sup>to</sup> <sup>calculate</sup> <sup>the</sup> <sup>scalar</sup> <sup>at</sup>
the location _x_ = _xi_ + 21 <sup>which is located upstream (upwind) of</sup> <sup>_x_</sup> <sup>=</sup> <sup>_xi_</sup> <sup>.</sup> <sup>A similar argument holds for the calculation of</sup>
the location _x_ = _xi_ + 21 <sup>which is located upstream (upwind) of</sup> <sup>_x_</sup> <sup>=</sup> <sup>_xi_</sup> <sup>.</sup> <sup>A similar argument holds for the calculation of</sup>
_R_ <sup>−</sup> _i_ <sup>(9).</sup> <sup>Hence,</sup> <sup>both stencils are</sup> <sup>non-symmetric and use more information from the upwind direction than from the</sup>
downwind direction. Based on this bias, the method discussed above can be classified as an upwind method.
With the methods described here a fifth-order accuracy can be achieved. Note that the weights given to the interpolating polynomials _a_ 0, _a_ 1, _a_ 2 depend on the local smoothness of the solution. Interpolation polynomials defined in
regions where the solution is smooth are given higher weights than those in regions near discontinuities (shocks) or
steep gradients (like the gas concentration near the interface in our application case presented in Section 5).
The diffusive term on the right hand side of (1) is discretized using a fourth-order central finite difference method
for the second derivative such as,
<u>∂</u> <sup>2</sup> <u>ϕ</u>
(17)
∂ _x_ <sup>2</sup> <sup>≈−ϕ</sup> <sup>_<u>i</u>_</sup> <sup><u>+2,</u></sup> <sup>_<u>k</u>_</sup> <sup><u>+ 16ϕ</u></sup> <sup>_<u>i</u>_</sup> <sup><u>+1,</u></sup> <sup>_<u>k</u>_</sup> <sup>−</sup> 12( <sup><u>30</u></sup> δ <sup><u>ϕ</u></sup> _xi_ <sup>_<u>i</u>_</sup> ) <sup><u>,</u></sup> <sup>_<u>k</u>_</sup> <sup>2 + 16ϕ</sup> <sup>_<u>i</u>_</sup> <sup>−1,</sup> <sup>_<u>k</u>_</sup> <sup>−</sup> <sup><u>ϕ</u></sup> <sup>_<u>i</u>_</sup> <sup>−2,</sup> <sup>_<u>k</u>_</sup>
and
<u>∂</u> <sup>2</sup> <u>ϕ</u>
<u>∂∂</u> <sup>2</sup> _z_ <u>ϕ</u> <sup>2</sup> <sup>≈−ϕ</sup> <sup>_<u>i</u>_</sup> <sup><u>,</u></sup> <sup>_<u>k</u>_</sup> <sup><u>+2 + 16ϕ</u></sup> <sup>_<u>i</u>_</sup> <sup><u>,</u></sup> <sup>_<u>k</u>_</sup> <sup><u>+1</u></sup> <sup>−</sup> 12( <sup><u>30</u></sup> δ _z_ <sup><u>ϕ</u></sup> _k_ <sup>_<u>i</u>_</sup> ) <sup><u>,</u></sup> <sup>_<u>k</u>_</sup> <sup>2 + 16ϕ</sup> <sup>_<u>i</u>_</sup> <sup><u>,</u></sup> <sup>_<u>k</u>_</sup> <sup>−1</sup> <sup>−</sup> <sup><u>ϕ</u></sup> <sup>_<u>i</u>_</sup> <sup><u>,</u></sup> <sup>_<u>k</u>_</sup> <sup>−2</sup>
(18)
<sup>−</sup> 12( <sup><u>30</u></sup> δ _z_ <sup><u>ϕ</u></sup> _k_ <sup>_<u>i</u>_</sup> ) <sup><u>,</u></sup> <sup>_<u>k</u>_</sup> <sup>2 + 16ϕ</sup> <sup>_<u>i</u>_</sup> <sup><u>,</u></sup> <sup>_<u>k</u>_</sup> <sup>−1</sup> <sup>−</sup> <sup><u>ϕ</u></sup> <sup>_<u>i</u>_</sup> <sup><u>,</u></sup> <sup>_<u>k</u>_</sup> <sup>−2</sup>
where δ _xi_ = _xi_ + 21 <sup>−</sup> <sup>_xi_</sup> <sup>−</sup> <sup><u>1</u></sup> 2 <sup>and</sup> <sup>δ</sup> <sup>_zk_</sup> <sup>=</sup> <sup>_zk_</sup> <sup>+</sup> 2 <sup><u>1</u></sup> <sup>−</sup> <sup>_zk_</sup> <sup>−</sup> <sup><u>1</u></sup> 2 <sup>,</sup> <sup>respectively.</sup> <sup>On</sup> <sup>a</sup> <sup>stretched</sup> <sup>mesh</sup> <sup>the</sup> <sup>actual</sup> <sup>discretization</sup> <sup>coeffi-</sup>
cients are obtained from the above equations using Lagrange interpolations to a seven-point numerical stencil. The
time integration of the convection-diffusion equation is implemented using a third order Runge-Kutta method (RK3)
developed by Shu and Osher [18] that reads,
5
ϕ <sup>(1)</sup> _i_
ϕ <sup>(2)</sup> _i_
<sup><u>1</u></sup> _i_ + <sup><u>1</u></sup>
4 <sup>ϕ(1)</sup> 4
<sup><u>2</u></sup> _i_ + <sup><u>2</u></sup>
3 <sup>ϕ(2)</sup> 3
<sup>(1)</sup> _i_ = ϕ <sup>_n_</sup> _i_
<sup>_n_</sup> _i_ <sup>+ ∆</sup> <sup>_tLi_</sup> <sup>(ϕ</sup> <sup>_n_</sup> _i_
<sup>_n_</sup> _i_ <sup>)</sup>
<u>3</u>
<sup>(2)</sup> _i_ = _i_ <sup>+</sup> <sup><u>1</u></sup>
4 <sup>ϕ</sup> <sup>_n_</sup> 4
<sup><u>1</u></sup>
4 <sup>∆</sup> <sup>_tLi_</sup> <sup>(ϕ</sup> _i_ <sup>(1))</sup>
<u>1</u>
<sup>(</sup> _i_ <sup>_n_</sup> <sup>+1)</sup> = _i_ <sup>+</sup> <sup><u>2</u></sup>
3 <sup>ϕ</sup> <sup>_n_</sup> 3
<sup><u>2</u></sup> 3 <sup>∆</sup> <sup>_tLi_</sup> <sup>(ϕ</sup> _i_ <sup>(2))</sup> (19)
ϕ <sup>(</sup> _i_ <sup>_n_</sup> <sup>+1)</sup>
_2.2._ _Flow Solver_
This section outlines the numerical method of the flow solver used in the two-dimensional simulations presented
in Sections 4 and 5. The velocity field is solved by a finite-difference discretization of the convective terms using a
fourth-order unconditionally kinetic energy conserving method combined with a fourth-order accurate central method
for the diffusive terms [20]. The 2D incompressible Navier-Stokes equation is discretized on a non-uniform, staggered
mesh in combination with a second-order accurate Adams-Bashforth time integration. The continuity equation (2) for
the two-dimensional incompressible flow in discretized form on a mesh as shown in Fig. 2a reads
(a) Variables on a staggered mesh (b) Dual sub-mesh refined by factor R = 2 (c) Dual sub-mesh refined by factor R = 3
Figure 2: Variables on the new dual mesh. The flow field is solved on the outer coarse mesh, whilst the scalar is
computed on a refined subgrid. For the transport of the scalar the velocities are interpolated onto the midpoints of the
subgrid
_u_ <sup>_n_</sup> <sup>+</sup> <u>2</u> <sup>1</sup>
<sup>1</sup>
<u>2</u> <sup><u>1</u></sup> <sup>,</sup> <sup>_k_</sup> <sup>−</sup> <sup>_u_</sup> _i_ <sup>_n_</sup> - <sup>+1</sup> <u>2</u> <sup>1</sup>
<sup><u>1</u></sup> <u>2</u> <sup>−</sup> <sup>_w_</sup> _i_ <sup>_n_</sup>, <sup>+</sup> _k_ - <sup>1</sup> <sup><u>1</u></sup> <u>2</u>
_i_ + <sup><u>1</u></sup>
<u>2</u> <sup>,</sup> <sup>_k_</sup>
+
<u>12</u> <sup>−</sup> <sup>_xi_</sup> <sup>−</sup> 2 <sup><u>1</u></sup>
_i_ + <u>2</u> <sup><u>1</u></sup> <sup>,</sup> <sup>_k_</sup> <sup>−</sup> <sup>_u_</sup> _i_ <sup>_n_</sup> - <sup>+1</sup> <u>2</u> <sup>1,</sup> <sup>_k_</sup>
_xi_ + <u>12</u> <sup>−</sup> <sup>_xi_</sup> <sup>−</sup> 2 <sup><u>1</u></sup>
_w_ <sup>_n_</sup> <sup>+1</sup>
<u>2</u>
_zk_ + <u>12</u> <sup>−</sup> <sup>_zk_</sup> <sup>−</sup> 2 <sup><u>1</u></sup>
_i_, _k_ + <sup><u>1</u></sup>
<u>2</u> = 0 (20)
<u>12</u> <sup>−</sup> <sup>_zk_</sup> <sup>−</sup> 2 <sup><u>1</u></sup>
When substituting the momentum equation into the continuity equation a Poisson equation for the pressure is
obtained. The Poisson equation is iteratively solved using the conjugate gradient method with a diagonal preconditioning. From the obtained pressure field the new velocity field can be calculated by rearranging the discretized
equations of (3) and (4),
+ _a_ <sup>_n_</sup>
_i_
<sup>_n_</sup> _<u>i</u>_ <u>+</u> <sup>+</sup> <u>1</u> <sup>1</sup> <u>,</u> _<u>k</u>_ <sup>−</sup> <sup>_p_</sup> _<u>i</u>_ <sup>_n_</sup> <u>,</u> <sup>+</sup> _<u>k</u>_ <sup>1</sup>
_u_ <sup>_n_</sup> <sup>+1</sup>
_i_ + <sup><u>1</u></sup> 2
<sup>1</sup>
<sup><u>1</u></sup> 2 <sup>,</sup> <sup>_k_</sup> <sup>=</sup> <sup>_u_</sup> _i_ <sup>_n_</sup> + <sup><u>1</u></sup> 2
−
<sup><u>1</u></sup> 2 <sup>,</sup> <sup>_k_</sup>
_p_ <sup>_n_</sup> _<u>i</u>_ <u>+</u> <sup>+</sup> <u>1</u> <sup>1</sup> <u>,</u>
_<u>i</u>_ <u>,</u> _<u>k</u>_
_xi_ +1 − _xi_
_i_ + <sup><u>1</u></sup>
<sup><u>1</u></sup> 2 <sup>,</sup> <sup>_k_</sup> <sup>+ ∆</sup> <sup>_t_</sup>
_i_ + <sup><u>1</u></sup> 2 <sup>,</sup>
+ _c_ <sup>_n_</sup>
_i_,
_p_ <sup>_n_</sup> _<u>i</u>_ <u>,</u> _<u>k</u>_
<sup>_n_</sup> _<u>i</u>_ <u>,</u> _<u>k</u>_ <u>+1</u> <sup>−</sup> <sup>_p_</sup> _<u>i</u>_ <sup>_n_</sup> <u>,</u> <sup>+</sup> _<u>k</u>_ <sup>1</sup>
_w_ <sup>_n_</sup> <sup>+1</sup>
_i_, _k_ +
2 <sup><u>1</u></sup> <sup>=</sup> <sup>_w_</sup> _i_ <sup>_n_</sup>, _k_ + <sup><u>1</u></sup> 2
−
_<u>i</u>_ <u>,</u> _<u>k</u>_
_zk_ +1 − _zk_
_i_, _k_ + <sup><u>1</u></sup>
<sup><u>1</u></sup> 2 <sup>+ ∆</sup> <sup>_t_</sup>
_i_, _k_ + <sup><u>1</u></sup> 2
2
(21)
<sup>_k_</sup>
(22)
.
6
Fig. 2a shows the location of variables on a staggered mesh. To achieve kinetic energy conservation interpolations
are required to evaluate the convective term. For instance at ( _xi_ + <u>12</u> <sup>,</sup> <sup>_zk_</sup> <sup>)</sup> <sup>only</sup> <sup>the</sup> <sup>_u_</sup> <sup>-velocity</sup> <sup>component</sup> <sup>is</sup> <sup>available</sup> <sup>at</sup>
are required to evaluate the convective term. For instance at ( _xi_ + <u>12</u> <sup>,</sup> <sup>_zk_</sup> <sup>)</sup> <sup>only</sup> <sup>the</sup> <sup>_u_</sup> <sup>-velocity</sup> <sup>component</sup> <sup>is</sup> <sup>available</sup> <sup>at</sup>
that location, while the _w_ -velocity is only available at ( _xi_, _zk_ + 21 <sup>).</sup> <sup>Hence</sup> <sup>an</sup> <sup>interpolation</sup> <sup>of</sup> <sup>_w_</sup> <sup>to</sup> <sup>the</sup> <sup>position</sup> <sup>where</sup>
that location, while the _w_ -velocity is only available at ( _xi_, _zk_ + 21 <sup>).</sup> <sup>Hence</sup> <sup>an</sup> <sup>interpolation</sup> <sup>of</sup> <sup>_w_</sup> <sup>to</sup> <sup>the</sup> <sup>position</sup> <sup>where</sup>
_u_ is defined gives _<u>wi</u>_ + <u>12</u> <sup>,</sup> <sup>_k_</sup> <sup>.</sup> <sup>An equivalent procedure for the</sup> <sup>_z_</sup> <sup>-momentum where</sup> <sup>_u_</sup> <sup>needs to be interpolated where</sup> <sup>_w_</sup> <sup>is</sup>
_u_ is defined gives _<u>wi</u>_ + <u>12</u> <sup>,</sup> <sup>_k_</sup> <sup>.</sup> <sup>An equivalent procedure for the</sup> <sup>_z_</sup> <sup>-momentum where</sup> <sup>_u_</sup> <sup>needs to be interpolated where</sup> <sup>_w_</sup> <sup>is</sup>
defined gives _<u>ui</u>_, _k_ + <u>12</u> <sup>.</sup> <sup>This yields to the discretization of the convective terms by a fourth-order central discretization,</sup>
<u>12</u> <sup>.</sup> <sup>This yields to the discretization of the convective terms by a fourth-order central discretization,</sup>
_Cx_ ( _u_, _<u>w</u>_ <u>)</u> _i_ + <u>12</u> <sup>,</sup> <sup>_k_</sup> <sup>= −</sup> <sup><u>1</u></sup> 2
<u>1</u>
- _xi_ + <u>52</u> <sup>+ 8</sup> <sup>_xi_</sup> <sup>+</sup> <sup><u>3</u></sup> 2 <sup>−</sup> <sup>8</sup> <sup>_xi_</sup> <sup>−</sup> <sup><u>1</u></sup> 2 <sup>+</sup> <sup>_xi_</sup> <sup>−</sup> 2 <sup><u>3</u></sup>
<u>1</u>
- _xi_ + <u>52</u> <sup>+ 8</sup> <sup>_xi_</sup> <sup>+</sup> <sup><u>3</u></sup> 2
- - _ui_ + <u>52</u> <sup>,</sup> <sup>_k_</sup> <sup>(</sup> <sup>_ui_</sup> <sup>+</sup> 2 <sup><u>1</u></sup> <sup>,</sup> <sup>_k_</sup> <sup>+</sup> <sup>_ui_</sup> <sup>+</sup> <sup><u>5</u></sup> 2 <sup>,</sup> <sup>_k_</sup> <sup>) + 8</sup> <sup>_ui_</sup> <sup>+</sup> 2 <sup><u>3</u></sup> <sup>,</sup> <sup>_k_</sup> <sup>(</sup> <sup>_ui_</sup> <sup>+</sup> <sup><u>1</u></sup> 2 <sup>,</sup> <sup>_k_</sup> <sup>+</sup> <sup>_ui_</sup> <sup>+</sup> <sup><u>3</u></sup> 2 <sup>,</sup> <sup>_k_</sup> <sup>)</sup>
- <u>1</u>
−8 _ui_ - 21 <sup>,</sup> <sup>_k_</sup> <sup>(</sup> <sup>_ui_</sup> <sup>+</sup> 2 <sup><u>1</u></sup> <sup>,</sup> <sup>_k_</sup> <sup>+</sup> <sup>_ui_</sup> <sup>−</sup> <sup><u>1</u></sup> 2 <sup>,</sup> <sup>_k_</sup> <sup>) +</sup> <sup>_ui_</sup> <sup>−</sup> 2 <sup><u>3</u></sup> <sup>,</sup> <sup>_k_</sup> <sup>(</sup> <sup>_ui_</sup> <sup>+</sup> <sup><u>1</u></sup> 2 <sup>,</sup> <sup>_k_</sup> <sup>+</sup> <sup>_ui_</sup> <sup>−</sup> 2 <sup><u>3</u></sup> <sup>,</sup> <sup>_k_</sup> <sup>)</sup> +
- _zk_ +2 + 8 _zk_ +1 − 8 _zk_ −1 + _zk_ −2
×� - _ui_ + <u>12</u> <sup>,</sup> <sup>_k_</sup> <sup>+2(</sup> <sup>_<u>wi</u>_</sup> <sup>+</sup> <sup><u>1</u></sup> 2 <sup>,</sup> <sup>_k_</sup> <sup>+</sup> <sup>_<u>wi</u>_</sup> <sup>+</sup> <sup><u>1</u></sup> 2 <sup>,</sup> <sup>_k_</sup> <sup>+2) + 8</sup> <sup>_ui_</sup> <sup>+</sup> <sup><u>1</u></sup> 2 <sup>,</sup> <sup>_k_</sup> <sup>+1(</sup> <sup>_<u>wi</u>_</sup> <sup>+</sup> <sup><u>1</u></sup> 2 <sup>,</sup> <sup>_k_</sup> <sup>+</sup> <sup>_<u>wi</u>_</sup> <sup>+</sup> <sup><u>1</u></sup> 2 <sup>,</sup> <sup>_k_</sup> <sup>+1) −</sup> <sup>8</sup> <sup>_ui_</sup> <sup>+</sup> <sup><u>1</u></sup> 2 <sup>,</sup> <sup>_k_</sup> <sup>−1(</sup> <sup>_<u>wi</u>_</sup> <sup>+</sup> <sup><u>1</u></sup> 2 <sup>,</sup> <sup>_k_</sup>
−8 _ui_ - 21
- - _ui_ + <u>12</u>
<u>12</u> <sup>,</sup> <sup>_k_</sup> <sup>+2(</sup> <sup>_<u>wi</u>_</sup> <sup>+</sup> <sup><u>1</u></sup> 2 <sup>,</sup> <sup>_k_</sup> <sup>+</sup> <sup>_<u>wi</u>_</sup> <sup>+</sup> <sup><u>1</u></sup> 2 <sup>,</sup> <sup>_k_</sup> <sup>+2) + 8</sup> <sup>_ui_</sup> <sup>+</sup> <sup><u>1</u></sup> 2 <sup>,</sup> <sup>_k_</sup> <sup>+1(</sup> <sup>_<u>wi</u>_</sup> <sup>+</sup> <sup><u>1</u></sup> 2 <sup>,</sup> <sup>_k_</sup> <sup>+</sup> <sup>_<u>wi</u>_</sup> <sup>+</sup> <sup><u>1</u></sup> 2 <sup>,</sup> <sup>_k_</sup> <sup>+1) −</sup> <sup>8</sup> <sup>_ui_</sup> <sup>+</sup> <sup><u>1</u></sup> 2 <sup>,</sup> <sup>_k_</sup> <sup>−1(</sup> <sup>_<u>wi</u>_</sup> <sup>+</sup> <sup><u>1</u></sup> 2 <sup>,</sup> <sup>_k_</sup> <sup>+</sup> <sup>_<u>wi</u>_</sup> <sup>+</sup> <sup><u>1</u></sup> 2 <sup>,</sup> <sup>_k_</sup> <sup>−1)</sup>
��
+ _ui_ + <u>12</u> <sup>,</sup> <sup>_k_</sup> <sup>−2(</sup> <sup>_<u>wi</u>_</sup> <sup>+</sup> <sup><u>1</u></sup> 2 <sup>,</sup> <sup>_k_</sup> <sup>+</sup> <sup>_<u>wi</u>_</sup> <sup>+</sup> <sup><u>1</u></sup> 2 <sup>,</sup> <sup>_k_</sup> <sup>−2)</sup> (23)
The convective terms in the _z_ -direction are discretized in a similar manner. The diffusive terms are discretized using
the fourth-order accurate central discretization scheme ((17) and (18)) in which the coefficients of the seven point
stencil employed for the discretization on a non-uniform mesh are determined using Lagrange interpolations.
_2.3._ _Dual Mesh Approach_
Because the diffusivity of the scalars of interest is up to three orders of magnitude smaller than that of the momentum, the resolution requirements for the flow field is less stringent as shown by the mesh refinement test in Section
5.2. Thus, to save computing time a dual mesh approach is used as illustrated in Fig. 2. The velocity is solved on
a coarser base mesh (Fig. 2a), while the scalar is defined on the finer subgrid (Fig. 2b and 2c) so that the required
computational resources are significantly reduced.
To calculate the convective transport of the scalar, the velocities are interpolated onto a subgrid using a fourthorder Lagrange interpolation. When employing a subgrid refinement by a factor of _R_ = 2 (Fig. 2b) an interpolation is
required for each subcell as the velocity location and the scalar locations do not coincide with their counter parts on
the base mesh. In contrast, Fig. 2c shows that in the case of a subgrid refinement by a factor _R_ = 3 some velocities
and the central subcells for a scalar are defined at the same locations.
_2.4._ _Implementation of Boundary Conditions_
Dirichlet and Neumann boundary conditions are implemented by extrapolating the values obtained at the latest
time step to ghost cells outside of the computational domain. This has the advantage that there is no need to change the
numerical stencils near boundaries. Suppose the quantity _q_ is defined on an _N_ -point mesh and we want to implement
a Dirichlet (odd) boundary condition _qN_ = _Q_ . By using the known values _q_ <u>12</u> <sup>,</sup> <sup>_q_</sup> <sup><u>3</u></sup> 2 <sup>, . . .,</sup> <sup>_qN_</sup> <sup>−</sup> 2 <sup><u>1</u></sup> <sup>,</sup> <sup>the</sup> <sup>values</sup> <sup>_qN_</sup> <sup>+</sup> <sup>_i_</sup> <sup>−</sup> 2 <sup><u>1</u></sup> <sup>are</sup>
determined by using the formula
_qN_ + _i_ - <u>12</u> = 2 _Q_ - _qN_ - _i_ + <u>12</u> <sup>for</sup> <sup>_i_</sup> <sup>= 1, . . ., 3.</sup> (24)
To implement the Neumann (even) boundary condition at _i_ = 0, we use the formula
<u>12</u> = _qi_ - <u>12</u>
_q_ - _i_ + <u>12</u>
<u>12</u> <sup>for</sup> <sup>_i_</sup> <sup>= 1, . . ., 3.</sup> (25)
The free-slip condition for the velocity is implemented by using a Neumann boundary condition (25) of the velocity component that is parallel to the boundary and a Dirichlet boundary condition (24) for the component that is
orthogonal to the boundary (using the value zero at the boundary itself).
3. 1D Numerical Experiments
In this section we apply the WENO-scheme for different test problems with the purpose of predicting the accuracy
of the method on uniform and stretched meshes, respectively. As the problem is a convection-diffusion problem the
numerical scheme was tested for both, scalar transport by convection only and by diffusion only.
7
_3.1._ _Scalar transport by convection on a uniform grid_
By using the modified quadratic Lagrange interpolations for reconstruction (16) we expect to achieve a fifthorder accuracy for the convective scalar transport on uniform meshes. In both of the following cases (uniform and
non-uniform meshes), we use the previously described WENO schemes for spatial discretization and the 3 <sup>_rd_</sup> -order
Runge-Kutta-scheme for time integration of the one-dimensional convection equation. Because we want to predict
the numerical error in the WENO scheme, physical diffusion will be neglected. If ϕ( _xi_, _t_ ) and ϕ _exact_ are the numerical
and the exact solutions, respectively at ( _xi_, _t_ ), the Ł1 discretization error is given by
Ł1 = <sup><u>1</u></sup>
_N_
_N_
_i_ =1
| ϕ( _xi_, _t_ ) − ϕ _exact_ |, (26)
where _N_ describes the number of nodes in the domain, _t_ the time, _i_ the node number.
At first the WENO schemes are tested in a one-dimensional (1D) domain using uniform meshes. Therefore, the
1D scalar convection equation,
<u>∂ϕ</u>
<u>∂ϕ∂</u> _t_ <sup>+</sup> <sup><u>∂ϕ</u></sup> ∂ _x_
(27)
<sup><u>∂ϕ</u></sup> ∂ _x_ <sup>= 0,</sup>
was discretized on 0 ≤ _x_ ≤ 2 using periodic boundary conditions at _x_ = 0 and _x_ = 2. The scalar distribution was
initialized by a sine wave function ϕ( _x_, 0) = ϕ0( _x_ ) = sin (π _x_ ).
In the calculations an extremely small CFL-number was used so that the time-step would be small enough to
ensure that the third-order temporal behaviour of the Runge-Kutta scheme would not affect the rate of convergence of
the WENO schemes.
Table 1 gives the Ł1 error after running the simulation during one time-unit as well as the resulting order of
WENO-Liu et al. [13] WENO-Jiang and Shu [10] Upstream Central
_<u>N</u>_ <u>Ł1-error</u> <u>order</u> _<u>N</u>_ <u>Ł1-error</u> <u>order</u> _<u>N</u>_ <u>Ł1-error</u> <u>order</u>
10 1.17 E-02 - 10 2.11 E-02 - 10 3.11 E-03 20 2.47 E-03 2.24 20 1.10 E-03 4.27 20 1.01 E-04 4.95
40 3.30 E-04 2.90 40 3.26 E-05 5.07 40 3.18 E-06 4.99
80 2.53 E-05 3.70 80 9.98 E-07 5.03 80 9.99 E-08 4.99
160 1.57 E-06 4.01 160 3.12 E-08 5.00 160 3.15 E-09 4.99
320 6.13 E-08 4.68 320 9.76 E-10 5.00 320 1.03 E-10 4.94
<u>640</u> <u>1.04 E-09</u> <u>5.89</u> <u>640</u> <u>3.13 E-11</u> <u>4.96</u> <u>640</u> <u>4.26 E-12</u> <u>4.59</u>
Table 1: Absolute error and order of convergence on uniform meshes with ε = 10 <sup>−6</sup> .
accuracy. The WENO5 implementation of Liu et al. [13] was compared to the alternative WENO5 scheme developed
by Jiang and Shu [10] and the upstream central method that is obtained by selecting the smoothness indicators _IS i_ = 0
in either of the WENO schemes. Starting from _N_ = 10 nodes the Ł1 error is decreasing when increasing the number
of nodes to 20, 40,..., 640. As previously found by Jiang and Shu [10], the implementation of Liu et al. [13] shows a
smaller error than the scheme of Jiang and Shu [10] on the coarse 10-point mesh while on finer meshes the Jiang and
Shu [10] implementation is superior.
Furthermore, the scheme of Jiang and Shu [10] as well as the upstream central scheme show a fifth-order behaviour, while the original scheme of Liu et al. [13] would need an even finer mesh to exhibit this behaviour. With
the mesh sizes shown in the table, we would need to increase ε significantly (even up to a value of ε = 1) to achieve
higher order. The choice of the small ε = 10 <sup>−6</sup> was necessary for the present application in order to resolve very steep
gradients. To test whether the Liu et al. [13] scheme has the potential to exhibit a fifth-order behaviour, an additional
test had been carried out in which ε was increased to ε = 1 (Table 2). As can be seen in Table 2 for ε = 1, indeed
a fifth order behaviour for the original scheme was observed for _N_ ≥ 80 grid points. The slight decrease in order of
convergence for _N_ = 640 points is possibly caused by machine-accuracy limitations affecting the calculations.
In practical calculations the mesh will be relatively coarse so that the original WENO implementation of Liu
et al. [13], which has a good accuracy on coarse meshes, would be a good choice. Though the fifth-order upstream
8
WENO-Liu et al. [13]
_<u>N</u>_ <u>Ł1-error</u> <u>order</u>
10 3.46E-03 20 1.76E-04 4.30E+00
40 2.83E-06 5.96E+00
80 9.44E-08 4.91E+00
160 3.11E-09 4.92E+00
320 1.02E-10 4.93E+00
<u>640</u> <u>4.26E-12</u> <u>4.59E+00</u>
Table 2: Absolute error and order of convergence on uniform meshes with ε = 1.
central method is shown to be even more accurate on coarse meshes, it is not the method of choice as the absence
of a mechanism to deal with steep gradients could result in the appearance of wiggles as will be briefly discussed in
Section 5.1.
_3.2._ _Scalar transport by convection on non-uniform meshes_
Using the modified Lagrange interpolations the WENO-scheme has been applied on non-uniform meshes on which
the node distribution is given by:
- tanh( _x_ φ)
tanh( _x_ 1)
_x_ ( _nx_ ) (28)
_x_ ( _i_ ) =
�1 − <sup>tanh(</sup> <sup>_x_</sup> <sup>φ)</sup>
tanh( _x_ 1)
_x_ (0) +
for _i_ = 1, ..., _nx_ - 1, with
_x_ φ = δ/2 <sup>_<u>i</u>_</sup>
_nx_
_x_ 1 = δ/2.
The procedure for the stretching is controlled by the parameter δ. The _N_ -point mesh distribution is so that _x_ (0) = 0
and _x_ ( _nx_ ) = 1 where _nx_ = _N_ /2. The resulting mesh is subsequently mirrored about _x_ = 1 to obtain the grid points
between _x_ ( _nx_ ) = 1 and _x_ ( _N_ ) = 2.
The results of the tests using δ = 1.0 and 3.0 is presented in Table 3. The absolute errors, as expected, are smaller
δ = 1.0 δ = 3.0
_<u>N</u>_ <u>Ł1-error</u> <u>Ł1-order</u> _<u>N</u>_ <u>Ł1-error</u> <u>Ł1-order</u>
10 1.20E-02 - 10 3.58E-02 20 2.41E-03 2.32E+00 20 6.28E-03 2.51E+00
40 3.91E-04 2.63E+00 40 1.60E-03 1.98E+00
80 6.27E-05 2.64E+00 80 3.77E-04 2.08E+00
160 1.41E-05 2.15E+00 160 9.26E-05 2.03E+00
320 3.45E-06 2.03E+00 320 2.31E-05 2.00E+00
<u>640</u> <u>8.62E-07</u> <u>2.00E+00</u> <u>640</u> <u>5.77E-06</u> <u>2.00E+00</u>
Table 3: Absolute error and order of convergence on non-uniform meshes with ε = 10 <sup>−6</sup> .
for the mesh with reduced stretching. Compared to uniform meshes it can be seen that the order of accuracy decreases
to approximately 2.
9
_3.3._ _Scalar transport:_ _pure di_ ff _usion_
In this section we apply the fourth-order accurate central discretization (17) for the solution of scalar diffusion. In
the one-dimensional case, concentration gradients in the _y_ - and _z_ -directions are zero, and we have the one-dimensional
diffusion equation for a scalar ϕ( _x_, _t_ )
<u>∂ϕ∂</u> _t_ <sup>=</sup> <sup>_D_</sup> <sup><u>∂</u></sup> ∂ <sup>2</sup> _x_ <sup><u>ϕ2</u></sup>
<u>∂ϕ</u>
(29)
<sup><u>∂</u></sup> ∂ <sup>2</sup> _x_ <sup><u>ϕ2</u></sup> <sup>.</sup>
For the test a one-dimensional domain was chosen with 0 ≤ _x_ ≤ 5 _L_ . A mesh with _N_ grid points was defined with
a refinement near the surface where the concentration boundary layer will form. At _x_ = 0 the boundary condition
ϕ(0, _t_ ) = 1 was imposed. The analytical solution for this boundary value problem is given by
. (30)
ϕ( _x_, _t_ ) = 1 − erf
- _<u>x</u>_
~~√~~
4 _Dt_
The initial condition for the test was given by the analytical solution as defined in (30) at _t_ =10 seconds. In the case
of diffusive gas transfer into a liquid _D_ = _ReS c_ <u>1</u> <sup>and for the transfer of oxygen into water we have a Schmidt number</sup>
of _S c_ = 500 and a Reynolds number of _Re_ = 100, which is based on a characteristic length scale of _L_ = 1 cm and a
characteristic velocity of _u_ = 1 cm/s. The latter gives us a characteristic time scale of θ = _L_ / _U_ = 1 second.
The absolute errors and order of accuracy for the pure diffusion scalar transport on non-uniform meshes were tested
for _N_ = 10 to 640. The results after 1 time-unit are shown in Table 4. The absolute errors in the numerical results are
δ = 3.0 δ = 4.5
_<u>N</u>_ <u>Ł1-error</u> <u>Ł1-order</u> _<u>N</u>_ <u>Ł1-error</u> <u>Ł1-order</u>
10 1.47E-04 - 10 1.27E-03 20 2.22E-04 -5.95E-01 20 3.26E-04 1.96E+00
40 2.45E-04 -1.41E-01 40 2.53E-05 3.69E+00
80 2.11E-05 3.54E+00 80 1.50E-06 4.07E+00
160 1.73E-06 3.61E+00 160 1.00E-07 3.91E+00
320 1.12E-07 3.95E+00 320 6.72E-09 3.90E+00
<u>640</u> <u>7.19E-09</u> <u>3.96E+00</u> <u>640</u> <u>4.37E-10</u> <u>3.94E+00</u>
Table 4: Absolute error and order of convergence on non-uniform meshes for pure diffusion case.
very small, illustrating very good agreement with the analytical solution. A fourth order accuracy is achieved even
with increased stretching.
All 1D numerical tests described above (Sections 3.1 to 3.3) illustrate the advantageous behaviour of the chosen combination of a WENO-scheme with a fourth-order discretization of the diffusive terms which resulted in a
low numerical diffusion and small absolute errors for both modes of transport, pure convection and pure diffusion,
respectively.
4. Two dimensional sheared scalar distribution
To further test the robustness of the numerical scheme, we perform mesh sensitivity tests in 2D for two application
cases, namely for sheared scalar distribution and low-diffusivity scalar transport in buoyancy driven flow. The first
problem deals with a smooth scalar distribution without scalar diffusion being sheared by a zero viscosity flow as
shown in Figure 3. After 1 time-unit the flow is reversed with the aim to obtain the initial distribution of the scalar
back so that the distribution at _t_ = 0 should be the same as at _t_ = 2.
The simulation was run on a 5 _L_ × 5 _L_ domain using periodic boundary conditions in the horizonal direction and
free-slip boundary conditions for the velocity combined with zero-flux boundary conditions (25) for the scalar along
the upper and lower boundaries. At _t_ = 0, the scalar field was initialised by
ϕ _i_, _k_ = 0.5 �1 + cos(π ~~�~~ ( _xi_ - 2.5) <sup>2</sup> + ( _zk_ - 2.5) <sup>2</sup> )�, (31)
10
(a) _t_ = 0 s (b) _t_ = 1.1 s
Figure 3: A detail of the sheared scalar distribution. a) at _t_ =0 second and b) at _t_ =1.1 seconds.
while the flow field was initialised using
_ui_ + 21 <sup>,</sup> <sup>_k_</sup> <sup>= 2</sup> <sup><u>atan(10(</u></sup> π <sup>_<u>zk</u>_</sup> <sup>−</sup> <sup><u>2.5))</u></sup> . (32)
At _t_ = 1 second the flow field was reversed, so that
_ui_ + 21 <sup>,</sup> <sup>_k_</sup> <sup>= −2</sup> <sup><u>atan(10(</u></sup> π <sup>_<u>zk</u>_</sup> <sup>−</sup> <sup><u>2.5))</u></sup> . (33)
After _t_ = 2 seconds of simulation the error is determined by comparing the initial to the calculated scalar distribution.
As can be seen in Table 5, a grid refinement study was carried out by performing simulations on a sequence of uniform
meshes with 80 × 80 up to 640 × 640 points. With increasing number of grid points the order of accuracy was found
to increase significantly from about 2 to 4.
_<u>nx</u>_ <u>×</u> _<u>nz</u>_ <u>Ł1-error</u> <u>Ł1-order</u>
40 × 40 1.34E-03 80 × 80 3.51E-04 1.93E+00
160 × 160 7.30E-05 2.26E+00
320 × 320 9.33E-06 2.97E+00
<u>640 × 640</u> <u>5.92E-07</u> <u>3.98E+00</u>
Table 5: Absolute error and order of convergence resulting from the 2D sheared scalar distribution test on uniform
meshes using the WENO scheme of Liu et al. [13] with ε = 10 <sup>−6</sup> .
5. Two-dimensional low-di ff usivity scalar transport in buoyancy driven flow
The second 2D application case considers the problem of low-diffusivity (high Schmidt number) mass transfer in
buoyant-convectively driven flow. An example in nature is the oxygen absorption through the air-water interface in
lakes at nighttime when the lakes’ surface is cooled by the overlying cold air leading to unstable stratification which
in turn causes mixing at the water side.
11
Figure 4: Schematic representation of the computational domain. The scatter shows every 10 <sup>_th_</sup> grid line of the major
grid used for the velocity field. The mesh for the scalar was further refined by factors of _R_ = 2, 3 and 5.
The description of the 2D numerical setup for the problem is as follows. A quadratic domain was chosen with an
edge length of 5 _L_ as illustrated in Fig. 4 The base grid size was _nx_ = 400 and _nz_ = 256 in the _x_ - and _z_ -directions,
respectively. The mesh was stretched in the _z_ -direction with δ = 3 to obtain a finer resolution near the top where
a steep concentration gradient occurs. The general stretching procedure has been given in (28). For all variables,
periodic boundary conditions were employed in the horizontal direction. For the velocity field free-slip boundary
conditions were used at the top and bottom of the computational domain. At the beginning of each simulation all
velocity components were set to zero. The full set of 2D equations for the velocity given in (2) to (6) is solved. It
should be noted that to account for the effects of buoyancy in our application case the buoyancy term β( _T_ <sup>∗</sup> ) is included
into equation (6) so that _c_ reads
_c_ = - <sup><u>∂</u></sup> <sup>_<u>w</u>_</sup> <sup>2</sup>
∂ _z_
∂ <sup>_<u>uw</u>_</sup> _x_ <sup>+</sup> _Re_ <sup><u>1</u></sup>
∂ <sup>_<u>w</u>_</sup> _z_ <sup>2</sup> <sup>−</sup> <sup><u>∂</u></sup> ∂ <sup>_<u>uw</u>_</sup> _x_
_Re_
- <u>∂∂2</u> _xw_ <sup>2</sup> <sup>+</sup> <sup><u>∂</u></sup> ∂ <sup>2</sup> _z_ <sup>_<u>w</u>_</sup> <sup>2</sup>
+ β( _T_ <sup>∗</sup> ). (34)
The term β( _T_ <sup>∗</sup> ) is modelled using the Boussinesq approximation and is a function of the non-dimensional temperature
_T_ <sup>∗</sup> defined as
_<u>T</u>_ - _<u>T</u>_ _<u>s</u>_
_T_ <sup>∗</sup> =
_TB_,0 − _T_ _s_
(35)
where the temperature at the top of the domain was set to a fixed value of _T_ = _T_ _s_ = 20°C, see (24), while in the rest of
the computational domain the initial bulk temperature _TB_,0 was 23°C. The relation between density and temperature
within this range can be assumed to be linear. To avoid heat losses, at the bottom of the computational domain an
adiabatic boundary condition (25) was employed for _T_ . The temperature _T_ is a scalar and hence treated the same as
ϕ, see (1).
At the top of the computational domain the scalar ϕ was kept at a value of ϕ = ϕ _s_ (24) while at the bottom a
zero-flux boundary condition (25) was employed. The scalar was non-dimensionalized using the scalar magnitude at
12
the top boundary ϕ _s_ and the initial magnitude in the bulk ϕ _B_,0 = 0 so that
ϕ <sup>∗</sup> = <sup><u>ϕ −</u></sup> <sup><u>ϕ</u></sup> <sup>_<u>B</u>_</sup> <sup><u>,0</u></sup>
ϕ _s_ - ϕ _B_,0
. (36)
The convective instability was triggered by adding random disturbances to the temperature field after letting it
evolve for _t_ = 11 seconds in order to avoid the triggering of the instability to depend on the mesh size or numerical
round off error. The same disturbance field was used in all simulations. The random numbers that were added to
_T_ <sup>∗</sup> were uniformly distributed between 0 and _Tran_ . To test the influence of the level of the random disturbances on
the development of the instability, a test was performed in which a random disturbance field was rescaled so that
_Tran_ = 0.010, _Tran_ = 0.020 and _Tran_ = 0.040 before it was added to the non-dimensional temperature. In all three
simulations exactly the same buoyant convective disturbance field was found to develop. As can be seen in Table 6,
the different levels of disturbances were found to affect the time it takes for the plumes to develop. Based on the time
_<u>Tran</u>_ <u>time at which the falling plume reaches z=4.0 cm</u>
0.010 23.75 s
0.020 22.30 s
<u>0.040</u> <u>20.85 s</u>
Table 6: The time difference found between the development of disturbances.
difference of 1.45 seconds between subsequent simulations (in which the level of random disturbances is doubled) the
exponential growth factor λ for the buoyant-convective instability was estimated to be λ = 0.478.
To facilitate the comparison between various simulations involving buoyant convection, in the simulations discussed below (with the exception of Section 5.4) the same random temperature field consisting of uniformly distributed random numbers between _T_ = 0 and _Tran_ = 0.020 was added to the non-dimensional temperature field.
_5.1._ _Comparison of scalar convection methods in 2D_
As mentioned briefly in Section 3.1 although the fifth-order upstream central method (C5) shows better accuracy
on coarse meshes, it is not the method of choice for the current application due to the absence of a mechanism to deal
with steep gradients which could result in the appearance of wiggles. To demonstrate this we performed a number
of initial 2D simulations on the 400 × 256 base mesh using the C5 and the WENO5 schemes discussed in Section 3.
Figure 5 shows the profiles extracted at a cross section at _z_ = 4.5 cm and _t_ = 45 seconds obtained for the C5 scheme
Figure 5: Comparison of WENO5 schemes (JS2, JS3, LOC) and the fifth-order central scheme (C5), showing profiles
of the scalar distribution ϕ at _z_ = 4.5cm and _t_ = 45 seconds using a Schmidt number of _S c_ = 500.
and different variants of the WENO5 scheme. The cross-section intersects with the falling plumes that develop due to
the convective instability which induces sharp gradients in the scalar distribution (see also Figure 7a). The plot reveals
13
that wiggles appear close to steep gradients when using the C5 method. It was found that the wiggles completely
disappear when we use the WENO5 schemes JS2 and JS3 of Jiang and Shu [10] with powers _r_ = 2 and 3, respectively
- see (13,14) - as well as the original implementation of Liu et al. [13] (LOC). It can be seen that the results obtained
using the WENO5 schemes are very similar.
In the following sections, the mesh sensitivity for resolving the 2D flow and concentration fields were tested in
several subgrid mesh refinement studies.
_5.2._ _Mesh sensitivity test :_ _Flow-field_
To verify that the flow-field was fully resolved on the chosen 400 × 256 base mesh, the grid was refined in all
directions by factors of 1.5 and 2, respectively. Fig. 6 shows the contour plots and the velocity profile obtained
(a) vertical velocity _w_ field on a grid 400 × 256 and (b) vertical velocity _w_ along a line at _z_ = 4 _L_ after _t_ = 45 seconds
800 × 512 after _t_ = 45 seconds
Figure 6: A grid refinement showed that the velocity field is fully resolved on a 400 × 256 grid.
from the simulations with the base grid and the mesh refined by a factor 2 ( _R_ = 2) (with 800 × 512 points) after
_t_ = 45 seconds. The contour plots of the flow-field using the refined mesh did not show any visible changes in the
flow structures (Fig. 6b). This is further confirmed by the vertical velocity profiles along a horizontal line at _z_ = 4 _L_ .
The profiles show a nice convergence verifying that the velocity field is fully resolved on the 400 × 256 grid which
was subsequently used in all further cases.
_5.3._ _Mesh sensitivity test :_ _gas concentration field_
As described above, we used a dual-mesh approach in which the scalar was resolved on a finer mesh than the one
used for the velocity. Various levels of refinement were employed as illustrated in Fig 2. In this section, the mesh
sensitivity for the scalar transport using this dual mesh approach is evaluated. Fig. 7 shows a comparison of the nondimensional gas concentration contour plots that visualise the development of the scalar transport at _t_ = 45 seconds
using the base mesh (400 × 256) for both velocity and scalar and the dual mesh approach with refinement factor 3
applied to the scalar. The Schmidt number is _S c_ = 500 which is equivalent to the diffusion of oxygen in water.
In general, both concentration fields in Figs. 7a and 7b reveal the same structures of downwards plumes. However,
a zoomed view of the top region near the water surface reveals a more detailed representation of the gas concentration
14
(a) Domain after t = 45 seconds on standard mesh (b) Domain after t = 45 seconds with refined submesh _R_ = 3
(c) Zoomed view after t = 45 seconds on standard mesh (d) Zoomed view after t = 45 seconds with refined submesh _R_ = 3
Figure 7: Comparison of the gas concentration field after t = 45 seconds on standard mesh _nx_ = 400 and _nz_ = 256 and
with a dual subgrid in place three times as fine (see Fig. 2c). The gas concentration field is resolved in sharper detail
with less smearing.
field when the dual mesh approach is used (Fig. 7c and 7d). Please note that the gas concentration in all figures is
interpolated to the base grid and not shown on the refined mesh used for the scalar transport.
Figs. 8 and 9 show line plots of the scalar field at various locations within the domain. The locations are across
or along the typical mushroom pattern that develops as a result of the convective instability where sharp gradients in
the scalar field are present. Solving the scalar on the finer subgrid shows a significant improvement in resolution. The
_R_ = 2 refinement shows a big improvement in deeper regions where the base mesh is relatively coarse and the scalar
distribution is maintained better. In the far field ( _z_ < 4) the scalar concentration profiles for the refined cases _R_ = 2,
_R_ = 3 and _R_ = 5 converge to nearly identical values (Fig. 8a).
The improved resolution becomes even more relevant when the spatially integrated total scalar concentration in
the domain over time is considered. Fig. 10a shows the total concentration over time for _S c_ = 500. Up to a time of
_t_ = 30 seconds the gas transfer is dominated by diffusion. Subsequently, the instability induces a convective flow that
15
(a) Scalar ϕ for _S c_ = 500 at _x_ = 2.0 _L_ (b) Scalar ϕ for _S c_ = 500 at _x_ = 1.3 _L_
Figure 8: Comparison of scalar field after t = 45 seconds on different levels of subgrid mesh refinement. The two
locations are vertical lines at _x_ = 2.0 _L_ and _x_ = 1.3 _L_ along the downwards plumes as seen on Fig. 7a.
(a) Scalar ϕ for _S c_ = 500 at _z_ = 4.9 _L_ (b) Scalar ϕ for _S c_ = 500 at _z_ = 4.7 _L_
Figure 9: Comparison of scalar field after t = 45 seconds on different levels of subgrid mesh refinement. The location
is a horizontal line at various depths _z_ across the downwards plumes as seen on Fig. 7d and 7c.
enhances the mass transfer. The typical mushroom patterns start penetrating the deeper regions of the domain. It is
here where the refined submesh shows a much improved resolution with a continuous increase in the concentration
levels whilst the standard mesh shows a drop in concentration levels. The drop occurs when the scalar reaches the
region for _z_ < 2.5 _L_ (where the mesh becomes significantly coarser) after around _t_ = 55 seconds (Fig. 10a). This
points out an insufficient resolution of the scalar transport in this region. This effect was not present in the refined
cases (Fig. 10a). The same is found for the transport of the non-dimensionalized temperature _T_ <sup>∗</sup> (Fig. 10b). The grid
refinement study for the temperature transport shows a similar trend as seen for the concentration field in Fig. 10b.
On the coarse mesh fluctuations become evident after _t_ = 50 seconds whereas the refined cases do not exhibit such
temperature fluctuations. Again the results are identical for all refined cases ( _R_ = 2, _R_ = 3 and _R_ = 5).
16
(a) Scalar ϕ for _S c_ = 500 over time (b) Non-dimensional total temperature _T_ <sup>∗</sup> over time
Figure 10: Comparison of the total non-dimensional scalar concentration and temperature _T_ <sup>∗</sup> over time for different
levels of subgrid refinement
_5.4._ _Comparison to Experiments_
In this section we compare the obtained scalar field with the laboratory measurements conducted by Jirka et al.
[11] at KIT. In the experiments instantaneous 2D oxygen concentration fields were visualized using a Laser Induced
Fluorescence (LIF) technique. The experiments were performed in a 50 × 50 × 65 cm <sup>3</sup> tank and the water depth
was about 42 cm. The surface temperature was 3 °C lower than the bulk temperature of the water. The equivalent
temperature boundary condition was applied in the numerical simulations.
Fig. 11 shows a comparison of 2D-LIF images to 2D DNS results where a refinement factor of _R_ = 2 has been
used. Identical boundary conditions were employed as in the simulations described in the beginning of Section 5.
Note that the DNS results show the top section of the domain that has the same dimension as the LIF-maps.
The actual experimental domain was much larger so the sides and bottom in these plots can be considered as open
boundaries. For reasons of better comparison the timescale was set to _t_ = 0 seconds from the moment when the flow
field started moving which was after a simulation time of 33 seconds. Though the numerical results are only 2D,
whereas the real problem is of course 3D, a very good qualitative agreement with the experiment is observed. Both
the spatial distance between high concentration plumes and the size of the eddies were found to be similar in the
experiment and the simulation. Because of the low diffusivity of oxygen in water and the rather low turbulent flow the
plumes of high oxygen concentration retain their fine structures. This means that the steep concentration gradients do
not smear out because of excessive numerical diffusion. As a result good qualitative agreement between the numerical
simulations and the experimental data is obtained.
6. Conclusion
To accurately resolve the mass transport for a scalar with low diffusivity on a stretched and staggered mesh,
the fifth-order accurate WENO5 schemes of Liu et al. [13] and Jiang and Shu [10] was implemented to discretize
the convective terms, while a fourth order accurate central discretization was used for the diffusion. The flow field
was approximated by fourth-order accurate central discretizations for both convection and diffusion. Because the
diffusivity of the scalars of interest is up to almost three orders of magnitude smaller than the molecular diffusivity of
the ambient fluid, the resolution requirements for the transported scalar are much higher. Hence, to save computing
time, a dual meshing approach was employed in which the scalar transport equations were discretized on a finer mesh
than the flow field. The discretization of scalar convection and diffusion were tested in both 1D and 2D cases. The
1D tests showed that the spatial discretization of the scalar convection achieved a second-order accuracy on nonuniform meshes and a fifth-order accuracy on uniform meshes, while the discretization of the diffusive term was
17
(a) Experimental Results
(b) Numerical Results
Figure 11: Comparison of flow structures. High oxygen concentration plumes of LIF measurements conducted by
Jirka et al. [11] (Fig. 11a) and DNS results (Fig. 11b). The dark and light colour scaling indicate regions with high
and low scalar concentration, respectively. In both cases the surface temperature was 3°C colder than the bulk
temperature.
shown to achieve a fourth-order accuracy on stretched meshes. Though the WENO5 implementation of Jiang & Shu
[10] shows superior results in the grid refinement tests, the original scheme of Liu at al. [13] was found to be more
accurate on coarse meshes. Hence, to obtain a satisfactory resolution of the steep concentration gradients - that will
occur in scalar transport problems with high Schmidt numbers - using as few grid points as possible, the Liu et al.
implementation was found to be a good choice.
For the 2D case a combined active and passive scalar transport problem was simulated. It was shown that the fifthorder central upwind method generated wiggles near steep gradients which completely disappeared when using the
WENO5 schemes. The dual meshing approach showed a significant improvement in accuracy of the scalar field resolution even for a moderate refinement by a factor of two. Subsequent refinements that were carried out using factors
18
of up to five times only showed marginal further improvements in accuracy. Additionally, a qualitative comparison
of the numerical results to experimentally visualized oxygen concentration fields in water showed similar structures
below the air-water interface even though the numerical simulations were 2-dimensional.
References
[1] D.S. Balsara and C-W. Shu. Monotonicity preserving WENO schemes with increasingly high-order of accuracy. _J. Comput. Phys._, 160(2):
405–452, 2000.
[2] S. Banerjee. Modeling of interphase turbulent transport processes. _Ind. Eng. Chem. Res._, 46(10):3063–3068, 2007.
[3] S. Banerjee, D. Lakehal, and M. Fulgosi. Surface divergence models for scalar exchange between turbulent streams. _Int.J.Multiphas. Flow_,
30(7-8):963–977, 2004.
[4] R. Borges, M. Carmona, B. Costa, and W.S. Don. An improved WENO scheme for hyperbolic conservation laws. _J. Comput. Phys._, 227(6):
3191–3211, 2008.
[5] L. Collatz. _The Numerical Treatment of Di_ ff _erential Equations_ . Springer, Berlin, 3rd edition, 1960.
[6] R.A. Handler, J.R. Saylor, R.I. Leighton, and A.L. Rovelstad. Transport of a passive scalar at a shear-free boundary in fully developed
turbulent open channel flow. _Phys. Fluids_, 11(9), 1999.
[7] A. Harten, B. Engquist, S. Osher, and S.R. Chakravarthy. Uniformly high-order accurate essentially non-oscillatory schemes, III. _J. Comput._
_Phys._, 71(2):231–303, 1987.
[8] Y. Hasegawa and N. Kasagi. Hybrid DNS/LES of high Schmidt number mass transfer across turbulent air-water interface. _Int. J. Heat Fluid_
_Fl._, 52(3-4):1012–1022, 2009.
[9] A.K. Henrick, T.D. Aslam, and J.M. Powers. Mapped weighted essentially non-oscillatory schemes: Achieving optimal order near critical
points. _J. Comput. Phys._, 207(1):542–567, 2005.
[10] G.S. Jiang and C-W. Shu. Efficient implementation of weighted ENO schemes. _J. Comput. Phys._, 126(1):202–228, 1996.
[11] G.H. Jirka, H. Herlina, and A. Niepelt. Gas transfer at the air-water interface: experiments with different turbulence forcing mechanisms.
_Exp. Fluids_, 49(1):319–327, 2010.
[12] E. Johnsen and T. Colonius. Implementation of WENO schemes in compressible multicomponent flow problems. _J. Comput. Phys._, 219(2):
715–732, 2006.
[13] X.D. Liu, S. Osher, and T. Chan. Weighted essentially non-oscillatory schemes. _J. Comput. Phys._, 115(1):200–212, 1994.
[14] M.P. Martin, E.M. Taylor, M. Wu, and V.G. Weirs. A bandwidth-optimized WENO scheme for effective direct numerical simulation of
compressible turbulence. _J. Comput. Phys._, 220(1):270–289, 2006.
[15] F. Schwertfirm and M. Manhart. DNS of passive scalar transport in turbulent channel flow at high Schmidt numbers. _Int. J. Heat Fluid Fl._,
28(6):1204–1214, 2007.
[16] F. Schwertfirm, J. Mathew, and M. Manhart. Improving spatial resolution characteristics of finite difference and finite volume schemes by
approximate deconvolution pre-processing. _Comput. Fluids_, 37(9):1092–1102, 2008.
[17] M.A.R. Sharif and A.A. Busnaina. An investigation into the numerical dispersion problem of the skew upwind finite difference scheme. _Appl._
_Math.Model._, 12(2):98–108, 1988.
[18] C-W. Shu and S. Osher. Efficient implementation of essentially non-oscillatory shock-capturing schemes. _J. Comput. Phys._, 77(1):439–471,
1988.
[19] E. Tadmor. Shock capturing by the spectral viscosity method. _Comput. Meth. Appl. Mech. Eng._, 80(1-3):197–208, 1990.
[20] J.G. Wissink. On unconditional conservation of kinetic energy by finite-difference discretizations of the linear and non-linear convection
equation. _Comput.Fluids_, 33(2):315–343, 2004.
19
섹션 본문
섹션 본문이 없습니다.
참고문헌
참고문헌 정보가 없습니다.