원시데이터 수집 시스템
선정목록으로

Capturing dispersion of Herschel–Bulkley fluids in miscible primary cementing displacement flows

관련 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)

기본 정보

저자
  1. Fatemeh Bararpour — University of British Columbia
  2. I.A. Frigaard — University of British Columbia
DOI
10.1017/jfm.2025.10773
저널
Journal of Fluid Mechanics
발행년도
2025
발행기관
Cambridge University Press
피인용수
0
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1017/jfm.2025.10773
토픽
Heat and Mass Transfer in Porous Media
OpenAlex ID
W4415658100

평가 내용

관련도
관련
사업분야
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '수소연료전지 > 연료전지용 수분제어장치(가습기)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Dispersion is a common phenomenon in miscible displacement flows. In the primary cementing process displacement takes place in a narrow eccentric annulus. Both turbulent Taylor dispersion and laminar advective dispersion occur, depending on flow regime. Since dispersion can cause mixing and contamination close to the displacement front, it is essential to understand and quantify. The usual modelling approach is a form of Hele-Shaw model in which quantities are averaged across the narrow annular gap: a so-called two-dimensional narrow gap (2DGA) model. Zhang & Frigaard ( J. Fluid Mech ., vol. 947, 2022, A732), introduced a dispersive two-dimensional gap-averaged (D2DGA) model for displacement of two Newtonian fluids, by modifying the earlier 2DGA model. This brings a significant improvement in revealing physical phenomena observed experimentally and in three-dimensional computations, but is limited to Newtonian fluids. In this study we adapt the D2DGA model approach for two Herschel–Bulkley fluids. We first obtain weak velocity solutions using the augmented Lagrangian method, while keeping the same two-layer flow assumption as the Newtonian D2DGA model. These solutions are then used to define closure relationships that are needed to compute the dispersive two-dimensional flows. Results reveal that the modified version of the D2DGA model can now predict expected frontal behaviours for two Herschel–Bulkley fluids, revealing dispersion, frontal shock, spike and static wall layer solutions. We then explore the displacement behaviour in more detail by investigating the impact of rheological properties and buoyancy on the mobility of fluids in a planar frontal displacement flow and their vulnerability to fingering-type instabilities. As the underlying flows are dispersive, our analysis reveals three distinct behaviours: (i) stable, (ii) partial penetration of the dispersing front, and (iii) unstable regimes. We explore these regimes and how they are affected by the two fluid rheologies.

본문 146,082자

본문 펼치기
# Capturing dispersion of Herschel–Bulkley fluids in miscible primary cementing displacement flows 1 and Ian A. Frigaard Fatemeh Bararpour 1,2 1Department of Mechanical Engineering, University of British Columbia, 2054-6250 Applied Science Lane, Vancouver, BC V6T 1Z4, Canada 2Department of Mathematics, University of British Columbia, 1984 Mathematics Road, Vancouver, BC V6T 1Z2, Canada Corresponding author: [Ian A. Frigaard, frigaard@math.ubc.ca](mailto:frigaard@math.ubc.ca) (Received 22 February 2025; revised 17 September 2025; accepted 26 September 2025) Dispersion is a common phenomenon in miscible displacement flows. In the primary cementing process displacement takes place in a narrow eccentric annulus. Both turbulent Taylor dispersion and laminar advective dispersion occur, depending on flow regime. Since dispersion can cause mixing and contamination close to the displacement front, it is essential to understand and quantify. The usual modelling approach is a form of HeleShaw model in which quantities are averaged across the narrow annular gap: a so-called two-dimensional narrow gap (2DGA) model. Zhang & Frigaard ( _J. Fluid Mech_ ., vol. 947, 2022, A732), introduced a dispersive two-dimensional gap-averaged (D2DGA) model for displacement of two Newtonian fluids, by modifying the earlier 2DGA model. This brings a significant improvement in revealing physical phenomena observed experimentally and in three-dimensional computations, but is limited to Newtonian fluids. In this study we adapt the D2DGA model approach for two Herschel–Bulkley fluids. We first obtain weak velocity solutions using the augmented Lagrangian method, while keeping the same twolayer flow assumption as the Newtonian D2DGA model. These solutions are then used to define closure relationships that are needed to compute the dispersive two-dimensional flows. Results reveal that the modified version of the D2DGA model can now predict expected frontal behaviours for two Herschel–Bulkley fluids, revealing dispersion, frontal shock, spike and static wall layer solutions. We then explore the displacement behaviour in more detail by investigating the impact of rheological properties and buoyancy on the mobility of fluids in a planar frontal displacement flow and their vulnerability to fingeringtype instabilities. As the underlying flows are dispersive, our analysis reveals three distinct © The Author(s), 2025. Published by Cambridge University Press. This is an Open Access article, [distributed under the terms of the Creative Commons Attribution licence (https://creativecommons.org/](https://creativecommons.org/licenses/by/4.0/) [licenses/by/4 0/)](https://creativecommons.org/licenses/by/4.0/) which permits unrestricted re use distribution and reproduction provided the original _F. Bararpour and I.A. Frigaard_ behaviours: (i) stable, (ii) partial penetration of the dispersing front, and (iii) unstable regimes. We explore these regimes and how they are affected by the two fluid rheologies. Key words: complex fluids, instability control, Hele-Shaw flows 1. Introduction Complete removal of drilling fluids and sealing the space between rock formations and steel casing with a cement slurry is a critical step in the construction of water, geothermal, hydrocarbon and waste storage wells (Guillot _et al._ 1990). This process is called primary cementing and its foremost purpose is to provide zonal isolation (Nelson & Guillot 2006; Lavrov & Torsæter 2016), which means that the different geological strata penetrated by the well are unable to communicate hydraulically along the completed well. This objective is not always achieved. For example, 28 _._ 5 % of wells drilled in British Columbia between 2010 and 2018 (Trudel _et al._ 2019) and 28−32 % of wells drilled in Southeastern Saskatchewan (Baillie _et_ _al._ 2019), were reported to emit gas. The leakage rates in such surveys are generally heavily skewed towards low rates (⪅1 m <sup>3</sup> day <sup>–1</sup> ), but nevertheless indicate that the well integrity is often compromised. Estimates of leakage in other regions globally may be significantly lower. This can be because the wells considered are not primarily gas wells. In some jurisdictions data are either not publicly accessible or not recorded. The primary cementing operation comprises two main steps; see figure 1. After drilling the borehole and removing the drill pipe, a steel casing is inserted into the drilled well that is filled with drilling fluid. Then, a sequence of fluids are pumped from the surface through the casing, travelling down to the bottom of the well and then returning upwards in the annular space between the wellbore wall and the outer surface of the casing. To reduce any chemical incompatibility between the drilling fluid and the cement slurry, preflushes (called washes and spacers) are commonly pumped ahead of the cement slurry (Nelson & Guillot 2006; Guillot, Desroches & Frigaard 2007). Therefore, the process relies upon a sequence of fluid–fluid displacement flows to be effective. The flow challenges are significant, as the displacement takes place along many 100’s of metres of a narrow eccentric annulus of changing orientation. The drilling mud has yield stress and is shear thinning, as with many spacer fluids and the cement slurry. Large density differences, together with changing orientation of the well mean that buoyancy is a significant effect, despite a typically small annular gap (0 _._ 5−5 cm). The yield stress of the drilling mud is essential as part of the drilling process, but can cause problems later. It may resist displacement, allowing the mud to bridge between inner and outer walls of the annulus (a mud channel), remaining after cementing (McLean, Manry & Whitaker 1967). Less severe, the yield stress may not be exceeded at the walls allowing a static wall of mud to persist (Allouche, Frigaard & Sona 2000; Frigaard, Leimgruber & Scherzer 2003; Zare, Roustaei & Frigaard 2017). These residual layers are called (wet) micro-annuli. As the cement hydrates, water is extracted from both mud layers and channels, potentially leaving behind a longitudinal pathway of porous dried mud. Aside from these, chemical shrinkage and debonding of cement from the walls produce (dry) micro-annuli. A combination of these defects is likely responsible for some of the larger leakage rates observed (Trudel & Frigaard 2023). Fluid mechanics studies of primary cementing flows started in the 1960’s (McLean _et al._ 1967). Although three-dimensional computational studies and lab-scale experimental _Journal of Fluid Mechanics_ ( _a_ ) ( _b_ ) Casing Drilling mud Spacer Cement Figure 1. Schematic of primary cementing operations: ( _a_ ) inserting the casing into the drilled well, ( _b_ ) injecting the cement slurry into the annulus. studies are often performed (Malekmohammadi _et_ _al._ 2010; Renteria & Frigaard 2020; Sarmadi, Renteria & Frigaard 2021; Zhang & Frigaard 2023), and give detailed information, the excessive length of cemented sections makes these approaches infeasible for understanding large-scale features of the process flows. Instead, the main workhorse for process design is a two-dimensional model that is based on averaging across the annular gap: effectively a Hele-Shaw cell with a non-uniform gap thickness (Bittleston, Ferguson & Frigaard 2002). The Hele-Shaw, or two-dimensional gap-averaged (2DGA), approach was initially developed for laminar flows, assuming a uniform concentration of fluids across the annular gap. This style of model is useful in including both buoyancy and rheological effects, e.g. mud channels can be predicted. An iterative solution based on the augmented Lagrangian method is able to compute these nonlinear effects (Pelipenko & Frigaard 2004 _b_ ). Solutions show relevant process features, such as steady travelling wave displacement fronts that are also to some extent predictable theoretically (Pelipenko & Frigaard 2004 _a_, _c_ ). This method has been extended to transitional, turbulent and mixed flow regimes, which happen commonly (Maleki & Frigaard 2017, 2018). These models have also been analysed for horizontal wells, where buoyancy effects are different (Carrasco-Teja _et al._ 2008), and have been extended to scenarios where the inner cylinder (casing) is moved (Carrasco-Teja & Frigaard 2009, 2010). Models such as the 2DGA model have been used productively for many years, but have drawbacks. Inherent in the Hele-Shaw approach for laminar flows are assumptions that the streamlines are aligned in the flow direction and that inertial terms are small. Thus, multi-dimensional flow features (e.g. extreme rugosity of the outer wall, local effects near centralisers), are missed and there are many cementing flows where inertia becomes important in laminar regimes. This paper does not address these features. The second and important limitation is that the fluid concentrations are not uniform across the gap thickness. Defining a Péclet number ( _Pe_ ) based on the molecular diffusivity, a flow width _D_ <sup>ˆ</sup> and length _L_ <sup>ˆ</sup>, we find that _Pe_ ≫ _L_ <sup>ˆ</sup> _/D_ <sup>ˆ</sup> for most cementing flows. Thus, although fluids are miscible, fluids do not mix on the time scale of the displacement. Certainly we are far from the classical Taylor dispersion regime where _F. Bararpour and I.A. Frigaard_ 1 ≪ _Pe_ ≪ _L_ <sup>ˆ</sup> _/D_ <sup>ˆ</sup> (Taylor 1953; Aris 1956). The front between the two Newtonian fluids displacing in a channel remains very sharp, with the highest velocity at the centre of the channel, where the velocity is 1.5 times the mean velocity (Chen & Meiburg 1996; Petitjeans & Maxworthy 1996; Yang & Yortsos 1997). This results in advective dispersion coming from the underlying Poiseuille velocity profile. Yang & Yortsos (1997) developed asymptotic solutions for miscible Newtonian flows in a narrow plane channel to consider the impact of advective dispersion on the fluid flows. This approach was later extended by Lajeunesse _et_ _al._ (1999) to include also buoyancy effects. In this approach, an assumed distribution of displaced and displacing fluids occurs across the channel. Asymptotic methods are then used to reduce the flow equations to a one-dimensional quasilinear conservation law that exhibits pure dispersion, kinematic shocks and other features that can also be found in experiments (Lajeunesse _et_ _al._ 1999; Homsy, Scoffoni & Lajeunesse 2001). To bring this approach into the domain of cementing flows, Zhang & Frigaard (2022) introduced a new approach, the so-called dispersive two-dimensional gap-averaged (D2DGA) model, to capture advective dispersion in a narrow eccentric annulus during the displacement of two Newtonian fluids. The novelty of this method comes from a twolayer flow assumption for the fluid concentration profile across the gap direction (outlined below). The comparison between results obtained from a three-dimensional simulation and numerical experiments with the D2DGA model showed a significant improvement compared with 2DGA simulations. Not only did this highlight the model’s accuracy, but also the necessity of including dispersion in modelling the displacement process. Favourable comparisons with experiments were made in Zhang & Frigaard (2023). While the D2DGA model of Zhang & Frigaard (2022) brings a significant improvement over the classical 2DGA model, while retaining a two-dimensional formulation and consequent numerical efficiency, it neglects the influence of more complex rheological properties. This is needed for the purposes of simulating primary cementing flows more fully. Aside from model extension, there are underlying questions to answer and intuition that is missing once we consider dispersion. On the one hand, there is the intuitive notion that shear thinning and yield stress results in a blunter velocity profile, which may reduce dispersion. On the other hand, yield stress fluids can become stuck to the walls of a duct, which means that the mobile displacing fluid will move faster, increasing dispersion. To build intuition and extend the D2DGA approach, this paper extends the D2DGA approach to pairs of Herschel–Bulkley fluids, which encompass the typical range of cementing fluids. This extension is a formidable modelling task, as although it is possible to write out the closure equations, their solution is not obvious. Even having developed the closure expressions, there are questions as to whether the two-dimensional streamfunction equation can be solved and how. Hence, here we only address a restricted planar displacement flow. Lastly comes the question of external verification, e.g. as was performed in Zhang & Frigaard (2022, 2023), which is postponed to a future study. Therefore, what is presented is the development of a modelling framework. An outline of the paper is as follows. The underlying principle of the D2DGA model is first reviewed in § 2.1. The impacts of the two-layer flow on the mobility and other closure functionals for Newtonian and non-Newtonian fluids are explained in §§ 2.2 and 2.3, respectively. The behaviour of a planar displacement front scenario is analysed in § 3 for wide ranges of rheological properties. In § 3.3 we classify the displacement process into (i) stable, (ii) partial penetration and (iii) unstable regimes using Muskat’s approach at various buoyancy numbers ( _b_ ) and rheological parameters ( _nk_, _κk_ ). The paper ends with a brief summary in § 4. _Journal of Fluid Mechanics_ _H_ ( _φ_, _ξ_ ) _e_ ( _ξ_ ) = _�r/r_ 0( _ξ_ ) – _ri_ ( _ξ_ ) _r_ 0( _ξ_ ) _ri_ ( _ξ_ ) _ra_ ( _ξ_ ) _�r_ ( _a_ ) ( _b_ ) ( _c_ ) _y_ = – _H_ ( _φ_, _ξ_ ) _y_ = _H_ ( _φ_, _ξ_ ) _φ_ = 0 _φ_ Casing _ξ_ = _L_ _ξ_ = 0 _ξ_ _ξ_ Unwrapping to a Hele-Shaw cell _β_ ( _ξ_ ) _ξ_ Injection _φ_ = 1 _y_ _φ_ = 0 _φ_ = 1 Figure 2. ( _a_ ) Well geometry, ( _b_ ) schematic of the eccentric annular space between the outer surface of the casing and the wellbore wall, ( _c_ ) mapping the annulus to a Hele-Shaw cell. 2. Methodology The 2DGA approach highlights the two-dimensional features of the flow by averaging the velocity and fluid concentration profiles in the radial direction. The derivation of the model is explained in detail in Bittleston _et al._ (2002), Maleki & Frigaard (2017) and involves the use of standard scaling arguments to reduce the Navier–Stokes equations to the following dimensionless two-dimensional shear flow approximation: 0 = − <sup>_∂_</sup> _∂_ <sup>_<u>p</u>_</sup> _y_ <sup>_,_</sup> (2.1) _,_ (2.2) <sup>_β_</sup> _Fr_ <sup><u>sin∗2</u></sup> <sup>_πφ_</sup> 0 = − <sup><u>1</u></sup> _ra_ _∂φ∂_ _<u>p</u>_ <sup>+</sup> <sup>_∂_</sup> _∂_ <sup>τ</sup> _y_ <sup>_<u>φy</u>_</sup> _∂_ <sup>τ</sup> _y_ <sup>_<u>φy</u>_</sup> <sup>+</sup> <sup>_ρ_</sup> <sup><u>sin</u></sup> <sup>_β_</sup> _Fr_ <sup><u>sin∗2</u></sup> <sup>_πφ_</sup> 0 = − <sup>_∂_</sup> _∂ξ_ <sup>_<u>p</u>_</sup> <sup>+</sup> <sup>_∂_</sup> _∂_ <sup>τ</sup> _y_ <sup>_<u>ξ</u>_</sup> <sup>_<u>y</u>_</sup> _._ (2.3) <sup><u>cos</u></sup> _Fr_ <sup>∗2</sup> <sup>_β_</sup> _∂_ <sup>τ</sup> _y_ <sup>_<u>ξ</u>_</sup> <sup>_<u>y</u>_</sup> <sup>−</sup> <sup>_ρ_</sup> <sup><u>cos</u></sup> _Fr_ <sup>∗2</sup> <sup>_β_</sup> Here _φ_ denotes the azimuthal coordinate and _ξ_ measures distance along the axis of the inner pipe (casing); _p_ is the pressure, τ _φy_ and τ _ξ_ _y_ are the leading-order shear stresses, _ρ_ is the dimensionless density and _Fr_ <sup>∗</sup> is the Froude number defined by τˆ0 _Fr_ <sup>∗</sup> = _ρ_ ˆ1 ˆ _gd_ <sup>ˆ∗</sup> <sup>_,_</sup> (2.4) where _ρ_ ˆ1 is the density of fluid 1, _g_ ˆ is the gravitational acceleration and τˆ0 represents a suitable stress scale for the flows. Throughout this paper we denote dimensional variables with the ‘ · ˆ’ accent and dimensionless variables without. The inner and outer walls of the annulus have mean radii _r_ ˆ _i_ and _r_ ˆ _o_, both of which might vary slowly with _ξ_ . Axial and azimuthal distances have been scaled with _π_ ˆ _ra_ <sup>∗,</sup> <sup>where</sup> <sup>_r_</sup> <sup>ˆ</sup> _a_ <sup>∗</sup> denotes a _ξ_ -averaged mean radius. The radial distances are measured from a mean radial position and are scaled instead with a _ξ_ -averaged half-annular gap width, _d_ <sup>ˆ∗</sup>, to define the scaled radial coordinate _y_ ; see figure 2 for a sketch of the geometry. In a typical cementing _F. Bararpour and I.A. Frigaard_ set-up a representative flow rate _Q_ <sup>ˆ</sup> 0 can be defined for the process and used to define a mean velocity, _Q_ <sup>ˆ</sup> 0 = 4 _π_ ˆ _ra_ <sup>∗</sup> <sup>_d_</sup> <sup>ˆ∗</sup> <sup>_w_</sup> <sup>ˆ</sup> <sup>0. This, in turn, can be used with the rheological properties</sup> of the displaced fluid 1 to define τˆ0, e.g. τˆ0 = _(μ_ ˆ 1 ˆ _μ_ 2 _)_ <sup>1</sup> <sup>_/_</sup> <sup>2</sup> _w_ ˆ 0 _/d_ <sup>ˆ∗</sup> for two Newtonian fluids. Equations (2.2) and (2.3) represent a two-dimensional shear flow in the plane of the annulus _(φ, ξ)_ . After averaging across the annular gap and some simplifying assumptions, this model leads to a Hele-Shaw-type flow in a two-dimensional region of varying annular gap width. In general, _y_ ∈[− _H, H_ ], where _H_ = _H_ _(φ, ξ)_ is an _O(_ 1 _)_ function. A key assumption of the 2DGA model is that there is a single fluid present across the annular gap, i.e. _ρ_ in (2.2) and (2.3) is a concentration-dependent (mixture) density and the constitutive laws also rely on concentration-dependent rheological parameters. This single fluid assumption has validity for turbulent shear flows (Maleki & Frigaard 2017), but in the laminar regime there will be a displacement front within the annular gap that evolves with the flow. Indeed such flows both exhibit dispersion and are vulnerable to various fingering and interfacial instabilities (Tabeling, Zocchi & Libchaber 1987; Petitjeans & Maxworthy 1996). In the primary cementing context, the fluids involved are viscous and non-Newtonian. The flows are characterised as either high-Péclet-number miscible or large-Capillary-number immiscible displacement flows. The latter are not considered here. Where displacement fronts evolve significantly in the flow directions, a modified version of the 2DGA model is needed to investigate dispersive effects. This modification has been made by Zhang & Frigaard (2022) for two Newtonian fluids and extending the modelling approach for two Herschel–Bulkley fluids is the focus here. 2.1. _Underlying principle of the dispersive two-layer model (D2DGA)_ The mean annular gap, 2 _d_ <sup>ˆ</sup> = _(r_ ˆ _o_ −ˆ _ri_ _)_, may vary slowly with _ξ_ but remains of size _d_ <sup>ˆ∗</sup> . The narrow gap assumption is that this is small with respect to the mean circumference: 2 _π_ ˆ _ra_ <sup>∗, i.e.</sup> <sup>_d_</sup> <sup>ˆ∗</sup> <sup>_/(π_</sup> <sup>ˆ</sup> <sup>_r_</sup> _a_ <sup>∗</sup> <sup>_)_</sup> <sup>=</sup> <sup>_δ/π_</sup> <sup>≪</sup> <sup>1. Generally speaking, the following three factors contribute</sup> to the 2DGA model limitations. (i) Elimination of inertial terms in (2.2) and (2.3), which formally needs _Reδ/π_ ≪ 1. (ii) Simplification of the flow to a shear flow, where terms of _O(δ/π)_ are neglected. (iii) Simplification of the mass transport equation to include only advective mass transport by the gap-averaged velocity. Both (i) and (ii) lead to approximations that are well understood (Bittleston _et al._ 2002; Maleki & Frigaard 2017), but (iii) is less well explored. In the following, we first explain the underlying principle of the D2DGA model (Zhang & Frigaard 2022). Then, we extended this model to two viscoplastic fluids. With the same lubrication theory scaling assumptions as before, the main difference to the 2DGA model is in the assumed mass transport. Considering a high( _Pe_ ) miscible laminar flow, the thickness of diffusive layers scales with <sup>√</sup> <u>-Pécle1</u> _<u>/Pe</u>_, meaningt-number that distinct fluid layers may persist across the annulus gap. To capture the impact of advective dispersion on the displacement, it is assumed that fluid 2 can disperse symmetrically along the centre of the annular gap, between interfaces at _y_ = ± _yi_, and a thin film of fluid 1 remains near the walls, in [− _H, yi_ _)_ and _(yi_ _, H_ ], as shown in figure 3. Thus, in the D2DGA model a jump of fluid properties at the interface appears, which is neglected in the 2DGA model via the assumption of transverse mixing. The dimensionless governing equations for fluid 1 (displaced fluid) and fluid 2 (displacing fluid) are 0 = − <sup>_∂_</sup> _∂ξ_ <sup>_<u>p</u>_</sup> <sup>+</sup> <sup>_∂_</sup> <sup>τ</sup> _∂_ <sup>_<u>ξ</u>_</sup> _y_ <sup>_<u>y,</u>_</sup> <sup><u>1</u></sup> <sup>τ</sup> _∂_ <sup>_<u>ξ</u>_</sup> _y_ <sup>_<u>y,</u>_</sup> <sup><u>1</u></sup> - <sup>_ρ_</sup> <sup><u>1</u></sup> _Fr_ <sup><u>cos∗2</u></sup> <sup>_β_</sup> <sup>_β_</sup> <sup><u>sin</u></sup> <sup>_πφ_</sup> _,_ _Fr_ <sup>∗2</sup> _∂φ∂_ _<u>p</u>_ <sup>+</sup> <sup>_∂_</sup> <sup>τ</sup> _∂_ <sup>_<u>φ</u>_</sup> _y_ <sup>_<u>y,</u>_</sup> <sup><u>1</u></sup> <sup>τ</sup> _∂_ <sup>_<u>φ</u>_</sup> _y_ <sup>_<u>y,</u>_</sup> <sup><u>1</u></sup> + <sup>_ρ_</sup> <sup><u>1 sin</u></sup> _Fr_ <sup>_β_</sup> <sup><u>sin∗2</u></sup> <sup>_πφ_</sup> (2.5) Fluid 1 ⎧ ⎪⎪⎨ ⎪⎪⎩ 0 = − <sup><u>1</u></sup> _ra_ <sup><u>cos</u></sup> <sup>_β_</sup> _,_ _y_ ∈ _(yi_ _, H_ ] _,_ _Fr_ <sup>∗2</sup> _Journal of Fluid Mechanics_ 2DGA D2DGA Fluid 1 _c_ ¯ = 0 _c_ ¯ = 1 _c_ ¯ = 0 _c_ ¯ = _yi/H_ Fluid 2 _c_ ¯ = 1 _y_ = – _H_ Figure 3. Schematic of 2DGA and D2DGA models. _y_ = _H_ _∂φ∂_ _<u>p</u>_ <sup>+</sup> <sup>_∂_</sup> <sup>τ</sup> _∂_ <sup>_<u>φ</u>_</sup> _y_ <sup>_<u>y,</u>_</sup> <sup><u>2</u></sup> <sup>τ</sup> _∂_ <sup>_<u>ξ</u>_</sup> _y_ <sup>_<u>y,</u>_</sup> <sup><u>2</u></sup> - <sup>_ρ_</sup> <sup><u>2</u></sup> _Fr_ <sup><u>cos∗2</u></sup> <sup>_β_</sup> <sup>τ</sup> _∂_ <sup>_<u>φ</u>_</sup> _y_ <sup>_<u>y,</u>_</sup> <sup><u>2</u></sup> + <sup>_ρ_</sup> <sup><u>2 sin</u></sup> _Fr_ <sup>_β_</sup> <sup><u>sin∗2</u></sup> <sup>_πφ_</sup> (2.6) Fluid 2 ⎧ ⎪⎨ ⎪⎩ 0 = − <sup><u>1</u></sup> _ra_ 0 = − <sup>_∂_</sup> _∂ξ_ <sup>_<u>p</u>_</sup> <sup>+</sup> <sup>_∂_</sup> <sup>τ</sup> _∂_ <sup>_<u>ξ</u>_</sup> _y_ <sup>_<u>y,</u>_</sup> <sup><u>2</u></sup> <sup><u>cos</u></sup> <sup>_β_</sup> _,_ _y_ ∈[0 _, yi_ _)._ _Fr_ <sup>∗2</sup> <sup>_β_</sup> <sup><u>sin</u></sup> <sup>_πφ_</sup> _,_ _Fr_ <sup>∗2</sup> Note that in (2.5) and (2.6) the equations are valid only within each fluid layer, as indicated, but the densities and rheological properties are also constant in each layer. In addition, the radial momentum (2.1) is satisfied across each layer. We now introduce the density difference between the two fluids, _�ρ_ ˆ = _ρ_ ˆ1 −ˆ _ρ_ 2, and the mean density, _ρ_ ˆ = _(_ 1 −¯ _c)ρ_ ˆ1 + _c_ ¯ ˆ _ρ_ 2 = _ρ_ ˆ1 −¯ _c�ρ,_ ˆ (2.7) as well as their dimensionless versions, obtained by dividing with _ρ_ ˆ1. We define the concentration _c_ ¯ = _yi_ _/H_ such that it corresponds directly to the fraction of displacing fluid; see figure 3. The leading-order velocity is _(v, w)_ in _(φ, ξ)_ directions, and the leading-order strain rate comes from the _y_ derivatives of _(v, w)_ . The derivatives of _(v, w)_ in _(φ, ξ)_ directions come from variations in the annular gap geometry, which are small due to scaling arguments. For a generalised Newtonian fluid _k_, �2 <sup>�</sup> 1 _/_ 2 - _∂w_ _,_ (2.8) _∂_ _y_ �2 �� _∂v_ + _∂_ _y_ _,_ _γ_ ˙ = _(_ τ _φy,k,_ τ _ξ_ _y,k)_ = _ηk(γ )_ ˙ - _∂v_ _∂_ _y_ <sup>_,_</sup> <sup>_∂w_</sup> _∂_ _y_ where _τk_ = _ηk(γ )_ ˙ _γ_ ˙ is the constitutive law and _τk_ = [τ <sup>2</sup> _φy,k_ <sup>_,_</sup> <sup>τ2</sup> _ξ_ _y,k_ <sup>]1</sup> <sup>_/_</sup> <sup>2.</sup> <sup>Note</sup> <sup>that</sup> <sup>for</sup> monotone flow curves, we may equally write the effective viscosity as _ηk_ = _ηk(τk)_, or below as _ηk_ = _ηk(y)_, implicitly recognising the linear stress variation with _y_ . where _τk_ = _ηk(γ )_ ˙ _γ_ ˙ is the constitutive law and _τk_ = [τ <sup>2</sup> _φ_ <sup>2</sup> _φy,k_ <sup>_,_</sup> <sup>τ2</sup> _ξ_ By integrating (2.5) and (2.6) with respect to _y_ we arrive at _(_ τ _φy,_ 2 _,_ τ _ξ_ _y,_ 2 _)_ = τ2 = [− _G_ + _(_ 1 −¯ _c)_ _G_ _b_ ] _y,_ _y_ ∈[0 _, yi_ ] _,_ (2.9) _(_ τ _φy,_ 1 _,_ τ _ξ_ _y,_ 1 _)_ = τ1 = τ _i_ −[ _G_ + _c_ ¯ _G_ _b_ ] _(y_ - _yi_ _),_ _y_ ∈ _(yi_ _, H_ ] _._ (2.10) _F. Bararpour and I.A. Frigaard_ Here τ _i_ is the interfacial shear stress, τ _i_ = [− _G_ + _(_ 1 −¯ _c)_ _G_ _b_ ] _yi_ . The expressions for _G_ and _G_ _b_ are defined as <sup>_β_</sup> _Fr_ <sup><u>sin∗2</u></sup> <sup>_πφ_</sup> _,_ <sup>_∂_</sup> _∂ξ_ <sup>_<u>p</u>_</sup> _Fr_ <sup>∗2</sup> <sup>_∂_</sup> _∂ξ_ <sup>_<u>p</u>_</sup> <sup>+</sup> <sup>_ρ_</sup> <sup><u>cos</u></sup> _Fr_ <sup>∗2</sup> <sup>_β_</sup> _,_ (2.11) _G_ = − - <u>1</u> _ra_ _∂φ∂_ _<u>p</u>_ <sup>−</sup> <sup>_ρ_</sup> <sup><u>sin</u></sup> <sup>_β_</sup> _Fr_ <sup><u>sin∗2</u></sup> <sup>_πφ_</sup> _G_ _b_ = − _b( fξ_ _,_ - _fφ)_ : _b_ = − _ra_ <sup>_�ρ_</sup> _Fr_ <sup>∗2</sup> <sup>_,_</sup> (2.12) where _f_ = _( fφ,_ _fξ_ _)_ = _(ra_ cos _β, ra_ sin _β_ sin _πφ)_ . The vector _G_ we shall call the modified pressure gradient. Observe that in the case of the 2DGA model, τ = − _G_ _y_ (see (2.2) and (2.3)), i.e. _G_ is the frictional pressure gradient felt by the volume-averaged mixture of the two fluids. However, for the D2DGA model, there is also the vector _Gb_ that explicitly represents the buoyancy force. Note that at _y_ = _H_ the buoyancy term ( _G_ _b_ ) plays no part and τ1 _(H_ _)_ = − _G_ _H_, i.e. | _G_ | _H_ gives the wall shear stress, just as in the 2DGA model. We have separated _G_ _b_ into its direction and amplitude. Regarding the direction, note that both _ra_ and _β_ are assumed to vary only slowly with _ξ_ . The consequence of this is that primarily it is gradients in concentration that produce buoyancy effects and not changing orientation of the well. The amplitude _b_ has been signed so that typically we have _b >_ 0 in a primary cementing flow, where denser fluids typically displace lighter fluids in the upwards direction. Observe that _b_ represents a ratio of the buoyancy stress (− _�ρ_ ˆ ˆ _gd_ <sup>ˆ∗</sup> ) to the viscous stress used to scale the flow (τˆ0). Equation (2.10) indicates that the jump in fluid properties at the interface between the two fluids leads to a deviation in shear stress direction within the displaced fluid, compared with that of the displacing fluid. Since the shear stresses determine the strain rate, via constitutive laws for each fluid, this directional jump will also be felt in the fluid velocity components. To elaborate more, the buoyancy vector can independently change the flow direction, and the mean flow is not along the direction of the modified pressure gradient ( _G_ ). In figure 4( _a_ ) as an example, we have plotted the stress components that result from (2.9) and (2.10) for a particular parameter set. These equations have used symmetry at _y_ = 0 and continuity of shear stress at _y_ = _yi_ . The distance across the channel is indicated by the varying colour of the lines. We see the two linear segments, representing the two fluid layers, for the case of a non-zero _G_ _b_ . The single linear line comes from using only _G_, (with _G_ _b_ = 0), which can also be thought of as representing the stress variation in the 2DGA model. At the wall the two realisations coincide, since the wall shear stress is determined only by _G_ _H_ . Using the constitutive laws of a Herschel–Bulkley fluid for each fluid, we may also compute the two components of the velocity gradient as we traverse the channel. These are shown in figure 4( _b_ ). Again two examples are shown: with and without non-zero _G_ _b_ . Here the fluid properties selected include a yield stress in both fluids. Due to the symmetry condition at _y_ = 0, the yield stress is not exceeded close to the centre of the channel and we see that a finite interval of _y_ values map to zero velocity gradient, i.e. a central plug region, for both cases. Again the case with non-zero buoyancy shows a jump in velocity gradients at the interface, whereas the isodense case keeps a constant ratio between the two velocity gradients. From the velocity gradient, using the no slip boundary condition at _y_ = _H_, and continuity of velocity at _y_ = _yi_, the velocity profile may be calculated directly (see Appendix A). Instead, the gap-averaged velocity can be calculated directly, using integration by parts, as in Zhang & Frigaard (2022): _H_ ¯ _u_ = _(H_ ¯ _v, H_ _w)_ ¯ = _I_ 1 _G_ - <sup>_I_</sup> <sup><u>2</u></sup> (2.13) _H_ <sup>_G_</sup> <sup>_b_</sup> <sup>_._</sup> _Journal of Fluid Mechanics_ 1.0 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 ( _a_ ) 0 1.0 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 ( _b_ ) 0 –1 –2 –3 _τξ_ –0.2 –0.4 –0.6 –0.8 0 –6 –5 –4 –3 –2 –1 0 –4 0 –25 –20 –15 –10 –5 0 _∂v/∂y_ –1.0 _τφ_ Figure 4. ( _a_ ) Variation of shear stresses at _G_ = [6 1], _n_ = [1 1], τ _Y_ = [0 0], _κ_ = [1 1] _,_ _c_ ¯ = 0 _._ 5, and ( _b_ ) shear strain at _G_ = [6 1], _n_ = [0 _._ 5 0 _._ 5], τ _Y_ = [1 1], _κ_ = [1 1] _,_ _c_ ¯ = 0 _._ 5 for various 0 ⩽ _y_ ⩽ 1, the colour bar illustrates values associated to _y_ . In the straight line _G_ _b_ = [0 0] and in the deviated line _G_ _b_ = [1 1]. The change in the direction of flow comes from the sudden jump in fluid properties at the interface ( _G_ _b_ _yi_ _/y_ ). The functions _I_ 1 and _I_ 2 are - _yi_ _<u>y</u>_ ˜ <sup>2</sup> - _H_ _I_ 1 = - _H_ _yi_ _η_ 1 _(_ ˜ _y)_ <sup>d ˜</sup> <sup>_y_</sup> <sup>=</sup> <sup>_H_</sup> <sup>3</sup> <sup>_I_</sup> <sup>1</sup> <sup>_(c_</sup> <sup>¯;</sup> <sup>·</sup> <sup>_),_</sup> (2.14) _<u>y</u>_ ˜ <sup>2</sup> 0 _η_ 2 _(_ ˜ _y)_ <sup>d ˜</sup> <sup>_y_</sup> <sup>+</sup> _<u>y</u>_ ˜ _(H_ −˜ _<u>y)</u>_ d ˜ _y_ = _H_ <sup>4</sup> _I_ 2 _(c_ ¯; · _)._ (2.15) _η_ 1 _(_ ˜ _y)_ - _yi_ _<u>y</u>_ ˜ <sup>2</sup> _η_ 2 _(_ ˜ _y)_ <sup>d ˜</sup> <sup>_y_</sup> <sup>+</sup> <sup>_yi_</sup> _yi_ _I_ 2 = _(H_ - _yi_ _)_ 0 Note that, unlike the Newtonian case in Zhang & Frigaard (2022), the effective viscosity of the fluids varies with the shear stress, which means that (2.14) and (2.15) also depend explicitly on _G_ and _G_ _b_ . The expressions for _I_ 1 _(c_ ¯; · _)_ and _I_ 2 _(c_ ¯; · _)_ are given later in Appendix A. Unlike Zhang & Frigaard (2022), here we use _I_ 1 and _I_ 2 in place of _I_ 1 and _I_ 2 as they separate out the dependency on the local gap thickness from that on _c_ and the dimensionless rheological groups, represented above by the ‘ · ’. Observe that physically both _I_ 1 and _I_ 2 represent mobilities. We refer to _I_ 1 as the mean mobility and _I_ 2 as the buoyant mobility. The streamfunction for the incompressible flow is defined as ∇ _aΨ_ = _(_ 2 _H_ _w,_ ¯ −2 _H_ ¯ _v)_ . By rearranging (2.13) based on the streamfunction and cross-differentiating, we eliminate the pressure and obtain the partial differential equation ∇ _a_ · [ _S_ + _b_ ] = 0 _,_ (2.16) which is analogous to the 2DGA model. Here _S_ contains pressure gradient terms and is defined as _S_ = <sup>_<u>ra</u>_</sup> <sup>∇</sup> <sup>_<u>aΨ</u>_</sup> <sup>∇</sup> <sup>_<u>aΨ</u>_</sup> = <sup>_<u>ra</u>_</sup> <sup>∇</sup> <sup>_<u>aΨ</u>_</sup> 2 _I_ 1 2 _H_ <sup>3</sup> _I_ 1 <sup>_<u>a</u>_</sup> <sup>∇</sup> <sup>_<u>aΨ</u>_</sup> _._ (2.17) 2 _H_ <sup>3</sup> _I_ 1 Assuming that the flow is non-zero it can be shown that there is a unique mapping between _G_ and ∇ _aΨ_ (see Appendix A), so that _I_ 1 and _I_ 2 may instead be considered to depend implicitly on ∇ _aΨ_ . _F. Bararpour and I.A. Frigaard_ The second term, in the direction _f_, can be written as _I_ <u>2</u> _I_ 1 �� _f_ _._ (2.18) - <u>1</u> _Fr_ <sup>∗2</sup> <sup>+</sup> <sup>_b_</sup> - <u>1</u> _c_ ¯ + <sup>_<u>I</u>_</sup> <sup><u>2</u></sup> _I_ 1 _c_ ¯ + <sup>_<u>I</u>_</sup> <sup><u>2</u></sup> _b_ = - _ρ_ _ρ_ _Fr_ <sup>∗2</sup> <sup>+</sup> _H_ <sup>_<u>b</u>_</sup> _H_ _f_ = Observe that with our assumption on the slow variation with _ξ_, the first term can be neglected, i.e. since ∇ _a_ · _f_ = 0. The second term _bc_ ¯ _f_ gives the buoyancy gradients of the mean density and is also present in the 2DGA model. The last part comes directly from the layered flow assumption, i.e. advective dispersion directly gives rise to a buoyancy source term ( _b_ _f_ · ∇ _a_ [ _I_ 2 _/I_ 1]), that is completely absent from the 2DGA model. 2.1.1. _Evolution of the concentration_ To advance the fluid concentration, the gap-averaged velocity in the transport equation is replaced by a flux function _∂_ [ _<u>Hrac</u>_ ¯] + ∇ _a_ · _q_ = 0 _,_ (2.19) _∂t_ where _q_ is the volumetric flux passing through the displacing fluid layer: �� _yi_ _v_ d _y,_ 0 _._ (2.20) _q_ = _(qφ, qξ_ _)_ = _ra_ - _yi_ _w_ d _y_ 0 The volumetric flux function can be evaluated by expressing _(v, w)_ in terms of integrals of their _y_ derivatives, then using (2.9) and (2.10), and finally, (2.13) to eliminate the modified pressure gradient. The expression is - <sup>_∂Ψ_</sup> _∂ξ_ _ra_ _q_ 0 _(c_ ¯ _)_ - _bH_ <sup>3</sup> _I_ 3 _(c_ ¯ _)( fξ_ _,_ - _fφ)._ (2.21) _(qφ, qξ_ _)_ = <sup>_<u>ra</u>_</sup> 2 _(qφ, qξ_ _)_ = <sup>_<u>ra</u>_</sup> <sup>_∂Ψ_</sup> _∂ξ_ <sup>_,_</sup> _r_ <sup><u>1</u></sup> _a_ _∂Ψ_ _∂φ_ The isotropic flux _q_ 0 _(c_ ¯ _)_ is given by - _H_ _yi_ _<u>y</u>_ ˜ _η_ 1 _(_ ˜ _y)_ <sup>d ˜</sup> <sup>_y_</sup> _._ (2.22) <u>1</u> _q_ 0 _(c_ ¯; · _)_ = _H_ <sup>3</sup> _I_ 1 �� _yi_ 0 _<u>y</u>_ ˜ <sup>2</sup> _η_ 2 _(_ ˜ _y)_ <sup>d ˜</sup> <sup>_y_</sup> <sup>+</sup> <sup>_yi_</sup> By construction, _q_ 0 _(_ 0; · _)_ = 0 and _q_ 0 _(_ 1; · _)_ = 1. Note that the _H_ <sup>3</sup> power normalises the two integrals. In the case of the 2DGA model, _q_ 0 _(c_ ¯; · _)_ = _c_ ¯. The buoyancy component of the volumetric flux is governed by _I_ 3 _(c_ ¯; · _)_ : _<u>y</u>_ ˜ <sup>2</sup> - _H_ _I_ 2 <u>1</u> _I_ 3 _(c_ ¯; · _)_ = _H_ <sup>7</sup> _I_ 1 ��� _yi_ 0 - _H_ _yi_ _<u>y</u>_ ˜ _η_ 1 _(_ ˜ _y)_ <sup>d ˜</sup> <sup>_y_</sup> - _yi_ _η_ 2 _(_ ˜ _y)_ <sup>d ˜</sup> <sup>_y_</sup> <sup>+</sup> <sup>_yi_</sup> _(H_ −˜ _<u>y)</u>_ _<u>y</u>_ ˜ <sup>2</sup> _yi_ _(H_ - _yi_ _)_ _I_ 1 _η_ 1 _(_ ˜ _y)_ <sup>d ˜</sup> <sup>_y_</sup> _i_ _η_ 2 _(_ ˜ _y)_ <sup>d ˜</sup> <sup>_y_</sup> <sup>+</sup> <sup>_y_</sup> <sup>2</sup> _<u>y</u>_ ˜ <sup>2</sup> _i_ 0 - _yi_ _(_ ˜ _<u>y</u>_ - _<u>yi</u>_ _)_ - _H_ + <u>1</u> = _H_ <sup>7</sup> _I_ 1 �� _yi_ _η_ 1 _(_ ˜ _y)_ <sup>d ˜</sup> <sup>_y_</sup> _η_ 2 _(_ ˜ _y)_ <sup>d ˜</sup> <sup>_y_</sup> 0 _<u>y</u>_ ˜ _η_ 1 _(_ ˜ _y)_ <sup>d ˜</sup> <sup>_y_</sup> <u>1</u> _η_ 1 _(_ ˜ _y)_ <sup>d ˜</sup> <sup>_y_</sup> ��� _H_ _yi_ _yi_ �� _H_ _._ (2.23) - <sup>��</sup> �2 _yi_ _<u>y</u>_ ˜ <sup>2</sup> _η_ 1 _(_ ˜ _y)_ <sup>d ˜</sup> <sup>_y_</sup> + _yi_ <sup>2</sup> ��� _H_ _yi_ Again, the _H_ <sup>7</sup> power normalises all the integral terms, which now depend only on _c_ and rheological parameters. We refer to _I_ 3 as the buoyancy flux distribution. _Journal of Fluid Mechanics_ 2.2. _Newtonian fluids_ Zhang & Frigaard (2022) evaluated _I_ 1 and _I_ 2 analytically for two Newtonian fluids. Our formulae are slightly different, as our scaling is chosen with a view to the non-Newtonian fluid pairs, considered later. We use the geometric mean viscosity _(μ_ ˆ 1 ˆ _μ_ 2 _)_ <sup>0</sup> <sup>_._</sup> <sup>5</sup> to define the stress scale ˆτ0. The viscosity ratio is defined as _m_ = _μ_ ˆ 1 _/_ ˆ _μ_ 2. Hence, we find that _η_ 1 = _m_ <sup>0</sup> <sup>_._</sup> <sup>5</sup>, _η_ 2 = _m_ <sup>−0</sup> <sup>_._</sup> <sup>5</sup> and the following expressions result: 1 −¯ _c_ <sup>3�</sup> _<u>i</u>_ <sup>−</sup> <sup>_y_</sup> <sup>3</sup> 3 _η_ 1 = _H_ <sup>3</sup> <sup>_m_</sup> <sup>0</sup> <sup>_._</sup> <sup>5</sup> <sup>_c_</sup> <sup>¯3</sup> <sup>+</sup> <sup>_m_</sup> <sup>−0</sup> <sup>_._</sup> <sup>5 �</sup> _I_ 1 = _I_ 2 = _yi_ <sup>3</sup> _yi_ <sup>3</sup> _<u>i</u>_ + <sup>_H_</sup> <sup>3</sup> <sup>−</sup> <sup>_y_</sup> <sup>3</sup> 3 _η_ 2 3 _η_ 1 - _yi_ _)yi_ <sup>3</sup> + <sup>_<u>yi</u>_</sup> <sup>_(H_</sup> <sup>−</sup> <sup>_<u>yi</u>_</sup> <sup>_)_</sup> <sup>2</sup> <sup>_(H_</sup> <sup>+ 2</sup> <sup>_<u>yi</u>_</sup> <sup>_)_</sup> 3 _η_ 2 6 _η_ 1 6 _η_ 1 _(H_ - _yi_ _)yi_ <sup>3</sup> = _H_ <sup>3</sup> _I_ 1 _(c_ ¯; _m),_ (2.24) 3 = _H_ <sup>4</sup> <sup><u>2</u></sup> <sup>_<u>m</u>_</sup> <sup>0</sup> <sup>_._</sup> <sup>5</sup> <sup>_<u>c</u>_</sup> <sup>¯3</sup> <sup>_(_</sup> <sup><u>1 −¯</u></sup> <sup>_<u>c)</u>_</sup> <sup>+</sup> <sup>_<u>m</u>_</sup> <sup>−0</sup> <sup>_._</sup> <sup>5</sup> <sup>_<u>c</u>_</sup> <sup>¯</sup> <sup>_(_</sup> <sup><u>1 −¯</u></sup> <sup>_<u>c)</u>_</sup> <sup>2</sup> <sup>_(_</sup> <sup><u>1 + 2</u></sup> <sup>_<u>c</u>_</sup> <sup>¯</sup> <sup>_)_</sup> = _H_ <sup>4</sup> _I_ 2 _(c_ ¯; _m)._ (2.25) 6 The flux function in (2.21) can be simplified to (2.26) _q_ 0 _(c_ ¯; _m)_ = _c_ ¯ - _<u>m</u>_ ¯ _<u>c</u>_ 2 + 1 _._ <u>5</u> _(_ <u>1 −¯</u> _<u>c</u>_ 2 _)_ _m_ ¯ _c_ <sup>3</sup> + 1 −¯ _c_ <sup>3</sup> and _I_ 3 _(c_ ¯; _m)_ = <sup>_c_</sup> <sup>¯2</sup> <sup>_(_</sup> <sup>1 −¯</sup> <sup>_c)_</sup> <sup>3 �</sup> 12[ _m_ 4 _m_ ¯ _c_ + 3 _(_ 1 −¯ _c_ <sup>2</sup> _)_ _._ (2.27) 12[ _m_ ¯ _c_ <sup>3</sup> + 1 −¯ _c_ <sup>3</sup> ] Observe that, for _m_ = 1 and _�ρ_ = 0, the flux function is equal to _ra_ _c_ ¯ _(_ 1 _._ 5 − 0 _._ 5 _c_ ¯ <sup>2</sup> _),_ (2.28) _(qφ, qξ_ _)_ = <sup>_<u>ra</u>_</sup> 2 - <sup>_∂Ψ_</sup> _∂ξ_ <sup>_∂Ψ_</sup> _∂ξ_ <sup>_,_</sup> _r_ <sup><u>1</u></sup> _a_ _∂Ψ_ _∂φ_ which is _(_ 1 _._ 5 − 0 _._ 5 _c_ ¯ <sup>2</sup> _)_ times the flux function coming from the 2DGA model, where _q_ 0 = _c_ ¯. This amplified term is associated with the underlying Poiseuille flow, which disperses the flow. This is similar to the flux term previously calculated analytically using a transverse flow equilibrium assumption to capture the dispersion of two miscible Newtonian fluids in a long channel (Yang & Yortsos 1997). Note however that here the gap thickness ( _H_ ) in an eccentric annulus depends on both azimuthal and axial directions, and the local mean velocity may also vary. Comparing the mean mobility _I_ 1 expression from the 2DGA model ( _I_ 1 = [ _m_ <sup>0</sup> <sup>_._</sup> <sup>5</sup> _c_ ¯ + _m_ <sup>−0</sup> <sup>_._</sup> <sup>5</sup> _(_ 1 −¯ _c)_ ] _/_ 3) with (2.24), we can interpret the D2DGA model as a form of interpolation of the viscosity at intermediate concentrations; see figure 5( _a_ ). In the absence of the buoyancy force, _q_ 0 _(c_ ¯ _)_ determines the frontal behaviour of the displacement; see figure 5( _b_ ). Since _d_ <sup>2</sup> _q_ 0 _/_ d _c_ ¯ <sup>2</sup> _<_ 0 for the D2DGA model, the front with lower concentration travels at the higher speed, which disperses the interface. The straight line in figure 5( _b_ ) corresponds to the uniform front speed of the 2DGA model. This clearly highlights the limitation of the 2DGA model in capturing the dispersive fronts. Evidently, prediction of non-dispersive frontal behaviours using the 2DGA model can result in overestimating the volumetric efficiency, as noted in Zhang & Frigaard (2022). The effect of the viscosity ratio on the variation of mean mobility _I_ 1 _(c_ ¯ _)_ and isotropic flux _q_ 0 _(c_ ¯ _)_ are illustrated in figures 5( _a_ ) and 5( _b_ ) for the D2DGA model. The constant value of mean mobility for _m_ = 1 is the same as that from the 2DGA model. On the other hand, whenever _m_ ̸ = 1, the new expression defined for the mean mobility of fluids ( _I_ 1 _(c_ ¯ _)_ ) leads to a variation with concentration, between the 2DGA values, which are recovered at ( _a_ ) _I_ 1 1.0 2DGA, _m_ = 5 D2DGA, _m_ = 5 D2DGA, _m_ = 1 0.8 D2DGA, _m_ = 0.2 0.6 0.4 0.2 0 0.2 0.4 0.6 0.8 1.0 _c_ ¯ _F. Bararpour and I.A. Frigaard_ ( _b_ ) 1.0 0.8 0.6 0.4 0.2 0 0.2 0.4 0.6 0.8 1.0 _c_ ¯ 2DGA, _m_ = 5 D2DGA, _m_ = 5 D2DGA, _m_ = 1 D2DGA, _m_ = 0.2 Figure 5. Variation of _I_ 1 _(c_ ¯ _)_ and _q_ 0 _(c_ ¯ _)_ by _c_ ¯ for Newtonian fluids at _m_ = 5 _,_ 1 _,_ 0 _._ 2, _w_ ¯ = 1, _b_ = 0 (isodensity). _c_ ¯ = 0 and _c_ ¯ = _H_ . When the viscosity of the displacing fluid is higher than the displaced fluid ( _m <_ 1), the front becomes more stable and the mean mobility of fluids decreases with _c_ ¯. For invasion of a low viscous fluid into a high viscous fluid ( _m >_ 1), the front is less stable and the mean mobility of fluids increases with _c_ ¯. We can also observe this in the behaviour of the isotropic flux _q_ 0 _(c_ ¯ _)_ . The wavespeeds ( _q_ 0 <sup>′</sup> <sup>_(c_</sup> <sup>¯</sup> <sup>_)_</sup> <sup>)</sup> <sup>at</sup> <sup>low</sup> <sup>_c_</sup> <sup>¯</sup> <sup>increase</sup> <sup>with</sup> _m_, implying increased dispersion of the finger of fluid 2 into fluid 1. The buoyant mobility component _I_ 2 always vanishes at both _c_ ¯ = 0 and 1, since buoyancy arises only from having two fluids present, but here this is irrelevant as _b_ = 0. 2.3. _Non-Newtonian fluids_ Cementing fluids are typically modelled as Herschel–Bulkley fluids, in which the consistency, power-law index and yield stress of fluid _k_ are denoted by _κ_ ˆ _k_, _nk_ and τˆ _Y,k_, respectively: _k_ = 1 for the displaced fluid and _k_ = 2 for the displacing fluid. As an effective viscosity scale we use �0 _._ 5 0 <sup>_n_</sup> <sup>2−1</sup> _,_ _γ_ ˆ˙0 = _w_ ˆ 0 _/_ ˆ _d_ <sup>∗</sup> _._ (2.29) _μ_ ˆ _e_ = _κ_ ˆ1 _γ_ <sup>ˆ</sup> ˙0 <sup>_n_</sup> <sup>1−1</sup> 0 <sup>_n_</sup> <sup>1−1</sup> _κ_ ˆ2 _γ_ <sup>ˆ</sup> ˙0 <sup>_n_</sup> <sup>2−1</sup> We then define the stress scale τˆ0 as τˆ0 = _μ_ ˆ _eγ_ <sup>ˆ</sup> ˙0 + max{ˆτ _Y,_ 1 _,_ ˆτ _Y,_ 2} _._ (2.30) The scaled constitutive laws for fluid _k_ are ���� <u>d</u> _<u>u</u>_ d _y_ <sup>_,_</sup> ⇔| τ _k_ | _>_ τ _Y,k,_ _nk_ −1 −1 <sup>�</sup> (2.31) τ _k_ = _κk_ <u>d</u> _<u>u</u>_ ���� d _y_ ���� + τ _Y,k_ <u>d</u> _<u>u</u>_ ���� d _y_ <u>d</u> _<u>u</u>_ d _y_ <sup>= 0</sup> <sup>_,_</sup> ⇔| τ _k_ | ⩽ τ _Y,k._ The scaled parameters can be written as <u>0</u> _κ_ 1 = <sup>_κ_</sup> <sup>ˆ1</sup> <sup>_γ_</sup> <sup>ˆ˙</sup> <sup>_n_</sup> <sup>1</sup> τˆ0 <u>0</u> <sup>_<u>m</u>_</sup> <sup>0</sup> <sup>_._</sup> <sup>5</sup> _κ_ 2 = <sup>_κ_</sup> <sup>ˆ2</sup> <sup>_γ_</sup> <sup>ˆ˙</sup> <sup>_n_</sup> <sup>2</sup> 1 + _B_ <sup>_,_</sup> τˆ0 <sup>_<u>m</u>_</sup> <sup>−0</sup> <sup>_._</sup> <sup>5</sup> τ _Y,k_ = <sup>τˆ</sup> <sup>_<u>Y,k</u>_</sup> 1 + _B_ <sup>_,_</sup> τˆ0 = <sup>_<u>m</u>_</sup> <sup>0</sup> <sup>_._</sup> <sup>5</sup> 1 + <u>0</u> <sup>_γ_</sup> <sup>ˆ˙</sup> τˆ0 τˆ0 = <sup>_<u>m</u>_</sup> <sup>−0</sup> <sup>_._</sup> <sup>5</sup> 1 + _B_ _,_ (2.32) ( _a_ ) _I_ 1 0.7 0.6 0.5 0.4 _Journal of Fluid Mechanics_ ( _b_ ) _n_ = [1 1] _n_ = [0.8 0.8] _n_ = [0.6 0.6] _n_ = [0.4 0.4] _n_ = [0.2 0.2] 1.0 0.8 0.6 0.4 0.2 _n_ = [1 1] _n_ = [0.8 0.8] _n_ = [0.6 0.6] _n_ = [0.4 0.4] _n_ = [0.2 0.2] A flat interface (2DGA) _n_ = 1 _n_ = 0.6 _n_ = 0.2 _w_ 1.6 1.2 0.8 0.4 0.3 0 0.2 0.4 0.6 0.8 1.0 _c_ ¯ 0 0.2 0.4 0.6 0.8 1.0 _y_ 0 0.2 0.4 0.6 0.8 1.0 _c_ ¯ Figure 6. Variation of mean mobility _I_ 1 _(c_ ¯ _)_ and isotropic flux and _q_ 0 _(c_ ¯ _)_ with _c_ ¯ based on D2DGA model for shear-thinning fluids at _m_ = 1 _,_ _w_ ¯ = 1 _, b_ = 0 (isodensity) _._ As the power-law index of the fluids reduces, the effective viscosity _(μ_ ˆ _e)_ decreases leading to a growth in the mean mobility value. The first and second components of _n_ = [ _n_ 1 _n_ 2] represent the power-law index of the displaced and displacing fluids, respectively. where _m_ = _κ_ ˆ1 _γ_ <sup>ˆ</sup> ˙0 <sup>_n_</sup> <sup>1−</sup> <sup>_n_</sup> <sup>2</sup> _/κ_ ˆ2 is the generalisation of the Newtonian viscosity ratio. The Bingham number _B_ here is _B_ = <sup><u>max{ˆτ</u></sup> <sup>_<u>Y,</u>_</sup> <sup><u>1</u></sup> <sup>_,_</sup> <sup>ˆτ</sup> <sup>_<u>Y,</u>_</sup> <sup><u>2}</u></sup> _μ_ ˆ _eγ_ <sup>ˆ</sup> ˙0 _._ (2.33) Note that the parameters above simplify to the Newtonian definitions. The point of using max{ˆτ _Y,_ 1 _,_ ˆτ _Y,_ 2} is that the resulting scaled yield stresses are bounded within [0 _,_ 1 _)_, which is useful for numerical evaluation and tabulation. Note that each _Ik(c_ ¯ _)_ and _q_ 0 _(c_ ¯ _)_ now depend on the constitutive laws of the fluids. In yielded regions, _ηk(_ ˜ _y)_ is defined as −1 <sup>�</sup> _ηk_ = _κk_ <u>d</u> _<u>u</u>_ ���� d _y_ _nk_ −1 ���� + τ _Y,k_ <u>d</u> _<u>u</u>_ ���� d _y_ ���� _._ (2.34) It follows that (2.13) becomes nonlinear, either considered as an equation in terms of _u_ ¯ (equivalently ∇ _aΨ_ ) or _G_ . An explicit analytical solution is not possible in general, and the solution _u_ is needed in order to evaluate the different closure functionals ( _Ik(c_ ¯ _)_ and _q_ 0 _(c_ ¯ _)_ ). The solution can be found, either for fixed _u_ ¯ or fixed _G_, via the iterative solution of an equivalent convex minimisation problem. This is discussed in Appendix A. As an example, figure 6 displays the variation of the mean mobility and isotropic flux for two shear-thinning fluids with equal power-law indexes and with no buoyancy. As the effective viscosities of the two fluids are identical there is no _c_ ¯ dependency in figure 6( _a_ ). As the power-law index of both fluids reduces ( _n_ → 0 _._ 2), the effective viscosity decreases and leads to an increase in the mean mobility value. The variation of isotropic flux is illustrated in figure 6( _b_ ). The broken straight line corresponds to a planar interface between the two fluids. At the lowest power-law index of the fluids, the isotropic flux gets closer to the broken straight line. This coincides with the fluid velocity becoming progressively plug-like, as observed in the inset of figure 6( _b_ ). _F. Bararpour and I.A. Frigaard_ ( _a_ ) ( _b_ ) A flat interface (2DGA) _τY_ = [0.94 0.23], _n_ = [0.5 0.5] _τY_ = [0.94 0.33], _n_ = [0.5 0.5] _τY_ = [0.94 0.71], _n_ = [0.5 0.5] _τY_ = [0.94 0.94], _n_ = [0.5 0.5] _τY_ = [0.94 0.23], _n_ = [0.7 0.7] _τY_ = [0.94 0.33], _n_ = [0.7 0.7] _τY_ = [0.94 0.71], _n_ = [0.7 0.7] _τY_ = [0.94 0.94], _n_ = [0.7 0.7] 0.2 0.4 0.6 0.8 1.0 _I_ 1, fluid 1 _I_ 1, fluid 2 _I_ 1 _I_ 1 ≈ 3.14 _c_ ¯ – 0.63 _I_ 1 3 2 1 _I_ 1 3.0 2.5 2.0 1.5 1.0 0.5 0 0.5 1.0 _c_ ¯ _a_ ≈ 3.14 _a_ ≈ 2.39 _a_ ≈ 1 0 0.2 0.4 0.6 0.8 1.0 1.0 0.8 0.6 0.4 0.2 0 _c_ ¯ _c_ ¯ ( _c_ ) ( _d_ ) 3.0 A flat interface (2DGA) _τY_ = [0.23 0.94], _n_ = [0.5 0.5] _τY_ = [0.33 0.94], _n_ = [0.5 0.5] _τY_ = [0.71 0.94], _n_ = [0.5 0.5] _τY_ = [0.94 0.94], _n_ = [0.5 0.5] _τY_ = [0.23 0.94], _n_ = [0.7 0.7] _τY_ = [0.33 0.94], _n_ = [0.7 0.7] _τY_ = [0.71 0.94], _n_ = [0.7 0.7] _τY_ = [0.94 0.94], _n_ = [0.7 0.7] 0.2 0.4 0.6 0.8 1.0 0 0.2 0.4 0.6 0.8 1.0 _c_ ¯ _c_ ¯ 1.0 0.8 0.6 0.4 0.2 _I_ 1 2.5 2.0 1.5 1.0 0.5 0 Figure 7. The effect of the yield stress of the displacing fluid ( _a,b_ ) and the displaced fluid ( _c,d_ ) on the variation of mean mobility _I_ 1 _(c_ ¯ _)_ and isotropic flux _q_ 0 _(c_ ¯ _)_ with _c_ ¯. The results are obtained using the D2DGA model for Herschel–Bulkley fluids and isodense flows ( _b_ = 0) at _m_ = 1 _, B_ = 18 _._ 3 for _n_ = [0 _._ 5 0 _._ 5] and _B_ = 17 _._ 66 for _n_ = [0 _._ 7 0 _._ 7]. The first and second components of _n_ = [ _n_ 1 _n_ 2] and _τ_ _Y_ = [ _τY,_ 1 _τY,_ 2] represent the power-law index and the yield stress of the displaced and displacing fluids, respectively. The impact of yield stress of both fluids on mean mobility and isotropic flux are shown in figure 7, again with no buoyancy. In figure 7( _a_, _b_ ) the yield stress of the displaced fluid is fixed at τ _Y,_ 1 = 0 _._ 94, and the yield stress of the displacing fluid is varied: τ _Y,_ 2 = 0 _._ 23 _,_ 0 _._ 33 _,_ 0 _._ 71 _,_ 0 _._ 94. Looking at the low range of _c_ ¯ in figure 7( _a_ ), the yield stress� _y_ of _i_ the displacing fluid is not exceeded. The contribution of the displacing fluid (i.e. 0 <sup>[ ˜</sup> <sup>_y_</sup> <sup>2</sup> <sup>_/η_</sup> <sup>2</sup> <sup>_(_</sup> <sup>˜</sup> <sup>_y)_</sup> <sup>] d ˜</sup> <sup>_y_</sup> <sup>)</sup> <sup>to</sup> <sup>the</sup> <sup>mean</sup> <sup>mobility</sup> <sup>is</sup> <sup>therefore</sup> <sup>zero</sup> <sup>since</sup> <sup>_η_</sup> <sup>2 →∞</sup> <sup>and</sup> yield stress� _y_ of _i_ the displacing fluid is not exceeded. The contribution of the displacing fluid (i.e. 0 <sup>[ ˜</sup> <sup>_y_</sup> <sup>2</sup> <sup>_/η_</sup> <sup>2</sup> <sup>_(_</sup> <sup>˜</sup> <sup>_y)_</sup> <sup>] d ˜</sup> <sup>_y_</sup> <sup>)</sup> <sup>to</sup> <sup>the</sup> <sup>mean</sup> <sup>mobility</sup> <sup>is</sup> <sup>therefore</sup> <sup>zero</sup> <sup>since</sup> <sup>_η_</sup> <sup>2 →∞</sup> <sup>and</sup> _γ_ ˙ → 0. Therefore, the mean mobility of the fluids is initially constant and comes only - _H_ from the displaced fluid (i.e. _yi_ <sup>[ ˜</sup> <sup>_y_</sup> <sup>2</sup> <sup>_/η_</sup> <sup>1</sup> <sup>_(_</sup> <sup>˜</sup> <sup>_y)_</sup> <sup>] d ˜</sup> <sup>_y_</sup> <sup>), and specifically from a yielded layer close</sup> - _H_ from the displaced fluid (i.e. _yi_ <sup>[ ˜</sup> <sup>_y_</sup> <sup>2</sup> <sup>_/η_</sup> <sup>1</sup> <sup>_(_</sup> <sup>˜</sup> <sup>_y)_</sup> <sup>] d ˜</sup> <sup>_y_</sup> <sup>), and specifically from a yielded layer close</sup> to the wall. This contribution is identical to that for when the channel is fully filled with the displaced fluid _I_ 1 _(c_ ¯ _)_ ≈ 0 _._ 9. To illustrate these constant regions at small _c_ ¯, we have _Journal of Fluid Mechanics_ separated out the contributions to the mean mobility ( _I_ 1) from displaced and displacing fluids and plotted these against _c_ ¯ in the inset of figure 7( _a_ ) for _τY_ = [0 _._ 94 0 _._ 23] _,_ _n_ = [0 _._ 5 0 _._ 5]. As the concentration increases, the displacing fluid starts yielding, and the impact of the mobility of the displacing fluid on the mean mobility ( _I_ 1 _(c_ ¯ _)_ ) increases. We observe that _I_ 1 is approximately linear over a range of _c_ ¯, with growth rate _a_, which reduces as the yield stress of the displacing fluid approaches that of the displaced fluid (τ _Y,_ 2 → 0 _._ 94). From the inset of figure 7( _a_ ), we see that the approximately linear growth of the mean mobility starts as the concentration exceeds _c_ ¯ ≈ 0 _._ 52, and coincides with the emergence of a static wall layer in fluid 1 (within which the mobility of fluid 1 is zero). Figure 7( _b_ ) displays the impact of the yield stress of the displacing fluid on the frontal behaviour, felt via the isotropic flux function _q_ 0 _(c_ ¯ _)_ . The rheological parameters are identical with figure 7( _a_ ) and the fluids have the same density ( _b_ = 0). At small values of _τY,_ 2, e.g. 0 _._ 23 _,_ 0 _._ 33, due to the high yield stress of the displaced fluid, there is an interval of _c_ ¯ for which the displaced fluid is completely unyielded and, consequently, the isotropic flux increases linearly with _c_ ¯ (given by the plug velocity multiplying _c_ ¯). As the displacing fluid begins to yield, we see a transfer to fluid 2. The minimum concentration for which _q_ 0 _(c_ ¯ _)_ = 1 is denoted _c_ ¯ _min_ and can be directly calculated. For _c_ ¯ _>_ _c_ ¯ _min_, fluid 1 remains static and _q_ 0 _(c_ ¯ _)_ = 1. In figure 7( _c_, _d_ ) the impact of the yield stress of the displaced fluid is investigated, where the yield stress of the displacing fluid is fixed at τ _Y,_ 2 = 0 _._ 94. Unlike Figure7( _a_ ), the mean mobility _I_ 1 is approximately _c_ ¯ independent for a wide range of concentrations. Fluids with lower _τY,_ 1 have higher mean mobility values. Figure 7( _d_ ) shows the analogous variations in isotropic flux, which are close to linear. This comes from the high plasticity and central plug region of the displacing fluid. 2.3.1. _Variations of mean mobility (I_ 1 _(c_ ¯ _)) with static wall layers_ We have still not explained the apparent linear growth of _I_ 1 for _c_ ¯ ⩾ _c_ ¯ _min_, although this appears to be associated with the regime of static wall layers. Assuming that _c_ ¯ ⩾ _c_ ¯ _min_, only fluid 2 is flowing. Since the flow is still computed for a fixed flow rate, but now with a single fluid, we may use the earlier results from the 2DGA model to find the relation between _Gξ_ and _c_ ¯, i.e. the displacing fluid is injected into a channel with a half-width _c_ ¯ at a mean velocity of _w_ ¯ = 1: - _c_ ¯ _w_ d ˜ _y_ = _F_ 2 _(Gξ_ _)._ (2.35) 0 Here _F_ 2 _(Gξ_ _)_ is defined as _n_ <u>12</u> <sup>+1</sup> _cG_ ¯ _ξ_ + τ _Y,_ 2 + 1 ~~��~~ <u>1</u> + 1 _n_ 2 ~~�~~ <sup>_(cG_</sup> <sup>¯</sup> <sup>_<u>ξ</u>_</sup> <sup>−</sup> <sup>τ</sup> <sup>_<u>Y,</u>_</sup> <sup><u>2</u></sup> <sup>_)_</sup> _F_ 2 _(Gξ_ _)_ = �� <u>1</u> _<u>n</u>_ <u>2</u> _G_ <sup>2</sup> _ξ_ ~~�~~ <u>1</u> _n_ 2 + 2 <u>+</u> <sup>τ</sup> <sup>_<u>Y,</u>_</sup> <sup><u>2</u></sup> <sup>_)_</sup> _,_ _cG_ ¯ _ξ_ _>_ τ _Y,_ 2 _._ (2.36) _κ_ <sup>_(_</sup> <sup>1</sup> <sup>_/n_</sup> <sup>2</sup> <sup>_)_</sup> When the displaced fluid is static, (2.14) can also be simplified to (2.37) using integration by parts, such that the flow rate constraint is satisfied: - _c_ ¯ _<u>y</u>_ ˜ ˙ _γ_ <u>0</u> <sup>_w_</sup> <sup>d ˜</sup> <sup>_y)_</sup> <sup>= 1</sup> _._ (2.37) _Gξ_ _(c_ ¯ _)_ <sup>d ˜</sup> <sup>_y_</sup> <sup>=</sup> <sup>_(_</sup> _Gξ_ _(c_ ¯ _)_ - _c_ ¯ 0 _I_ 1 _(c_ ¯; _.)_ = - _c_ ¯ 0 _<u>y</u>_ ˜ <sup>2</sup> _η_ 2 _(_ ˜ _y)_ <sup>d ˜</sup> <sup>_y_</sup> <sup>= −</sup> ( _a_ ) _F. Bararpour and I.A. Frigaard_ ( _b_ ) 2.0 1.5 Newtonian (fluid 2), fluid 1: _τY_,1 = 0.94, _n_ 1= 0.5, with _c_ ¯ _min_ = 0.59, and fitted curve 1 _/ac_ ¯ <sup>3</sup> + _b_ Power-law (fluid 2) _n_ 2 = 0.6, fluid 1: _τY_,1 = 0.94, _n_ 1 = 0.5 with _c_ ¯ _min_ = 0.39, and fitted curve 1 _/ac_ ¯ <sup>2.2</sup> + _b_ Power-law (fluid 2) _n_ 2 = 0.4, fluid 1: _τY_,1 = 0.94, _n_ 1 = 0.5 with _c_ ¯ _min_ = 0.28, and fitted curve 1 _/ac_ ¯ <sup>1.8</sup> + _b_ _τY_,1 = 0.94, _τY_,2 = 0.23, _n_ 1 = _n_ 2 = 0.5 with _c_ ¯ _min_ = 0.52, and fitted curve 1 _/ac_ ¯ + _ba_ 12 Newtonian (fluid 2), fluid 1: _τY_,1 = 0.94, _n_ = 0.5 _τY_,1 = 0.94, _τY_,2 = 0.23, _n_ 1 = _n_ 2 = 0.5 Fitted curve ( _n_ 2 = 0.5, _τY,_ 2 = 0.23) _ac_ ¯ + _b_ Fitted curve (Newtonian) _ac_ ¯ <sup>3</sup> + _b_ Power-law (fluid 2) _n_ = 0.6 fluid 1: _τY_,1 = 0.94, _n_ = 0.5 Fitted curve ( _n_ = 0.6) _ac_ ¯ <sup>2.2</sup> + _b_ Power-law (fluid 2) _n_ = 0.4, fluid 1: _τY_,1 = 0.94, _n_ = 0.5 Fitted curve ( _n_ = 0.4) _ac_ ¯ <sup>1.8</sup> + _b_ _Gξ_ 1.0 _I_ 1 0.5 10 8 6 4 2 0 0.2 0.4 0.6 0.8 1.0 0 0.2 0.4 0.6 0.8 1.0 _c_ ¯ _c_ ¯ Figure 8. Variation of _Gξ_ _(c_ ¯ _)_ ( _a_ ) and the mean mobility _I_ 1 _(c_ ¯ _)_ ( _b_ ) by _c_ ¯ for isodense flows ( _b_ = 0) for invasion of Newtonian, power-law ( _n_ 2 = 0 _._ 6 and _n_ 2 = 0 _._ 4) and Herschel–Bulkley fluids ( _n_ 2 = 0 _._ 5, _τY,_ 2 = 0 _._ 23) into the displaced fluid with a yield stress of _τY,_ 1 = 0 _._ 94 and power-law index of _n_ 1 = 0 _._ 5. Replacing _Gξ_ _(c_ ¯ _)_ in (2.37) with (2.36) leads to _n_ <u>12</u> <sup>+1</sup> _(cG_ ¯ _ξ_ - _τY,_ 2 _)_ + _(cG_ ¯ _ξ_ ~~��~~ <u>1</u> _<u>n</u>_ <u>2</u> ~~�~~ <u>1</u> _<u>n</u>_ <u>2</u> ~~�~~ + 2 <u>1</u> _I_ 1 _(c_ ¯; _.)_ = _Gξ_ _(c_ ¯ _)_ <sup>=</sup> _κ_ <sup>1</sup> <sup>_/n_</sup> <sup>2</sup> 2 + 1 _._ (2.38) ~~�~~ <u>1</u> _n_ 2 ~~�~~ + 1 + _τY,_ 2 _)_ To verify this approach, we consider when the yield stress of the displacing fluid is negligible, in which case (2.36) and (2.38) can be simplified further to give <u>1</u> _Gξ_ = _a_ ¯ _c_ <sup>2</sup> <sup>_n_</sup> <sup>2+1</sup> + _b_ <sup>_,_</sup> _I_ 1 _(c_ ¯; _.)_ = _(a_ ¯ _c_ <sup>2</sup> <sup>_n_</sup> <sup>2+1</sup> + _d),_ (2.39) where _a_ = 1 _/((_ 1 _/n_ 2 + 2 _)κ_ 2 <sup>_(_</sup> <sup>1</sup> <sup>_/n_</sup> <sup>2</sup> <sup>_)_</sup> _)_ <sup>_n_</sup> <sup>2</sup> and _d_ is a constant, e.g. for Newtonian fluids, _Gξ_ ≈ _(_ 1 _/a_ ¯ _c_ <sup>3</sup> + _d)_ . Figure 8( _a_, _b_ ) displays the variation of the axial modified pressure gradient ( _Gξ_ ) and the mean mobility ( _I_ 1 _(c_ ¯ _)_ ), with concentration for various displacing fluid rheological properties, with the yield stress and the power-law index of the displaced fluid fixed at _τY,_ 1 = 0 _._ 94 and _n_ 1 = 0 _._ 5. The green lines illustrate the curves fitted to expressions of the form 1 _/_ [ _a_ ¯ _c_ <sup>2</sup> <sup>_n_</sup> <sup>2+1</sup> + _d_ ] for the modified pressure gradient, for _c_ ¯ ⩾ _c_ ¯ _min_ . We find excellent agreement. Note that _c_ ¯ _min_ can be calculated analytically with _c_ ¯ _min_ = [ _H/(aτY,_ 1 _)_ ] <sup>_(_</sup> <sup>1</sup> <sup>_/_</sup> <sup>2</sup> <sup>_n_</sup> <sup>2+1</sup> <sup>_)_</sup> for power-law displacing fluids. This is obtained when _Gξ_ _(c_ ¯ _min)_ is equal to _τY,_ 1 _/H_, which is required to overcome the yield stress of the displaced fluid. As the rheological properties of the displaced fluid are identical in all the investigated cases, _Gξ_ _(c_ ¯ _min)_ = 0 _._ 94, at all _c_ ¯ _min_ values in figure 8( _a_ ). From figures 7( _a_ ) and 8( _b_ ), we can note that _I_ 1 ≈ _a_ ¯ _c_ + _d_ for _c_ ¯ _min_ ⩽ _c_ ¯ when _τY,_ 2 = 0 _._ 23 and _n_ 2 = 0 _._ 5. This is only compatible with the power fluid expressions in the limit of _n_ 2 → 0. This gives a hint for where the linear behaviour might come from. _Journal of Fluid Mechanics_ ( _a_ ) _Gξ_ ( _b_ ) 2.0 _τY_,1 = 0.94, _τY_,2 = 0.23, _n_ 1 = 0.5, _n_ 2 = 0.7 with _c_ ¯ _min_ = 0.62, and fitted curve 1 _/ac_ ¯ + _b_ _τY_,1 = 0.94, _τY_,2 = 0.23, _n_ 1 = _n_ 2 = 0.5 with _c_ ¯ _min_ = 0.52, and fitted curve 1 _/ac_ ¯ + _b_ 1.5 1.0 0.5 _Gξ_ _τY_,1 = 0.94, _τY_,2 = 0.23, _n_ 1 = _n_ 2 = 0.5 with _c_ ¯ _min_ = 0.52, and fitted curve 1 _/ac_ ¯ + _b_ _τY_,1 = 0.94, _τY_,2 = 0.23, _n_ 1 = _n_ 2 = 0.7 with _c_ ¯ _min_ = 0.62, and fitted curve 1 _/ac_ ¯ + _b_ _τY_,1 = 0.94, _τY_,2 = 0.33, _n_ 1 = _n_ 2 = 0.5 with _c_ ¯ _min_ = 0.61, and fitted curve 1 _/ac_ ¯ + _b_ _τY_,1 = 0.94, _τY_,2 = 0.33, _n_ 1 = _n_ 2 = 0.7 with _c_ ¯ _min_ = 0.69, and fitted curve 1 _/ac_ ¯ + _b_ _τY_,1 = 0.94, _τY_,2 = 0.71, _n_ 1 = _n_ 2 = 0.5 with _c_ ¯ _min_ = 0.96, and fitted curve 1 _/ac_ ¯ + _b_ _Gξ_ 1.0 0.8 0.6 0.4 0.6 0.8 1.0 _c_ ¯ 2.0 1.5 1.0 0.5 _<u>Gξ</u>_ _τY_,1 = 0.94, _τY_,2 = 0.23, _n_ 1 = 0.5, _n_ 2 = 0.3 with _c_ ¯ _min_ = 0.42, and fitted curve 1 _/ac_ ¯ + _b_ 1.0 0.8 0.6 0.4 0.4 0.6 0.8 1.0 _c_ ¯ 0 0.2 0.4 0.6 0.8 1.0 0 0.2 0.4 0.6 0.8 1.0 _c_ ¯ _c_ ¯ Figure 9. Variation of _Gξ_ with _c_ ¯ for isodense flows ( _b_ = 0) during invasion of Herschel–Bulkley fluids into the displaced fluid with a yield stress of _τY,_ 1 = 0 _._ 94 and power-law index of _n_ 1 = 0 _._ 5. ( _a_ ) Displacing fluid with (i) _n_ 2 = 0 _._ 7, (ii) _n_ 2 = 0 _._ 5, (iii) _n_ 2 = 0 _._ 3 and _τY,_ 2 = 0 _._ 23. ( _b_ ) Displacing fluid with the same rheological properties as figure 7( _a_ ). We assume that, for some range of _c_ ¯ _>_ _c_ ¯ _min_, particularly when the fluid 1 yield stress is close to 1, meaning that the shear stress at the interface ( _cG_ ¯ _ξ_ ) is only slightly larger than _τY,_ 2. Using (2.36) we find that _cG_ ¯ _ξ_ - _τY,_ 2 ≈ _κ_ <u>1</u> _n_ 2 2 - <u>1</u> _n_ 2 - _τY,_ <u>2</u> + 1 _c_ ¯ <sup>2</sup> - _τY,_ <u>2</u> _c_ ¯ <sup>2</sup> ≪ _τY,_ 2 _._ (2.40) On substituting into (2.38) this can be simplified to <u>1</u> _n_ 2 2 + 1 ~~�~~ _τY,_ 2 ~~��~~ <u>1</u> _<u>n</u>_ <u>1</u> - _<u>n</u>_ <u>2</u> _n_ 2+1 ~~�~~ ~~�~~ + _O(ϵ)_ ~~�~~ <u>1</u> _<u>n</u>_ <u>2</u> _κ_ <u>1</u> _n_ 2 2 + 1 + 2 _I_ 1 _(c_ ¯; _.)_ = _κ_ ~~�~~ <u>1</u> _n_ 2 _,_ (2.41) ~~�~~ <u>1</u> _n_ 2 ~~�~~ _τY,_ <u>2</u> _c_ ¯ <sup>2</sup> + 2 _<u>c</u>_ ¯ ~~�~~ ≈ _τY,_ 2 i.e. the linear regime observed corresponds to a thin layer of yielded displacing fluid with a static wall layer of displaced fluid. Figure 9( _a_, _b_ ) illustrates the impact of the power-law index and the yield stress of the displacing fluid on the variation of _Gξ_ with concentration. Comparing figure 9( _a_ ) with figure 9( _b_ ), we observe a better matching between the fitted curve and the calculated _Gξ_ _(c_ ¯ _)_ at _c_ ¯ ⩾ _c_ ¯ _min_ when the yield stress of the displacing fluid increases (e.g. _τY,_ 2 = 0 _._ 33 _,_ 0 _._ 71). The inset of figure 9( _a_, _b_ ) shows the matching between the fitted curves with _Gξ_ for _c_ ¯ ⩾ _c_ ¯ _min_ . For a small yield stress of the displacing fluid and various power-law indexes, the fitted curves deviate slightly from the calculated _Gξ_ close to _c_ ¯ = 1. However, this deviation is reduced when the yield stress of the displacing fluid is increased (e.g. _τY,_ 2 = 0 _._ 33 _,_ 0 _._ 71). The larger yield stresses correspond to cases with a relatively thin layer of yielded fluid 2 close to the interface. _F. Bararpour and I.A. Frigaard_ ( _a_ ) _y_ = – _H_ _y_ = _H_ ( _b_ ) _y_ = – _H_ _y_ = – _H_ _y_ = _H_ _W_ _ξ_ = _L_ _N_ _c_ ¯ = 0 _c_ ¯ = 1 Fluid 1 Fluid 2 _w_ ¯ _ξ_ = 0 _ξ_ _φ_ _y_ Figure 10. The invasion of fluid 2 into a Hele-Shaw cell filled with fluid 1 ( _a_ ). Here _N_ and _W_ represent the narrow and wide sides of the cell and the colour displays the gap-averaged concentration. The evolution of the finger into the dispersive front at the ( _φ, ξ_ ) plane is illustrated in panel ( _b_ ). 3. Planar displacement flows with the D2DGA model To build our physical intuition on a flow of practical importance, we consider the simplest possible flow: that of a planar displacement. Since the concentrations are always dispersing in the D2DGA model, we must first define what is meant by a planar displacement. The criterion used is that _c_ ¯ ≈¯ _c(ξ, t)_ . For the 2DGA model, this occurs frequently, in so-called steady-state displacements, even in cases of strong inclination and eccentricity. For the D2DGA model, this possibility is less clear. We focus on a scenario where the annulus is both uniform in _ξ_ and is vertical. We assume that the streamlines are quasi-parallel: <u>1</u> ���� ≪ ���� _ra_ _∂Ψ_ _∂φ_ (3.1) ���� _._ |¯ _v_ | ≪| ¯ _w_ | ⇐= _∂Ψ_ ���� _∂ξ_ For clarity, we shall assume that |¯ _v_ | = _O(ϵ)_ for some unspecified streamline aspect ratio _ϵ_ ≪ 1. At leading order we can simplify (2.13) to - _∂_ _<u>p</u>_ _ρ_ _∂ξ_ <sup>+</sup> _Fr_ <sup>∗2</sup> - - _bra I_ 2 _(c_ ¯ _)_ _._ (3.2) _H_ _w_ ¯ = _H_ <sup>3</sup> [ _I_ 1 _(c_ ¯ _)Gξ_ - _I_ 2 _(c_ ¯ _)Gb,ξ_ ] = _H_ <sup>3</sup> - _I_ 1 _(c_ ¯ _)_ The azimuthal buoyancy term is zero and the azimuthal pressure gradient is also _O(ϵ)_ to be compatible with |¯ _v_ | = _O(ϵ)_ . Turning to the transport problem (2.19), we see that (2.21) simplifies to _(qφ, qξ_ _)_ = _ra Hq_ 0 _(c_ ¯ _)(v,_ ¯ _w)_ ¯ + _rabH_ <sup>3</sup> _I_ 3 _(c_ ¯ _)(_ 0 _,_ 1 _)._ (3.3) If we write _c_ ¯ _(φ, ξ, t)_ = _c_ ¯0 _(ξ, t)_ + _ϵ_ ¯ _c_ 1 _(φ, ξ, t),_ (3.4) _Journal of Fluid Mechanics_ and substitute into (2.19) we find that 0 = <sup>_∂_</sup> <sup>[</sup> <sup>_<u>Hr</u>_</sup> _∂t_ <sup>_<u>ac</u>_</sup> <sup>¯0]</sup> + _∂ξ_ <sup>_∂_</sup> _∂ξ_ <sup>_∂_</sup> <sup>[</sup> <sup>_ra H_</sup> <sup>_w_</sup> <sup>¯</sup> <sup>_q_</sup> <sup>0</sup> <sup>_(c_</sup> <sup>¯0</sup> <sup>_)_</sup> <sup>+</sup> <sup>_rabH_</sup> <sup>3</sup> <sup>_I_</sup> <sup>3</sup> <sup>_(c_</sup> <sup>¯0</sup> <sup>_)_</sup> <sup>] +</sup> _∂φ_ <sup>_∂_</sup> _∂φ_ <sup>_∂_</sup> <sup>[</sup> <sup>_H_</sup> <sup>¯</sup> <sup>_vq_</sup> <sup>0</sup> <sup>_(c_</sup> <sup>¯0</sup> <sup>_)_</sup> <sup>]</sup> + _ϵ_ <sup>_∂_</sup> 0 <sup>′</sup> <sup>_(c_</sup> <sup>¯0</sup> <sup>_)c_</sup> <sup>¯1 +</sup> <sup>_rabH_</sup> <sup>3</sup> <sup>_I_</sup> <sup>′</sup> 3 <sup>_(c_</sup> <sup>¯0</sup> <sup>_)c_</sup> <sup>¯1] +</sup> <sup>_O(ϵ_</sup> <sup>2</sup> <sup>_),_</sup> (3.5) _∂ξ_ <sup>_∂_</sup> <sup>[</sup> <sup>_ra H_</sup> <sup>_w_</sup> <sup>¯</sup> <sup>_q_</sup> 0 <sup>′</sup> with <sup>′</sup> denoting the derivative with respect to _c_ ¯. It is interesting to note that since _v_ ¯ = _O(ϵ)_, _ra_ = 1 and _H_ = _H_ _(φ)_ for a uniform annulus, the leading-order equation is 0 = <sup>_∂_</sup> _∂_ <sup>_<u>c</u>_</sup> <sup>¯</sup> _t_ <sup><u>0</u></sup> <sup>+</sup> _∂ξ_ <sup>_∂_</sup> <sup>[</sup> <sup>_q_</sup> <sup>0</sup> <sup>_(c_</sup> <sup>¯0</sup> <sup>_)_</sup> <sup>+</sup> <sup>_bH_</sup> <sup>2</sup> <sup>_I_</sup> <sup>3</sup> <sup>_(c_</sup> <sup>¯0</sup> <sup>_)_</sup> <sup>]</sup> <sup>_._</sup> (3.6) This equation allows for a parametric _φ_ dependence, i.e. due to _H_ _(φ)_, while the advective dispersion is only in the _ξ_ direction. Potentially, this might allow conditions where the dispersive behaviour might be suppressed, e.g. by buoyancy and in a different manner for large and small _H_ . A first-order perturbation solution might also be calculable for _H_ = _H_ _(φ)_ . The terms involving _c_ ¯1 are also advective and _v_ ¯ can be reconstructed from _w_ ¯, using incompressibility. However, instead we proceed assuming that _H_ _(φ)_ is near uniform, e.g. if the eccentricity _e_ = _O(ϵ)_ : _H_ ∼ 1. The _φ_ -derivative term is then _O(ϵ_ <sup>2</sup> _)_ . We may consider that the fluids are pumped at speed _w_ ¯ = 1 (effectively due to the scaling adopted). The leading-order evolution equation for _c_ ¯0 becomes 0 = <sup>_∂_</sup> _∂_ <sup>_<u>c</u>_</sup> <sup>¯</sup> _t_ <sup><u>0</u></sup> <sup>+</sup> _∂ξ_ <sup>_∂_</sup> <sup>[</sup> <sup>_q_</sup> <sup>0</sup> <sup>_(c_</sup> <sup>¯0</sup> <sup>_)_</sup> <sup>+</sup> <sup>_bI_</sup> <sup>3</sup> <sup>_(c_</sup> <sup>¯0</sup> <sup>_)_</sup> <sup>]</sup> <sup>_._</sup> (3.7) 3.1. _Characterising the dispersive front_ Equation (3.7) is a quasilinear hyperbolic equation. Using kinematic wave theory (Whitham 1974), the front velocity can be calculated by (3.8) provided that _c_ ¯ _(ξ, t)_ remains differentiable: _w f (c_ ¯0 _)_ = _q_ 0 <sup>′</sup> <sup>_(c_</sup> <sup>¯0</sup> <sup>_)_</sup> <sup>+</sup> <sup>_bI_</sup> <sup>′</sup> 3 <sup>_(c_</sup> <sup>¯0</sup> <sup>_)._</sup> (3.8) We recall that the premise of the D2DGA model is that a central finger of fluid 2 disperses along the channel. Provided _w f (c_ ¯ _)_ decreases monotonically with _c_ ¯, the concentration will disperse. In other situations a shock may form, e.g. between two concentrations _c_ ¯ _m_ and _c_ ¯ _M_ . The interval [¯ _cm,_ _c_ ¯ _M_ ] moves with constant shock velocity _ws_, which is also the limiting value of _w f (c_ ¯ _)_ from each end. The shock velocity and its height ( _c_ ¯ _M_ −¯ _cm_ ) can be determined by the equal-areas rule or the Rankine–Hugoniot conditions (Whitham 1974). Similar methods have been applied in the cementing context by Pelipenko & Frigaard (2004 _c_ ), Zare _et al._ (2017). In order to explore the behaviour of solutions to (3.7), we use two methods. First, we calculate the isotropic flux function _q_ 0 _(c_ ¯0 _)_ and the buoyancy flux distribution _I_ 3 _(c_ ¯0 _)_ by solving for the velocity profile and pressure gradient, imposing the velocity _(v,_ ¯ _w)_ ¯ = _(_ 0 _,_ 1 _)_, reflecting the mean imposed speed, as described in Appendix A.2.2. We then analyse these functions to understand the wavespeeds _w f (c_ ¯ _)_ and occurrence of shocks. Here, we have benchmarked our solution method against those of Zare _et_ _al._ (2017), who develop a lubrication theory displacement model for two Bingham fluids displacing along a channel at high Péclet number. Secondly, (3.7) is solved numerically as an evolution problem, here using a total variation diminishing method with a minmod flux limiter to eliminate numerical oscillations at steep concentration gradients (Blunt & Rubin 1992; Yang & Yortsos 1997). As examples, figure 11 plots the displacing fluid flux function _q_ 0 _(c_ ¯0 _)_ + _bI_ 3 _(c_ ¯0 _)_ against _c_ ¯0 and plots _c_ ¯0 _(ξ_ _t)_ against the similarity variable _ξ/t_ For the latter once distant _wf_ ≈ 1.5 ( _a_ ) _F. Bararpour and I.A. Frigaard_ ( _b_ ) 1.0 0.8 0.6 0.4 0.2 Static wall layer Shock Spike Dispersion _c_ ¯1 1.0 _wf_ ≈ 1.15 Spike Shock Dispersion 0.8 Static wall layer _wf_ ≈ 1.15 0.8 _c_ ¯0 0.6 0.4 0.2 _wf_ ≈ 2 _c_ ¯2 0 0.2 0.4 0.6 0.8 1.0 0 1 2 3 4 _c_ ¯0 _ξ/t_ Figure 11. Four flow regimes are identified by plotting ( _a_ ) the displacing fluid flux function _q_ 0 _(c_ ¯0 _)_ + _bI_ 3 _(c_ ¯0 _)_ against _c_ ¯0, and ( _b_ ) _c_ ¯0 against the similarity variable ( _ξ/t_ ). The dimensionless variables are fixed at _w_ ¯ = 1 _,_ _H_ = 1, Dispersion: Newtonian fluids at _κ_ = [1 1] _, b_ = 0 _,_ Spike: _κ_ = [3 1] _,_ τ _Y_ = [0 _._ 25 0] _, b_ = 50 _,_ _n_ = [1 1] _,_ Shock: _κ_ = [10 1] _,_ τ _Y_ = [12 _._ 5 0] _, b_ = 100 _,_ _n_ = [1 1] _,_ Static wall layer: _κ_ = [1 1] _,_ τ _Y_ = [20 5] _, b_ = 0 _,_ _n_ = [0 _._ 5 0 _._ 5] _._ from any initial condition, _c_ ¯0 _(ξ, t)_ collapses quickly to a function of _ξ/t_, illustrating both wavespeeds and shocks. Four regimes can be observed for the different rheological properties studied: dispersive front, shock, spike and static wall layers. These regimes are as defined previously for Bingham–Newtonian fluids (Zare _et al._ 2017). In the dispersive regime, the front speed decreases monotonically from the centre of the channel to the walls (no shock). In the shock regime, the front speed is constant at the shock speed and we observe a shock in the interval (0 _<_ _c_ ¯0 _<_ _c_ ¯ _M_ ), where _c_ ¯ _M_ is the shock height. Similarly, in the spike regime, the front speed is constant between _c_ ¯ _m <_ _c_ ¯ _<_ _c_ ¯ _M_, but now _c_ ¯ _m >_ 0 and the tip of the front (at small _c_ ¯) moves ahead of the shock. In the static wall layer regime, the layer of fluid 1 is not removed (this only occurs for positive yield stress). As we move between regimes, we can observe corresponding changes in the flux: _q_ 0 _(c_ ¯0 _)_ + _bI_ 3 _(c_ ¯0 _)_ . The flux function is concave in the dispersive regime. As a shock emerges, it becomes convex over an interval [¯ _c_ 1 _,_ _c_ ¯2], which lies within the shock interval [¯ _cm,_ _c_ ¯ _M_ ]. Equation (3.8) implies that larger concentrations within [¯ _c_ 1 _,_ _c_ ¯2] travel faster, eventually leading to the disappearance of the dispersive finger. Thus, to satisfy mass conservation, instead a shock emerges with a velocity equal to the front velocity (3.8) and joining the two points _c_ ¯ _m_ and _c_ ¯ _M_ : _q(c_ ¯ _M_ _)_ - _q(c_ ¯ _m)_ = _ws(c_ ¯ _M_ −¯ _cm)._ (3.9) As expected, there is good agreement between the shock velocity obtained directly from (3.9) and the functions in figure 11( _a_ ), compared with those plotted in figure 11( _b_ ), which are computed from the evolution problem. 3.2. _Results: dispersive flow regimes_ We now explore more generally the parametric dependency of the four identified dispersive flows. We first compute the front speed _w f (c_ ¯0 _)_ at _c_ ¯0 = 0 for both Newtonian and _Journal of Fluid Mechanics_ shear-thinning fluids for a wide range of buoyancy number ( _b_ ), viscosity ratio ( _m_ ), and power-law index ( _nk_ ). Our main goal here is to find a critical _b_ value to reduce the impact of dispersion and accordingly result in a more stable front in the range studied. Figure 12 explores the impact of _m_ = _κ_ 1 _/κ_ 2 and _b_ on the front speed for two Newtonian fluids. The shaded contours give the centreline front speed _w f (c_ ¯0 = 0 _)_ . Note that the effect of the buoyancy number and the viscosity ratio on _q_ 0 <sup>′</sup> <sup>_(c_</sup> <sup>¯0</sup> <sup>_)_</sup> <sup>+</sup> <sup>_bI_</sup> <sup>′</sup> 3 <sup>_(c_</sup> <sup>¯0</sup> <sup>_)_</sup> <sup>is negligible at</sup> <sup>_c_</sup> <sup>¯0 =</sup> of the buoyancy number and the viscosity ratio on _q_ 0 <sup>′</sup> <sup>_(c_</sup> <sup>¯0</sup> <sup>_)_</sup> <sup>+</sup> <sup>_bI_</sup> <sup>′</sup> 3 <sup>_(c_</sup> <sup>¯0</sup> <sup>_)_</sup> <sup>is negligible at</sup> <sup>_c_</sup> <sup>¯0 =</sup> 0, and it maintains a constant value of 1.5 at the centre of the channel for Newtonian fluids, coming from the maximum velocity of the Poiseuille flow between two parallel plates. However, when shock develops, the shock velocity might be greater (or less) than _q_ 0 <sup>′</sup> <sup>_(_</sup> <sup>0</sup> <sup>_)_</sup> <sup>+</sup> <sup>_bI_</sup> <sup>′</sup> 3 <sup>_(_</sup> <sup>0</sup> <sup>_)_</sup> <sup>and</sup> <sup>_w f_</sup> <sup>can be changed by both</sup> <sup>_b_</sup> <sup>and</sup> <sup>_m_</sup> <sup>.</sup> _q_ 0 <sup>′</sup> <sup>_(_</sup> <sup>0</sup> <sup>_)_</sup> <sup>+</sup> <sup>_bI_</sup> <sup>′</sup> 3 <sup>_(_</sup> <sup>0</sup> <sup>_)_</sup> <sup>and</sup> <sup>_w f_</sup> <sup>can be changed by both</sup> <sup>_b_</sup> <sup>and</sup> <sup>_m_</sup> <sup>.</sup> Generally speaking, the shock velocity approaches the mean velocity ( _w f (c_ ¯0 _)_ → 1), and the front becomes more stable when _b_ ≫ 1; see figure 12. There is less dispersion for larger _b_ and larger _m_ . Figure 12( _a_ ) shows the transition from dispersive front to shock regime based on the viscosity ratio of fluids at _b_ = 0. This transition happens at a critical viscosity ratio ( _M_ 3 <sup>_min_</sup> = 1 _._ 5), which is identical with the predictions of Lajeunesse _et al._ (1999), who ratio ( _M_ 3 <sup>_min_</sup> = 1 _._ 5), which is identical with the predictions of Lajeunesse _et al._ (1999), who considered Newtonian fluids only. To translate from our dimensionless parameters to the _(U, M)_ of Lajeunesse _et_ _al._ (1999), we have _b_ = 3 _m_ <sup>0</sup> <sup>_._</sup> <sup>5</sup> _/U_ and _m_ = _M_ . Here _M_ 1 <sup>_max_</sup> and _M_ 3 <sup>_min_</sup> represent the upper limit for the dispersion regime and the lower limit for the shock regime, respectively. In the region between _M_ 3 <sup>_min_</sup> and _M_ 1 <sup>_max_</sup> = 2 _._ 25, the shock speed is 3 <sup>_min_</sup> and _M_ 1 <sup>_max_</sup> regime, respectively. In the region between _M_ 3 <sup>_min_</sup> and _M_ 1 <sup>_max_</sup> = 2 _._ 25, the shock speed is equal to 1 _._ 5 and exceeds 1.5 when _m_ = _M > M_ 1 <sup>_max_</sup> . Examples of the effect of the viscosity ratio on the front speed are illustrated as subfigures in figure 12 for Newtonian fluids. In the second subfigure of figure 12( _a_ ), a more viscous fluid is injected into a less viscous fluid; hence, _m_ ⩽ 1 and flow is viscosity stable. As the viscosity ratio reduces, the front velocity at large concentration increases, implying that the wall’s residual fluid starts to move at a higher speed. In the first subfigure of figure 12( _a_ ), the viscosity ratio between the displacing and the displaced fluid is unfavourable, meaning that the displacing fluid is less viscous than the displaced fluid. The front is dispersive at _m_ = 1 and a shock develops at _m_ = 2 _,_ 3 _,_ 4 _,_ 5. The increase in the front speed results in a more unstable regime, making the primary cementing operations less effective. In figure 12( _b_ - _d_ ) the displacing fluid is denser than the displaced fluid, i.e. _b >_ 0. Similar to the defined regions of the ( _U, M)_ plane in (Lajeunesse _et al._ 1999), at low _U_ (or high _b_ ) values, the flow regime is mainly spike. In figures 12( _c_ ) and 12( _d_ ), buoyancy completely suppresses the spike regime as _b_ increases from 100 to 1000. Figure 13 shows the front speed at _c_ ¯0 = 0 for two shear-thinning fluids at different _nk_ and _b_ . We have fixed _κ_ 1 = _κ_ 2 = 1. Similar to the Newtonian fluids, in figure 13 we investigate the influence of the buoyancy number on the front speed for shear-thinning fluids. The effects are somewhat similar to those for Newtonian fluids. The general trend is that increasing the buoyancy number can improve the displacement process as the front velocity at _c_ ¯0 = 0 approaches the mean velocity. This also happens as _n_ 1 is reduced, simply because the displaced fluid becomes progressively shear thinning with a plug-like velocity profile. For _b_ = 0, the main transition in flow type is between dispersive and spike, as _n_ 2 decreases; see figure 13( _a_ ). At larger _b_ the dispersive regimes are suppressed, there are some spike regime flows, but these too are suppressed in favour of shock regimes at larger _b_ ; see figure 13( _b_ - _d_ ). These trends at _b_ = 0 are illustrated more clearly in the subfigures of figure 13( _a_ ). For a fixed _n_ 2, the front height increases (or the front speed reduces) as _n_ 1 decreases; see the second subfigure of figure 13( _a_ ). This trend has been previously observed, where the ( _a_ ) 5 4 _F. Bararpour and I.A. Frigaard_ 1.0 0.8 _κ_ 1 = _κ_ 2 = 1 _κ_ 1 = 1, _κ_ 2 = 2 _κ_ 1 = 1, _κ_ 2 = 3 _κ_ 1 = 1, _κ_ 2 = 4 _κ_ <u>1 = 1,</u> _κ_ <u>2 = 5</u> Dispersion 1.0 0.8 0.6 0.4 0.2 0.6 _c_ ¯0 _c_ ¯0 0.4 _κ_ 2 3 2 1 1 2 3 4 5 _κ_ 1 _wf_ (0) 1.520 1.516 _M_ 3 _min_ _M_ 1 _max_ _wf_ (0) 1.62 1.60 1.58 1.56 1.54 1.52 0.2 _κ_ 1 = _κ_ 2 = 1 _κ_ 1 = 2, _κ_ 2 = 1 _κ_ 1 = 3, _κ_ 2 = 1 _κ_ 1 = 4, _κ_ 2 = 1 _κ_ 1 = 5, _κ_ 2 = 1 Shocks 0 0.5 1.0 1.5 2.0 0 0.5 1.0 1.5 ( _b_ ) 5 4 1.0 0.8 _wf_ ( _c_ ¯0) _wf_ ( _c_ ¯0) 1.0 0.8 0.6 0.4 0.2 _κ_ 1 = _κ_ 2 = 1 _κ_ 1 = 1, _κ_ 2 = 2 _κ_ 1 = 1, _κ_ 2 = 3 _κ_ 1 = 1, _κ_ 2 = 4 _κ_ 1 = 1, _κ_ 2 = 5 0.6 _c_ ¯0 _c_ ¯0 0.4 Spike 1.512 1.508 1.504 _κ_ 2 ( _c_ ) _κ_ 2 3 2 1 5 4 3 2 1 Spike 1 2 3 4 5 _κ_ 1 0.2 _κ_ 1 = _κ_ 2 = 1 _κ_ 1 = 2, _κ_ 2 = 1 _κ_ 1 = 3, _κ_ 2 = 1 _κ_ 1 = 4, _κ_ 2 = 1 _κ_ 1 = 5, _κ_ 2 = 1 Shocks 1.500 1 2 3 4 5 0 0.5 1.0 1.5 2.0 0 0.5 1.0 1.5 0 0 _κ_ 1 _wf_ ( _c_ ¯0) _wf_ ( _c_ ¯0) _wf_ (0) 0 0 –3 –2 –1 0 1 2 3 4 –3 –2 –1 0 1 2 3 4 _wf_ ( _c_ ¯0) _wf_ ( _c_ ¯0) 1.0 0.8 _κ_ 1 = _κ_ 2 = 1 _κ_ 1 = 2, _κ_ 2 = 1 _κ_ 1 = 3, _κ_ 2 = 1 _κ_ 1 = 4, _κ_ 2 = 1 _κ_ 1 = 5, _κ_ 2 = 1 _κ_ 1 = _κ_ 2 = 1 _κ_ 1 = 1, _κ_ 2 = 2 _κ_ 1 = 1, _κ_ 2 = 3 _κ_ 1 = 1, _κ_ 2 = 4 _κ_ 1 = 1, _κ_ 2 = 5 1.0 0.8 0.6 0.4 0.2 1.495 1.494 1.493 1.492 1.491 1.490 0.6 _c_ ¯0 _c_ ¯0 0.4 0.2 ( _d_ ) 5 4 _wf_ (0) 1.35 1.30 1.25 0.6 1.0 0.8 _κ_ 1 = _κ_ 2 = 1 _κ_ 1 = 2, _κ_ 2 = 1 _κ_ 1 = 3, _κ_ 2 = 1 _κ_ 1 = 4, _κ_ 2 = 1 _κ_ 1 = 5, _κ_ 2 = 1 _κ_ 1 = _κ_ 2 = 1 _κ_ 1 = 1, _κ_ 2 = 2 _κ_ 1 = 1, _κ_ 2 = 3 _κ_ 1 = 1, _κ_ 2 = 4 _κ_ 1 = 1, _κ_ 2 = 5 _κ_ 2 3 Shocks 1.20 _c_ ¯0 _c_ ¯0 1.0 0.8 0.6 0.4 0.2 0 1.20 3 Shocks 0.4 0.2 0 2 1 1.15 1.10 1 2 3 4 5 –40 –20 0 20 40 –40 –20 0 20 40 _κ_ 1 _wf_ ( _c_ ¯0) _wf_ ( _c_ ¯0) Figure 12. Shaded contours of the front speed ( _w f (c_ ¯0 _)_ ) at _c_ ¯0 = 0 for Newtonian fluids with ( _a_ ) _b_ = 0, ( _b_ ) _b_ = 10, ( _c_ ) _b_ = 100, ( _d_ ) _b_ = 1000. The contour lines in ( _a_ ) represent the front speed and the broken red lines correspond to the critical viscosity ratios of Lajeunesse _et al._ (1999). The subfigures (middle and righthand side plots) give examples of _q_ 0 <sup>′</sup> <sup>_(c_</sup> <sup>¯0</sup> <sup>_)_</sup> <sup>+</sup> <sup>_bI_</sup> <sup>′</sup> 3 <sup>_(c_</sup> <sup>¯0</sup> <sup>_)_</sup> <sup>and</sup> <sup>consequent</sup> <sup>_w f (c_</sup> <sup>¯0</sup> <sup>_)_</sup> <sup>,</sup> <sup>at</sup> <sup>indicated</sup> <sup>values</sup> <sup>of</sup> <sup>_(κ_</sup> <sup>1</sup> <sup>_, κ_</sup> <sup>2</sup> <sup>_)_</sup> <sup>.</sup> The first column of subfigures (middle plots) explore _m_ ⩾ 1 (viscosity-unstable flow) and the second column of subfigures (right-hand side plots) explore _m_ ⩽ 1 (viscosity-stable flow). 1.0 0.8 0.6 0.4 0.2 ( _a_ ) _n_ 2 1.0 0.8 0.6 0.4 _wf_ (0) 1.50 0.2 _n_ 1 = _n_ 2 = 1 _n_ 1 = 0.8, _n_ 2 = 1 _n_ 1 = 0.6, _n_ 2 = 1 _n_ 1 = 0.4, _n_ 2 = 1 _n_ 1 = 0.2, _n_ 2 = 1 _Journal of Fluid Mechanics_ 1.0 0.8 0.6 _c_ ¯0 _c_ ¯0 0.4 Shocks _n_ 1 = _n_ 2 = 1 _n_ 1 = 1, _n_ 2 = 0.8 _n_ 1 = 1, _n_ 2 = 0.6 _n_ 1 = 1, _n_ 2 = 0.4 _n_ 1 = 1, _n_ 2 = 0.2 0.2 0.2 0.4 0.6 0.8 1.0 1.45 1.40 1.35 1.30 1.25 1.20 0 0.5 1.0 1.5 0 0.5 1.0 1.5 _n_ 1 ( _b_ ) _wf_ (0) _wf_ ( _c_ ¯0) _wf_ ( _c_ ¯0) 1.0 0.8 1.0 0.8 0.6 0.4 0.2 _n_ 1 = _n_ 2 = 1 _n_ 1 = 0.8, _n_ 2 = 1 _n_ 1 = 0.6, _n_ 2 = 1 _n_ 1 = 0.4, _n_ 2 = 1 _n_ 1 = 0.2, _n_ 2 = 1 _n_ 2 1.0 0.8 0.6 0.4 Spike 1.45 1.40 1.35 1.30 1.25 0.6 _c_ ¯0 _c_ ¯0 0.4 _n_ 1 = _n_ 2 = 1 _n_ 1 = 1, _n_ 2 = 0.8 _n_ 1 = 1, _n_ 2 = 0.6 _n_ 1 = 1, _n_ 2 = 0.4 _n_ 1 = 1, _n_ 2 = 0.2 _n_ 1 = _n_ 2 = 1 _n_ 1 = 1, _n_ 2 = 0.8 _n_ 1 = 1, _n_ 2 = 0.6 _n_ 1 = 1, _n_ 2 = 0.4 _n_ 1 = 1, _n_ 2 = 0.2 0.2 1.20 0.2 0.4 0.6 0.8 1.0 0.5 1.0 1.5 0 0.5 1.0 1.5 2.0 _wf_ ( _c_ ¯0) _wf_ ( _c_ ¯0) _n_ 1 ( _c_ ) _wf_ (0) _n_ 1 = _n_ 2 = 1 _n_ 1 = 0.8, _n_ 2 = 1 _n_ 1 = 0.6, _n_ 2 = 1 _n_ 1 = 0.4, _n_ 2 = 1 _n_ 1 = 0.2, _n_ 2 = 1 0.2 0 1.0 0.8 Spike 1.40 1.35 1.30 1.25 1.20 1.0 0.8 0.6 0.4 0.2 _n_ 2 1.0 0.8 0.6 0.4 Shocks 0.6 _c_ ¯0 _c_ ¯0 0.4 0.2 0.2 0.2 0.4 0.6 0.8 1.0 _n_ 1 ( _d_ ) _wf_ (0) 1.0 1.10 0.8 1.09 0 0 –3 –2 –1 0 1 2 3 –40 –20 0 20 40 _wf_ ( _c_ ¯0) _wf_ ( _c_ ¯0) 1.0 0.8 _n_ 1 = _n_ 2 = 1 _n_ 1 = 1, _n_ 2 = 0.8 _n_ 1 = 1, _n_ 2 = 0.6 _n_ 1 = 1, _n_ 2 = 0.4 _n_ 1 = 1, _n_ 2 = 0.2 _n_ 1 = _n_ 2 = 1 _n_ 1 = 0.8, _n_ 2 = 1 _n_ 1 = 0.6, _n_ 2 = 1 _n_ 1 = 0.4, _n_ 2 = 1 1.0 0.8 0.6 0.4 0.2 0 _n_ 2 0.6 0.4 Shocks 0.6 _c_ ¯0 _c_ ¯0 0.4 0.2 0 0.2 0.2 0.4 0.6 0.8 1.0 _n_ 1 1.08 1.07 1.06 –50 0 50 –60 –40 –20 0 20 40 60 _wf_ ( _c_ ¯0) _wf_ ( _c_ ¯0) Figure 13. Front speed ( _w f (c_ ¯0 _)_ ) at _c_ ¯0 = 0 for power-law fluids with ( _a_ ) _b_ = 0, ( _b_ ) _b_ = 10, ( _c_ ) _b_ = 20, ( _d_ ) _b_ = 70. The shaded contour lines represent the front speed. The subfigures (middle and right-hand side plots) give examples of _q_ 0 <sup>′</sup> <sup>_(c_</sup> <sup>¯0</sup> <sup>_)_</sup> <sup>+</sup> <sup>_bI_</sup> <sup>′</sup> 3 <sup>_(c_</sup> <sup>¯0</sup> <sup>_)_</sup> <sup>and</sup> <sup>consequent</sup> <sup>_w f (c_</sup> <sup>¯0</sup> <sup>_)_</sup> <sup>,</sup> <sup>at</sup> <sup>indicated</sup> <sup>values</sup> <sup>of</sup> <sup>_(n_</sup> <sup>1</sup> <sup>_, n_</sup> <sup>2</sup> <sup>_)_</sup> <sup>.</sup> <sup>The</sup> <sup>first</sup> (middle plots) and second (right-hand side plots) column of subfigures explore the impact of the power-law index of displacing and displaced fluids on the front speed, respectively. _F. Bararpour and I.A. Frigaard_ front velocity reduction is attributed to the downstream plug velocity, which can limit the velocity of the displacement front (Taghavi _et al._ 2009; Zare _et al._ 2017). Conversely, the front velocity can increase, and flow can become less stable as _n_ 2 decreases for a fixed _n_ 1; see the first subfigure of figure 13( _a_ ). This clearly stems from the lower effective viscosity of the displacing fluid compared with the displaced fluid. 3.3. _Stability of the dispersive front: Muskat analysis_ We now explore the stability of the dispersive planar front to an advancing narrow finger of fluid 2 in the _(φ, ξ)_ plane. Our dispersive model is built on the premise that a dispersive finger advances along the centre of the annular gap, so that a finger in the _(φ, ξ)_ plane appears slightly contradictory. Our working assumption is that (3.7) describes the base flow completely, which leads to the dispersing planar flow. We then simply question the stability of this mathematical system. The underlying approach is attributed to Muskat (1938). A similar approach has been applied by Pascal (1984) in considering stability of a frontal porous media displacement and also by Pelipenko & Frigaard (2004 _c_ ) in analysing stability of the 2DGA model. However, neither has considered a dispersive front. The uniform velocity assumption is applied to (3.2), which means that the underlying pressure gradient as we move through the dispersing front is controlled by _c_ ¯0, and given by <sup>_ρ(_</sup> _Fr_ <sup>_<u>c</u>_</sup> <sup>¯∗02</sup> <sup>_)_</sup> <sup>−</sup> <sup><u>1 +</u></sup> _I_ <sup>_<u>bI</u>_</sup> 1 _(c_ ¯ <sup><u>2</u></sup> 0 <sup>_(_</sup> _)_ <sup>_<u>c</u>_</sup> <sup>¯0</sup> <sup>_)_</sup> _∂∂ξp_ <sup>= −</sup> <sup>_ρ(_</sup> _Fr_ <sup>_<u>c</u>_</sup> <sup>¯∗02</sup> <sup>_)_</sup> _._ (3.10) _I_ <sup>_<u>bI</u>_</sup> 1 _(c_ ¯ <sup><u>2</u></sup> 0 <sup>_(_</sup> _)_ <sup>_<u>c</u>_</sup> <sup>¯0</sup> <sup>_)_</sup> Assuming that the finger is thin in the _φ_ direction, the pressure transmits across the finger: _∂_ _pfinger_ <sup>_ρ(_</sup> _Fr_ <sup>_<u>c</u>_</sup> <sup>¯∗02</sup> <sup>_)_</sup> <sup>−</sup> <sup><u>1 +</u></sup> _I_ <sup>_<u>bI</u>_</sup> 1 _(c_ ¯ <sup><u>2</u></sup> 0 <sup>_(_</sup> _)_ <sup>_<u>c</u>_</sup> <sup>¯0</sup> <sup>_)_</sup> _pfinger_ = − <sup>_ρ(c_</sup> <sup>¯0</sup> <sup>_)_</sup> _∂ξ_ _Fr_ <sup>∗2</sup> _._ (3.11) _I_ <sup>_<u>bI</u>_</sup> 1 _(c_ ¯ <sup><u>2</u></sup> 0 <sup>_(_</sup> _)_ <sup>_<u>c</u>_</sup> <sup>¯0</sup> <sup>_)_</sup> However, the finger is full of fluid 2. Hence, the velocity of the fluid within the finger _w_ ¯ _finger_ is given by (3.2) with _c_ ¯0 = 1 and the pressure gradient from (3.11): _w_ ¯ _finger(c_ ¯0 _)_ = = − _I_ 1 _(_ 1 _)_ - _∂_ _pfinger_ + <sup>_ρ(_</sup> <sup><u>1</u></sup> <sup>_)_</sup> _∂ξ_ _Fr_ <sup>∗2</sup> _Fr_ <sup>∗2</sup> - _bI_ 2 _(_ 1 _)_ _._ (3.12) = <sup>_<u>I</u>_</sup> <sup><u>1</u></sup> <sup>_(_</sup> <sup><u>1</u></sup> <sup>_)_</sup> _I_ 1 _(c_ ¯0 _)_ <sup>+</sup> <sup>_bI_</sup> <sup>1</sup> <sup>_(_</sup> <sup>1</sup> <sup>_)_</sup> - _<u>I</u>_ <u>2</u> _(c_ ¯0 _)_ _I_ 1 _(c_ ¯0 _)_ <sup>+</sup> <sup>_c_</sup> <sup>¯0 −</sup> <sup>1</sup> Note that we have used the fact that _I_ 2 _(_ 1 _)_ = 0 in the above. We observe that the finger velocity is driven both by a form of mobility ratio _I_ 1 _(_ 1 _)/I_ 1 _(c_ ¯0 _)_ (first term) and by buoyancy (second term). Having found the finger velocity, the usual approach is to compare with a suitable wavespeed to determine stability or otherwise. However, in our case the front is dispersing with speed _w_ ¯ _f (c_ ¯0 _)_ . We consider that _w_ ¯ _f (c_ ¯0 _)_ has been computed to include any segments of _c_ ¯0 over which there is a shock front, as described in § 3.1. We then define _�w(c_ ¯0 _)_ = _w_ ¯ _finger(c_ ¯0 _)_ −¯ _w f (c_ ¯0 _) >_ 0 _._ (3.13) The simplest regime to classify is when the flow is unstable. For an unstable regime, - _w_ _~~(~~_ _<u>c</u>_ 0 _) >_ 0 for all _<u>c</u>_ 0 ∈[0 _,_ 1]. In this case, the finger of fluid 2 advances through the dispersive front at all concentrations. ( _a_ ) _Journal of Fluid Mechanics_ Stable Partial penetration Unstable Fluid 1 _<u>c</u>_ <u>¯ = 0</u> _<u>c</u>_ <u>¯ = 1</u> Fluid 2 ( _b_ ) ( _c_ ) –1 5 0 –5 5 0 –5 1.5 1.0 0.5 2 1 100 _wfinger_ ( _c_ ¯0) _wf_ ( _c_ ¯0) 0 –20 5 0 –5 0 –10 2 0 –2 1.5 1.0 0.5 0 0 –2 1.5 1.0 0.5 –40 0 0.5 1.0 0 –20 –40 –60 –20 0 0.5 1.0 0 2 1 0 0.5 1.0 0 0.5 1.0 0 0.5 1.0 0 0.5 1.0 0 0.5 0 –0.5 –1.0 1 0 1.5 1.0 0.5 1.5 1.0 0.5 2 _<u>c</u>_ <u>¯0</u> 2 2 1.5 _<u>c</u>_ <u>¯0</u> 0.5 1.0 0 0.5 1.0 0 0.5 1.0 2 0 _b_ 100 10 0 10 0 _b_ 0 –2 6 4 2 1.5 1.0 0.5 0 1.5 1.0 0.5 0 1.5 1.0 0.5 0 0.5 0 –0.5 –1.0 0.5 0 –0.5 –1.0 0 0.5 1.0 0 0.5 1.0 0 0.5 1.0 0 0.5 1.0 0 0.5 1.0 0 0.5 1.0 0 1 0 0 2 1 1 0 0 –1 0 –1 0 0 0.5 1.0 0 0.5 1.0 0 0.5 1.0 0.2 1.0 _m_ 5.0 0.2 1.0 _m_ 5.0 Figure 14. ( _a_ ) Schematic of flow classification. ( _b_ ) Schematic comparison of the finger velocity with the front velocity for Newtonian fluids on the ( _b, m_ ) plane at three distinct flow regimes: (i) stable (green), (ii) partial penetration (blue) and (iii) unstable (red) regimes. ( _c_ ) The frontal speed ( _w f (c_ ¯ _)_ ) is decoupled into two parts: (i) _q_ 0 <sup>′</sup> <sup>_(c_</sup> <sup>¯0</sup> <sup>_)_</sup> <sup>and</sup> <sup>_b_</sup> <sup>∗</sup> <sup>_I_</sup> <sup>′</sup> 3 <sup>_(c_</sup> <sup>¯0</sup> <sup>_)_</sup> <sup>and then plotted on the (</sup> <sup>_b, m_</sup> <sup>) plane.</sup> The notion of stability is harder to define. Conceptually at least, we can conceive that the finger might not penetrate the dispersing front at all or might penetrate for some range of concentrations. Loosely, we call these eventualities stable and partial penetration. These are illustrated schematically in figure 14( _a_ ). To aid in classification, first note that _w(c_ ¯0 _)_, after processing to take account of shocks, is always a decreasing function of _c_ ¯0. On the other hand, little can be said in general regarding the behaviour of _w_ ¯ _finger(c_ ¯0 _)_ . There may be one or more concentrations for which _�w(c_ ¯0 _)_ = 0. We define _ccritical_ to be the largest value of _c_ ¯0 ∈[0 _,_ 1] for which _�w(c_ ¯0 _)_ = 0. Observe that, as _c_ ¯0 → 1, the derivatives of both flux functions _q_ 0 and _I_ 3 vanish, so that _w f (_ 1 _)_ = 0. On the other hand, since as _c_ ¯0 → 1, _I_ 2 _(c_ ¯0 _)_ → 0, we can see from (3.12) that _w_ ¯ _finger(_ 1 _)_ = 1. Therefore, _�w(_ 1 _)_ = 1 and the finger will always start to penetrate the dispersive front. If there is no _ccritical_ then it follows that _�w(c_ ¯0 _) >_ 0 for all _c_ ¯0 ∈[0 _,_ 1] and the flow is unstable. In terms of specifying a stable flow, a necessary condition is that there exists a _ccritical_ ∈ [0 _,_ 1 _)_ . One might select a threshold concentration such that, e.g. _ccritical_ ⩾ 0 _._ 9 designates stability, i.e. the finger is allowed to penetrate through at most 10 % of the dispersive front. _F. Bararpour and I.A. Frigaard_ In this way the influence of buoyancy in stabilising the flow can be assessed. Increasing _b_ tends to suppress _w_ ¯ _finger_ . Also, for _c_ ¯0 close to 1, it is found that _I_ 3 <sup>′</sup> <sup>_(c_</sup> <sup>¯0</sup> <sup>_) >_</sup> <sup>0.</sup> <sup>Thus,</sup> _b_ tends to suppress _w_ ¯ _finger_ . Also, for _c_ ¯0 close to 1, it is found that _I_ 3 <sup>′</sup> <sup>_(c_</sup> <sup>¯0</sup> <sup>_) >_</sup> <sup>0.</sup> <sup>Thus,</sup> although _q_ 0 <sup>′</sup> <sup>_(_</sup> <sup>1</sup> <sup>_)_</sup> <sup>= 0,</sup> <sup>sufficiently</sup> <sup>large</sup> <sup>_b_</sup> <sup>results</sup> <sup>in</sup> <sup>_w f (c_</sup> <sup>¯0</sup> <sup>_) >_</sup> <sup>0</sup> <sup>in</sup> <sup>an</sup> <sup>interval</sup> <sup>close</sup> <sup>to</sup> <sup>1,</sup> although _q_ 0 <sup>′</sup> <sup>_(_</sup> <sup>1</sup> <sup>_)_</sup> <sup>= 0,</sup> <sup>sufficiently</sup> <sup>large</sup> <sup>_b_</sup> <sup>results</sup> <sup>in</sup> <sup>_w f (c_</sup> <sup>¯0</sup> <sup>_) >_</sup> <sup>0</sup> <sup>in</sup> <sup>an</sup> <sup>interval</sup> <sup>close</sup> <sup>to</sup> <sup>1,</sup> i.e. large enough _b >_ 0 can result in _�w(c_ ¯0 _) <_ 0 and stability for any fixed _c_ ¯0 _<_ 1. This motivates the idea of adopting a threshold value, but the actual threshold adopted lacks meaning. Therefore, we turn to the mean displacement speed in order to identify a threshold. We denote by _c_ ¯∗ the value of _c_ ¯0 for which _w f (c_ ¯0 _)_ = 1, i.e. _c_ ¯∗ is the concentration that disperses at the mean speed. Note that _w f (c_ ¯0 _)_ - 1 integrates to zero over [0 _,_ 1], i.e. _c_ ¯∗ is a volume-weighted mean concentration: the same volume disperses ahead of _c_ ¯∗ as behind _c_ ¯∗. Indeed if there is shock moving at speed 1, we would need to define _c_ ¯∗ in this way. With the above explanation and meaning, we define stable and partial penetration as follows. For a stable regime, the displacement is regarded as stable if _�w(c_ ¯0 _) <_ 0 for all _c_ ¯0 ∈[0 _, ccritical_ ] and _c_ ∗ _< ccritical_ . Thus, fingers of fluid 2 do not penetrate ahead of the mean pumping speed, which is dispersing at concentration _c_ ¯∗. Fingers will penetrate in the interval _(ccritical,_ 1], but at least 50 % of the front is unaffected. As the front advances, the penetrated interval _(ccritical,_ 1] will recede behind the front advancing at the mean speed. For a partial penetration regime, _�w(c_ ¯0 _) >_ 0 for _c_ ¯0 _> ccritical_ and _c_ ∗ ⩾ _ccritical_ . In other words, the finger penetrates through at least 50 % of the front, but fails to penetrate through to the pure fluid 1 layer, halting at some critical value. 3.4. _Results_ For Newtonian fluid pairs, due to linear superposition buoyancy effects are not closely coupled to viscous effects. Figure 14( _b_ ) presents variations in stability classification due at nine different _m_ and _b_ values. Broadly speaking, small _m_ and larger _b_ enhance stability. The limit values and monotonicity discussed above are illustrated in these subfigures, as is the treatment of the _q_ 0 <sup>′</sup> <sup>_(c_</sup> <sup>¯0</sup> <sup>_)_</sup> <sup>+</sup> <sup>_bI_</sup> <sup>′</sup> 3 <sup>_(c_</sup> <sup>¯0</sup> <sup>_)_</sup> <sup>in</sup> <sup>order</sup> <sup>to</sup> <sup>determine</sup> <sup>shocks.</sup> <sup>In</sup> <sup>figure</sup> <sup>14(</sup> <sup>_c_</sup> <sup>)</sup> <sup>we</sup> is the treatment of the _q_ 0 <sup>′</sup> <sup>_(c_</sup> <sup>¯0</sup> <sup>_)_</sup> <sup>+</sup> <sup>_bI_</sup> <sup>′</sup> 3 <sup>_(c_</sup> <sup>¯0</sup> <sup>_)_</sup> <sup>in</sup> <sup>order</sup> <sup>to</sup> <sup>determine</sup> <sup>shocks.</sup> <sup>In</sup> <sup>figure</sup> <sup>14(</sup> <sup>_c_</sup> <sup>)</sup> <sup>we</sup> plot the individual contributions _q_ 0 <sup>′</sup> <sup>_(c_</sup> <sup>¯0</sup> <sup>_)_</sup> <sup>and</sup> <sup>_bI_</sup> <sup>′</sup> 3 <sup>_(c_</sup> <sup>¯0</sup> <sup>_)_</sup> <sup>. From this we can see how buoyancy</sup> plot the individual contributions _q_ 0 <sup>′</sup> <sup>_(c_</sup> <sup>¯0</sup> <sup>_)_</sup> <sup>and</sup> <sup>_bI_</sup> <sup>′</sup> 3 <sup>_(c_</sup> <sup>¯0</sup> <sup>_)_</sup> <sup>. From this we can see how buoyancy</sup> comes to dominate _q_ 0 <sup>′</sup> <sup>, increasing</sup> <sup>_w f_</sup> <sup>.</sup> comes to dominate _q_ 0 <sup>′</sup> <sup>, increasing</sup> <sup>_w f_</sup> <sup>.</sup> Now, turning to the results of the Muskat analysis/classification of the flow regimes, we compared the front velocity with the finger speed for all ranges of concentrations. Then, we classified them based on the explained criteria. Figure 15 displays the flow classification based on Muskat’s analysis for two Newtonian fluids. In the isodense displacements, the front becomes unstable for values of _m_ higher than a cutoff _mc_, where _mc_ ∼ 1 _._ 5. This implies that the finger velocity is higher than the front speed at _c_ ¯ = 0 when _m_ ⩾ _mc_, as shown in figure 15( _a_ ). Under a favourable density ratio between two fluids, i.e. _b >_ 0, the unstable region reduces, and finally, at _b_ = 1000, the buoyancy force dominates, and the front becomes stable for all ranges of the viscosity ratio. At high values of the viscosity ratios, a much larger buoyancy number is required to stabilise the flow. Therefore, a transition from unstable regime to stable occurs, and the mud removal process becomes more effective when the displacing fluid becomes denser and more viscous than the displaced fluid, as is indeed physically intuitive. The influence of the power-law index values on the frontal behaviour of two shearthinning fluids is illustrated in figure 16. Essentially, as the shear thinning of the displaced fluid decreases and the shear-thinning fluid of the displacing fluid increases, i.e. _n_ 1 → 1 and _n_ 2 → 0 _._ 2, the front becomes less stable and the displacement effectiveness reduces. Furthermore, as the effective viscosity of fluids is smaller than in the previous scenario _Journal of Fluid Mechanics_ ( _a_ ) _κ_ 2 ( _c_ ) _κ_ 2 1 5 4 3 2 1 5 4 3 2 1 5 4 3 2 1 _m_ = 1 5 4 _<mark>mc</mark>_ = 1.5 3 2 ( _b_ ) _κ_ 2 ( _d_ ) _κ_ 2 1 2 3 4 5 _κ_ 1 1 2 3 4 5 _κ_ 1 1 2 3 4 5 _κ_ 1 1 2 3 4 5 _κ_ 1 Figure 15. Flow regimes classification based on Muskat’s analysis for Newtonian fluid flows at various viscosity ratios ( _m_ ) and buoyancy numbers ( _b_ ): ( _a_ ) _b_ = 0, ( _b_ ) _b_ = 10, ( _c_ ) _b_ = 100, ( _d_ ) _b_ = 1000. Red triangles denote unstable; blue squares denote partial penetration; green circles are stable. (Newtonian fluids), the critical buoyancy number required to stabilise the flow ( _b_ ≈ 70) is far below the threshold for Newtonian flows ( _b_ ≈ 1000). Finally, we explore some of the effects of yield stress on the displacement. Including a yield stress creates more possibilities for either fluid to be unyielded over part or all of the layer thickness, which can combine with buoyancy in either direction to produce many effects. Therefore, the results presented are primarily intended as examples. In figure 17 we fix a modest stabilising buoyancy _b_ = 1, set _n_ 1 = _n_ 2 = 1 and consider an unstable ratio of the consistencies. Figures 17( _a_ ) and 17( _b_ ) show the results of increasing _τY,_ 1 from zero, keeping _τY,_ 2 = 0. Initially the displacement has a spike flow, but as _τY,_ 1 increases the spike changes to a shock. The velocity profile develops a static wall layer of fluid 1. The shock velocity increases with _τY,_ 1 in this case (panel _a_ ). Considering now the ( _a_ ) _n_ 2 ( _c_ ) _n_ 2 0.2 0.2 0.4 0.6 0.8 1.0 _n_ 1 1.0 0.8 0.6 0.4 0.2 0.2 0.4 0.6 0.8 1.0 _n_ 1 1.0 0.8 0.6 0.4 _F. Bararpour and I.A. Frigaard_ ( _b_ ) 1.0 0.8 0.6 0.4 0.2 0.2 0.4 0.6 0.8 1.0 _n_ 1 1.0 0.8 0.6 0.4 0.2 0.2 0.4 0.6 0.8 1.0 _n_ 1 _n_ 2 ( _d_ ) _n_ 2 Figure 16. Flow regimes classification based on Muskat’s analysis for power-law fluid flows at various powerlaw index ( _nk_ ) and buoyancy numbers ( _b_ ): ( _a_ ) _b_ = 0, ( _b_ ) _b_ = 10, ( _c_ ) _b_ = 20, ( _d_ ) _b_ = 70. Red triangles denote unstable; blue squares denote partial penetration; green circles are stable. effects on stability, we have plotted _�w(c_ ¯0 _)_ against _τY,_ 1 in the form of a colour map. We see that initially for low _τY,_ 1 we have a band of low concentrations for which _�w(c_ ¯0 _) <_ 0, but this does not extend to _c_ ¯∗. Consequently, these flows show partial penetration and are not stable. As the yield stress is increased, we find that _�w(c_ ¯0 _) >_ 0 for all _c_ ¯0 and the flows become unstable. This is illustrated within the inset figures of figure 17( _b_ ), In figures 17( _c_ ) and 17( _d_ ) we explore instead the effect of increasing _τY,_ 2 from zero, keeping _τY,_ 1 = 0 _._ 05. In terms of flow type (panel _c_ ), we always find spike-type frontal displacements, with the spike region growing larger as _τY,_ 2 increases. As the shock front speed moves below 1 there is a sudden change in _c_ ¯∗, which drops below 0 _._ 5. At the same time, _c_ ¯ _critical_ steadily increases so that we transition from partial penetration to a stable fingering regime (panel _d_ ). ( _a_ ) _c_ ¯0 1.0 0.8 0.6 0.4 0.2 _Journal of Fluid Mechanics_ ( _b_ ) _�w_ ( _c_ ¯0) Shock _τY_,1 = 0.05, _τY_,2 = 0 _τY_,1 = 0.2, _τY_,2 = 0 _τY_,1 = 0.4, _τY_,2 = 0 _τY_,1 = 0.6, _τY_,2 = 0 _τY_,1 = 0.8, _τY_,2 = 0 _τY_ <u>,1 = 1,</u> _τY_ <u>,2 = 0</u> 1.0 5 4 3 2 1 0 –1 –2 _τY_,1 = 0 _τY_,1 = 0.37 _τY_,1 = 1 _wfinger_ ( _c_ ¯0) _wf_ ( _c_ ¯0) _c_ ¯ _critical_ 3 1 Spike 0.8 0.6 0.4 0.2 –1 0 0.5 1.0 _c_ ¯0 _c_ ¯ _critical_ _c_ ¯∗ _c_ ¯0 0 0.5 1.0 1.5 2.0 _wf_ ( _c_ ¯0) ( _c_ ) ( _d_ ) 1.0 0.8 0.6 1.0 0.8 0.6 0.4 0.2 0 0.2 0.4 0.6 0.8 1.0 _τY_,1 _�w_ ( _c_ ¯0) 5 3 1 1.0 0.5 0 –0.5 –1.0 _c_ ¯0 _c_ ¯0 _c_ ¯0 0.4 0.2 _τY_,1 = 0.05, _τY_,2 = 0 _τY_,1 = 0.05, _τY_,2 = 0.2 _τY_,1 = 0.05, _τY_,2 = 0.4 _τY_,1 = 0.05, _τY_,2 = 0.6 _τY_,1 = 0.05, _τY_,2 = 0.8 _τY_ <u>,1 = 0.05,</u> _τY_ <u>,2 = 1</u> _c_ ¯ _critical_ _c_ ¯∗ _τY_,2 = 0 _τY_,2 = 0.57 _τY_,2 = 1 _wfinger_ ( _c_ ¯0) _wf_ ( _c_ ¯0) _c_ ¯ _critical_ –1 _c_ ¯ _critical_ –1.5 0 0.5 1.0 0 0.5 1.0 1.5 2.0 _wf_ ( _c_ ¯0) 0 0.2 0.4 0.6 0.8 1.0 _τY_,2 Figure 17. ( _a,c_ ) Front speed ( _w f (c_ ¯0 _)_ ) is plotted against _c_ ¯0 at _b_ = 1 _,_ _κ_ 1 = 0 _._ 3 _,_ _κ_ 2 = 0 _._ 1. The colour map represents _�w(c_ ¯0 _)_ for ( _b_ ) various _c_ ¯0 and _τY,_ 1 at fixed _τY,_ 2 = 0 and for ( _d_ ) different _c_ ¯0 and _τY,_ 2 at fixed _τY,_ 1 = 0 _._ 05. The inset figures give examples of a comparison between finger and front speeds. 4. Conclusions The main focus of this study has been the extension of the D2DGA approach of Zhang & Frigaard (2022) to a wide range of non-Newtonian fluids, such as are commonly used in primary cementing flows. The underlying approach is illustrated in figure 3, namely developing a closure expression for the functional relationship of the pressure gradient to the gap-averaged velocity (streamfunction), based on the assumption that the fluids are layered across the annular gap. As shown in Zhang & Frigaard (2022, 2023), this approach leads to a greatly improved physical representation of dispersion that takes place on the scale of the annular gap. Although there is no reason to suspect that validity of the D2DGA approach fails due to adoption of different generalised Newtonian _F. Bararpour and I.A. Frigaard_ fluid rheologies, we admit that external verification is an important missing step so far. Computation of three-dimensional annular displacement flows using Herschel–Bulkley fluid models is underway, with the purpose of making these comparisons. We also have ongoing experimental displacement work that may eventually be used for this purpose. This will complete the modelling framework developed here. We have developed the underlying closure expressions needed to compute the streamfunction, given in terms of the mobility functions _I_ 1 and _I_ 2, and explored their parametric variations. Unlike the Newtonian fluid pairs, an analytical solution to find the velocity field is no longer possible. Instead it is necessary to compute the velocity numerically, and here we have used an augmented Lagrangian method. The velocity solutions can have plug regions of unyielded fluid, either in the centre of the annular gap or at the walls. Also, the shear stress direction changes across the gap width, due to the different effects of buoyancy in each layer. In general, the result of finding the closure expressions is that the mean mobility _I_ 1 _>_ 0 and (2.16) remains elliptic. The solution method for the gap-scale velocity is detailed in Appendix A. We have also derived the general expressions needed for evolution of the displacing fluid concentration _c_ ¯. The volumetric flux function splits into two parts: a flux that partitions the total areal flow rate locally and is in the direction of the mean velocity ( _q_ 0), and a buoyancy driven term _bI_ 3. This differs from the Newtonian case in that the two components are coupled through the streamfunction as well as the concentration, i.e. the linearity is lost. The resulting nonlinear evolution problem closure expressions must be evaluated computationally from the local gap-scale velocity solution. The need to calculate each closure expression numerically makes computation of the complete D2DGA displacement flow impractical without, e.g. tabulating each function. Instead, to gain physical insight into the effects of dispersion, we have analysed a planar displacement flow using the D2DGA model. The analysis consists of two parts. First, we are able to compute the dispersive wavespeeds of the planar displacement front. In the Newtonian case, this incorporates the earlier results of Yang & Yortsos (1997), Lajeunesse _et_ _al._ (1999), but builds on this for power-law and Herschel–Bulkley fluids. Similar to the displacement flow of Bingham fluids by Newtonian fluids (Zare _et_ _al._ 2017), frontal behaviours in Herschel–Bulkley fluid displacements can be categorised into ( _a_ ) dispersion, ( _b_ ) spike, ( _c_ ) shock and ( _d_ ) static wall layers. Fluid rheological properties and buoyancy control the transition from one regime to another. Shear thinning in the displaced fluid tends to reduce dispersion, while shear thinning of the displacing fluid has little effect. Increasing the yield stress of the displacing fluid enhances the velocity of the displaced fluid layers, without necessarily changing the flow regime. As the yield stress of the displaced fluid is increased, eventually the static wall layer regime arises. The effects on dispersion are less clear. Including positive buoyancy _b >_ 0 tends to reduce dispersion, moving from fully dispersive flows, through spike regimes to central shocks of widening extent. The suppression of dispersion and the shock development, on applying a positive buoyancy, stems from the change of the flux function ( _q_ 0 _(c_ ¯ _)_ + _bI_ 3 _(c_ ¯ _)_ ) from concave into convex at small values of _c_ ¯. The height and velocity of the shock are determined using the Rankine– Hugoniot conditions. On the other hand, shock speeds are always positive regardless of how large _b_ is, due to the behaviour of the buoyancy flux distribution _I_ 3, as _c_ ¯ → 0 and 1. Secondly, we conducted a dispersive Muskat-style analysis to calculate the velocity of a narrow finger penetrating the dispersing front. Since in the Muskat analysis it is assumed that the finger is very thin, the pressure gradient within the finger is the same as that in the external fluid, and accordingly, the finger velocity depends on _c_ ¯. We classify the behaviour as unstable, when the finger penetrates through the front and into the layer of fluid 1. The _Journal of Fluid Mechanics_ finger velocity is always faster than the front velocity at _c_ ¯ = 1, so the finger can always penetrate into the frontal regime. We then find the concentration _c_ ¯∗ that disperses at the mean speed. If the finger velocity at _c_ ¯∗ does not exceed the mean velocity, we regard the flow as stable. Otherwise, the flow is classified as a partial penetration. Applying this analysis to frontal displacement flows of two Newtonian fluids gives results that are somewhat intuitive. Increasing displacing fluid viscosity tends to stabilise the front. For an isodense displacement, unstable flows are found for _m >_ 1 _._ 5. Adding buoyancy to the displacement ( _b >_ 0) progressively stabilises the displacement. This stabilisation via positive buoyancy is attributed to both suppression of the frontal dispersion and reduction of the finger velocity, by at most _bI_ 1 _(_ 1 _)_ . For two power-law fluids with identical _κ j_, on varying _n_ 1 and _n_ 2, we find that reduced _n_ 2 at fixed _n_ 1 can lead to instability. In this case the displacing fluid in the finger feels stress gradients that are controlled by the less responsive fluid 1: it may shear thin and move faster in the centre of the annular gap. Again, as we increase _b >_ 0, the flows become progressively stabilised. The shear-thinning scenario appears to be more sensitive to _b_ than two Newtonian fluids. Our future work is directed towards developing a two-dimensional numerical implementation of the non-Newtonian D2DGA model derived here, in such a way that it can be used for systematic computations of cementing displacement flows on the scale of the well. In order to compute the full two-dimensional model, we need to solve (2.16) at each time step and evolve the fluid concentration via (2.19). The majority of this paper has been concerned with formulating the underlying D2DGA model, to show that it has a similar two-dimensional form to the earlier 2DGA models, exploring the closure relationships via the unctions _I_ 1, _I_ 2, _I_ 3 and _q_ 0, and studying the planar displacement flow. We have also studied the underlying _y_ -dependent two-dimensional shear flow; (see Appendix A), needed in order to evaluate _I_ 1, _I_ 2, _I_ 3 and _q_ 0. Since the computation of these functions is itself time consuming, when eventually solving (2.16) and (2.19), it is likely that these functions need to be evaluated and tabulated so that a more speedy interpolation of their values can be used. Even given this, we note that, for the 2DGA model, (2.16) is properly posed as a convex minimisation problem or the equivalent elliptic variational inequality. It is likely that a similar approach will need developing here for the fully two-dimensional annular flow. Funding. The authors gratefully acknowledge the financial support of NSERC, Sanjel Energy Services and Geonomic Ltd. via Alliance Project No. ALLRP 572089-22 ‘Well Integrity Canada 2030’. Declaration of interests. The authors report no conflict of interest. Appendix A. Solving the two fluid problem We now describe the solution of the two fluid layered flow in detail. Whereas the model has been derived using variables that are scaled globally, i.e. using process variables relevant to the annular displacement flow, here we consider only the local flow in a plane channel of width 2 _H_ . This is governed by the momentum (2.5), (2.6) and the constitutive laws (2.31). In order to reduce the dimension of the parameter space, we define _y_ ˜ = _y/H_, so that the interfaces are now at _y_ ˜ = ±¯ _c_ . The governing equations are then identical with (2.5), (2.6) and (2.31), except that the parameters and variables are accented with a tilde and _H_ = 1, i.e. we solve 0 = <sup><u>d</u></sup> <sup>τ˜</sup> <sup><u>2</u></sup> _y_ ˜ ∈[0 _,_ _c_ ¯ _),_ (A1) d ˜ _y_ <sup>+</sup> <sup>_G_</sup> <sup>˜</sup> <sup>−</sup> <sup>_(_</sup> <sup>1 −¯</sup> <sup>_c)_</sup> <sup>˜</sup> <sup>_G_</sup> <sup>_b_</sup> <sup>_,_</sup> _F. Bararpour and I.A. Frigaard_ 0 = <sup><u>d</u></sup> <sup>τ˜</sup> <sup><u>1</u></sup> _y_ ˜ ∈ _(c_ ¯ _,_ 1] _._ (A2) d ˜ _y_ <sup>+</sup> <sup>_G_</sup> <sup>˜</sup> <sup>+</sup> <sup>_c_</sup> <sup>¯</sup> <sup>_G_</sup> <sup>˜</sup> <sup>_b_</sup> <sup>_,_</sup> The constitutive laws for fluid _k_ are <u>d</u> ˜ _<u>u</u>_ d ˜ _y_ <sup>_,_</sup> ⇔| τ˜ _k_ | _>_ ˜τ _Y,k,_ −1 <sup>�</sup> (A3) <u>d</u> ˜ _<u>u</u>_ ���� d ˜ _y_ ���� τ˜ _k_ = _κ_ ˜ _k_ <u>d</u> ˜ _<u>u</u>_ ���� d ˜ _y_ _nk_ −1 ���� + ˜τ _Y,k_ <u>d</u> ˜ _<u>u</u>_ d ˜ _y_ <sup>= 0</sup> <sup>_,_</sup> ⇔| τ˜ _k_ | ⩽ τ˜ _Y,k._ At _y_ ˜ = 0, we have τ˜ 2 = 0. At _y_ ˜ = 1, we have _u_ ˜ = 0. The stresses and velocity are continuous at _y_ ˜ = _c_ ¯. The variables with the tilde accent are identical to the unaccented variables earlier, with the following exceptions: _κ_ ˜ _k_ = _κk/H_ <sup>_nk_</sup> _,_ _G_ ˜ = _H_ _G_ _,_ _G_ ˜ _b_ = _H_ _G_ _b_ _._ (A4) Thus, the velocity, yield stresses and power-law indices are unchanged. A.1. _Variational formulation_ Aside from special cases (e.g. Newtonian), it is not possible to find an analytical solution. Due to the yield stress, it is common to use a variational formulation. We take a test space _V_ : _V_ = { _v_ ˜ : _v_ ˜ _(_ 1 _)_ = 0 _,_ _v_ ˜ continuous at _y_ ˜ = _c_ ¯} _._ (A5) We may expect that _V_ is a subspace of the Sobolev space [ _W_ <sup>1</sup> <sup>_,_</sup> <sup>_p_</sup> _(_ 0 _,_ 1 _)_ ] <sup>2</sup>, where _p_ = 1 + min{ _n_ 1 _, n_ 2}, but we proceed only formally here. On taking the dot product of the momentum equations with _v_ ˜, integrating across [0 _,_ 1] and summing, we arrive at - <u>d</u> τ˜ 0 = d _y_ <sup>·</sup> <sup>_v_</sup> <sup>˜</sup> + ⟨ _G_ <sup>˜</sup> _._ _v_ ˜ ⟩− _(_ 1 −¯ _c)_ ⟨ _G_ <sup>˜</sup> _b_ · _v_ ˜ ⟩2 + _c_ ¯⟨ _G_ <sup>˜</sup> _b_ · _v_ ˜ ⟩1 _,_ (A6) where the angle bracket notation is as follows: - 1 _c_ ¯ - 1 _f_ d ˜ _y,_ ⟨ _f_ ⟩= _f_ d ˜ _y_ = ⟨ _f_ ⟩2 + ⟨ _f_ ⟩1 _._ (A7) 0 ⟨ _f_ ⟩2 = - _c_ ¯ _f_ d ˜ _y,_ ⟨ _f_ ⟩1 = 0 The shorthand τ˜ is taken to mean τ˜ _k_ when in fluid _k_ . On integrating by parts, using the boundary and interfacial conditions, and noting that both _G_ <sup>˜</sup> and _G_ <sup>˜</sup> _b_ are constant, we arrive at = _G_ <sup>˜</sup> · ⟨ _v_ ˜ ⟩− _(_ 1 −¯ _c)_ _G_ <sup>˜</sup> _b_ · ⟨ _v_ ˜ ⟩2 + _c_ ¯ _G_ <sup>˜</sup> _b_ · ⟨ _v_ ˜ ⟩1 _._ (A8) - <u>d</u> _v_ ˜ d ˜ _y_ <sup>· ˜τ</sup> To treat the left-hand side, we define the following functionals for fluid _k_ : _ak(_ ˜ _u_ _,_ _v_ ˜ _)_ = _κ_ ˜ _k_ <u>d</u> ˜ _<u>u</u>_ ����� d ˜ _y_ ���� _nk_ −1 <u>d</u> ˜ _<u>u</u>_ _k_ _,_ _k_ = 1 _,_ 2 _,_ (A9) _nk_ −1 <sup>�</sup> <u>d</u> ˜ _<u>u</u>_ d ˜ _y_ <sup>·</sup> d <sup><u>d</u></sup> ˜ <sup>_v_</sup> _y_ <sup>˜</sup> _k_ d ˜ _y_ _jk(_ _v_ ˜ _)_ = _τ_ ˜ _Y,k_ <u>d</u> _v_ ˜ ����� d ˜ _y_ ���� _,_ _k_ = 1 _,_ 2 _._ (A10) _Journal of Fluid Mechanics_ Then _a(_ ˜ _u_ _,_ _v_ ˜ _)_ = _a_ 1 _(_ ˜ _u_ _,_ _v_ ˜ _)_ + _a_ 2 _(_ ˜ _u_ _,_ _v_ ˜ _)_ ; _j_ _(_ _v_ ˜ _)_ = _j_ 1 _(_ _v_ ˜ _)_ + _j_ 2 _(_ _v_ ˜ _)_ . Using (A9) and (A10), (A8) leads to the following variational inequality: _a(_ ˜ _u_ _,_ _v_ ˜ - _u_ ˜ _)_ + _j_ _(_ _v_ ˜ _)_ - _j_ _(_ ˜ _u_ _)_ ⩾ _G_ <sup>˜</sup> · ⟨ _v_ ˜ - _u_ ˜ ⟩− _(_ 1 −¯ _c)_ _G_ <sup>˜</sup> _b_ · ⟨ _v_ ˜ - _u_ ˜ ⟩2 + _c_ ¯ _G_ <sup>˜</sup> _b_ · ⟨ _v_ ˜ - _u_ ˜ ⟩1 _,_ _u_ ˜ ∈ _V_ ∀ _v_ ˜ ∈ _V._ (A11) This second-order elliptic variational inequality is of classical form and can be used to ensure the existence and uniqueness of the solution. Here we simply assume this. The variational inequality (A11) is also equivalent to the following minimisation: min _v_ ˜ ∈ _V_ <sup>_J_</sup> <sup>_(_</sup> <sup>_v_</sup> <sup>˜</sup> <sup>_)_</sup> <sup>=</sup> <sup>_<u>a</u>_</sup> _n_ <sup><u>1</u></sup> 1 <sup>_(_</sup> + <sup>_v_</sup> <sup>˜</sup> <sup>_,_</sup> 1 <sup>_v_</sup> <sup>˜</sup> <sup>_)_</sup> _n_ <sup><u>2</u></sup> 2 <sup>_(_</sup> + <sup>_v_</sup> <sup>˜</sup> <sup>_,_</sup> 1 <sup>_v_</sup> <sup>˜</sup> <sup>_)_</sup> <sup>+</sup> <sup>_j_</sup> <sup>_(_</sup> <sup>_v_</sup> <sup>˜</sup> <sup>_)_</sup> <sup>−</sup> <sup>_G_</sup> <sup>˜</sup> <sup>·</sup> <sup>⟨</sup> <sup>_v_</sup> <sup>˜</sup> <sup>⟩+</sup> <sup>_(_</sup> <sup>1 −¯</sup> <sup>_c)_</sup> <sup>˜</sup> <sup>_G_</sup> <sup>_b_</sup> <sup>·</sup> <sup>⟨</sup> <sup>_v_</sup> <sup>˜</sup> <sup>⟩2 −¯</sup> <sup>_c_</sup> <sup>_G_</sup> <sup>˜</sup> <sup>_b_</sup> <sup>·</sup> <sup>⟨</sup> <sup>_v_</sup> <sup>˜</sup> <sup>⟩1</sup> <sup>_._</sup> min _n_ <sup><u>1</u></sup> 1 <sup>_(_</sup> + <sup>_v_</sup> <sup>˜</sup> <sup>_,_</sup> 1 <sup>_v_</sup> <sup>˜</sup> <sup>_)_</sup> <sup>+</sup> <sup>_<u>a</u>_</sup> _n_ <sup><u>2</u></sup> 2 <sup>_(_</sup> + <sup>_v_</sup> <sup>˜</sup> <sup>_,_</sup> 1 <sup>_v_</sup> <sup>˜</sup> <sup>_)_</sup> (A12) In both variational inequality and minimisation formulations, we observe that the buoyancy vector acts in the opposite directions within each fluid layer. In practice, we solve the minimisation formulation, using an augmented Lagrangian approach, which we outline in Appendix A.2. Our main aim in finding the solution is so that we define the closure expressions needed for the D2DGA model earlier. The pointwise values of _u_ ˜ are needed to evaluate functions such as _I_ 1, _I_ 2, _q_ 0, etc. There is also direct interest in the mean velocity ⟨ _u_ ˜ ⟩, which gives ∇ _aΨ_ = 2 _H_ _(_ ⟨˜ _uξ_ ⟩ _,_ −⟨˜ _uφ_ ⟩. There are generally two scenarios in which we might wish to compute a solution as part of the D2DGA model. Firstly, it can be that the modified pressure gradient ( _G_ <sup>˜</sup> ) is specified and we wish to find the velocity _u_ ˜ (hence, the mean velocity and other functionals). The second way in which we need to compute the solution is when ⟨ _u_ ˜ ⟩ is specified, i.e. via ∇ _aΨ_ from the D2DGA model. In this case, the modified pressure gradient _G_ <sup>˜</sup> is unknown and must be found along with the solution _u_ ˜ . To establish that this second problem can theoretically have a solution, consider solving (A11) for two modified pressure gradients _G_ <sup>˜</sup> _A_ and _G_ <sup>˜</sup> _B_ . Let _u_ ˜ _A_ and _u_ ˜ _B_ be the corresponding solutions. We can see that _u_ ˜ _A_ is a test function for _u_ ˜ _B_ and _u_ ˜ _B_ is a test function for _u_ ˜ _A_ . On substituting into (A11) for both the _u_ ˜ _A_ and _u_ ˜ _B_ problems, summing the inequalities and rearranging, we find that [ _G_ <sup>˜</sup> _B_ - _G_ <sup>˜</sup> _A_ ] · [⟨ _u_ ˜ _B_ ⟩−⟨ _u_ ˜ _A_ ⟩] ⩾ _a(_ ˜ _u_ _A,_ _u_ ˜ _A_ - _u_ ˜ _B)_ - _a(_ ˜ _u_ _B,_ _u_ ˜ _A_ - _u_ ˜ _B)_ ⩾ 0 _._ (A13) The last inequality in (A13) follows from the monotonicity of the operator _a_ that is the sub-differential of a convex functional. The inequality is strict unless _u_ ˜ _A_ = _u_ ˜ _B_ = 0, which can happen for different _G_ <sup>˜</sup> _A_ and _G_ <sup>˜</sup> _B_, in the case that the yield stresses are large enough to prevent motion. The positivity of [ _G_ <sup>˜</sup> _B_ - _G_ <sup>˜</sup> _A_ ] · [⟨ _u_ ˜ _B_ ⟩−⟨ _u_ ˜ _A_ ⟩] suggests that one can simply increase _G_ <sup>˜</sup> in the right direction to either increase/decrease ⟨ _u_ ˜ ⟩ towards a target mean velocity. A.2. _Augmented Lagrangian method_ A common solution method for the minimisation problem (A12) involves a relaxation of d _v_ ˜ _/_ d ˜ _y_ �−→ _q_ in the definition of _J_ _(_ _v_ ˜ _)_, which removes the non-differentiability of _j_ _(_ _v_ ˜ _)_ . The constraint d _v_ ˜ _/_ d ˜ _y_ = _q_ is then enforced by a Lagrange multiplier and the minimisation is usually also stabilised by augmenting with an additional penalty term. This results in the following saddle point problem: maxλ <sup>_,_</sup> <sup>min</sup> _v_ ˜ _q_ maxλ <sup>min</sup> _v_ ˜ _q_ <sup>_Lr_</sup> <sup>_(_</sup> <sup>_v_</sup> <sup>˜</sup> <sup>_,_</sup> <sup>_q_</sup> <sup>_,_</sup> <sup>λ</sup> <sup>_)._</sup> (A14) _F. Bararpour and I.A. Frigaard_ Here the functional _Lr_ is as follows: �| _q_ | <sup>_n_</sup> <sup>2+1�</sup> <u>2</u> + ˜τ1 _,Y_ ⟨| _q_ |⟩1 + ˜τ2 _,Y_ ⟨| _q_ |⟩2 − _G_ <sup>˜</sup> · ⟨ _v_ ˜ ⟩ _n_ 2 + 1 - �� �� _Lr_ _(_ _v_ ˜ _,_ _q_ _,_ λ _)_ = <sup>_κ_</sup> <sup>˜1</sup> �| _q_ | <sup>_n_</sup> <sup>1+1�</sup> <u>1</u> + <sup>_κ_</sup> <sup>˜2</sup> _n_ 1 + 1 - <u>d</u> _v_ ˜ d ˜ _y_ <sup>−</sup> <sup>_q_</sup> + _(_ 1 −¯ _c)_ _G_ <sup>˜</sup> _b_ · ⟨ _v_ ˜ ⟩2 −¯ _c_ _G_ <sup>˜</sup> _b_ · ⟨ _v_ ˜ ⟩1 + λ · - - <u>d</u> _v_ ˜ · d _y_ <sup>−</sup> <sup>_q_</sup> �� _._ (A15) + <sup>_<u>r</u>_</sup> 2 �� <u>d</u> _v_ ˜ d _y_ <sup>−</sup> <sup>_q_</sup> This is resolved iteratively using an Uzawa algorithm, in which new values of _u_ ˜, _q_ and λ are found, independently at each iteration. A.2.1. _Fixed pressure gradient problem_ We first treat the problem in which _G_ ˜ and _G_ ˜ _b_ are specified. At the _(k_ + 1 _)_ th iteration,assuming that _q_ <sup>_k_</sup> and λ <sup>_k_</sup> are known from the previous iteration, the optimality condition for _v_ ˜, which defines _u_ ˜ <sup>_k_</sup> <sup>+1</sup>, is given by _r_ <sup>_<u>d</u>_</sup> <sup>2</sup> <sup>_<u>u</u>_</sup> <sup>˜</sup> <sup>_k_</sup> <sup>+1</sup> d ˜ _y_ <sup>2</sup> _r_ <sup>_<u>d</u>_</sup> <sup>2</sup> <sup>_<u>u</u>_</sup> <sup>˜</sup> <sup>_k_</sup> <sup>+1</sup> <sup><u>d</u></sup> d <sup>_<u>q</u>_</sup> ˜ _y_ <sup>_k_</sup> <sup>−</sup> <sup><u>d</u></sup> d <sup>λ</sup> ˜ _y_ <sup>_k_</sup> <sup><u>d</u></sup> d <sup>_<u>q</u>_</sup> ˜ _y_ <sup>_k_</sup> <sup>−</sup> <sup><u>d</u></sup> d <sup>λ</sup> ˜ _y_ <sup>_k_</sup> _y_ ˜ ∈ _(c_ ¯ _,_ 1] _,_ (A16) d <sup>λ</sup> ˜ _y_ <sup>_k_</sup> <sup>−</sup> <sup>_G_</sup> <sup>˜</sup> <sup>−¯</sup> <sup>_c_</sup> <sup>_G_</sup> <sup>˜</sup> <sup>_b_</sup> <sup>_,_</sup> d <sup>_<u>u</u>_</sup> <sup>˜</sup> ˜ _y_ <sup>_k_</sup> <sup>2+1</sup> = _r_ <sup><u>d</u></sup> d <sup>_<u>q</u>_</sup> ˜ _y_ <sup>_k_</sup> <sup>2</sup> d <sup>_<u>u</u>_</sup> <sup>˜</sup> ˜ _y_ <sup>_k_</sup> <sup>2+1</sup> = _r_ <sup><u>d</u></sup> d <sup>_<u>q</u>_</sup> ˜ _y_ <sup>_k_</sup> _y_ ˜ ∈[0 _,_ _c_ ¯ _),_ d <sup>λ</sup> ˜ _y_ <sup>_k_</sup> <sup>−</sup> <sup>_G_</sup> <sup>˜</sup> <sup>+</sup> <sup>_(_</sup> <sup>1 −¯</sup> <sup>_c)_</sup> <sup>˜</sup> <sup>_G_</sup> <sup>_b_</sup> <sup>_,_</sup> with conditions of symmetry at _y_ ˜ = 0, continuity at _y_ ˜ = _c_ ¯ and _u_ ˜ <sup>_k_</sup> <sup>+1</sup> = 0 at _y_ ˜ = 1. Since we expect that the sequence λ <sup>_k_</sup> converges to τ˜, which varies linearly with _y_ ˜, we split λ <sup>_k_</sup> = λ0 + λ <sup>˜</sup> _k_, where we select λ0 to be piecewise linear and balance the _G_ ˜ and _G_ ˜ _b_ split λ <sup>_k_</sup> = λ0 + λ <sup>˜</sup> _k_, where we select λ0 to be piecewise linear and balance the _G_ ˜ and _G_ ˜ _b_ terms: λ0 _(_ ˜ _y)_ = - _G_ <sup>˜</sup> ˜ _y_ + _(_ 1 −¯ _c)_ _G_ <sup>˜</sup> _b_ ˜ _y,_ _y_ ˜ ∈[0 _,_ _c_ ¯ _),_ (A17) - _G_ <sup>˜</sup> ˜ _y_ + _(_ 1 −˜ _y)_ _G_ <sup>˜</sup> _b_ ¯ _c,_ _y_ ˜ ∈ _(c_ ¯ _,_ 1] _._ Using (A17), we now simplify (A16) to _r_ <sup>_<u>d</u>_</sup> <sup>2</sup> <sup>_<u>u</u>_</sup> <sup>˜</sup> <sup>_k_</sup> <sup>+1</sup> <sup><u>d</u></sup> d <sup>_<u>q</u>_</sup> ˜ _y_ <sup>_k_</sup> <sup>−</sup> <sup><u>d</u></sup> d <sup>λ</sup> <sup>˜</sup> ˜ _y_ _k(_ ˜ _y)_ - _r_ _q_ _k(_ 0 _)_ + ˜ λ <sup>˜</sup> <sup>_<u>u</u>_</sup> <sup>_k_</sup> <sup>+1</sup> = _r_ _q_ <sup>_k_</sup> _(_ ˜ _y)_ - λ <sup>˜</sup> d ˜ _y_ d <sup>_<u>u</u>_</sup> <sup>˜</sup> ˜ _y_ <sup>_k_</sup> <sup>2+1</sup> = _r_ <sup><u>d</u></sup> d <sup>_<u>q</u>_</sup> ˜ _y_ <sup>_k_</sup> _k_ <sup><u>d</u></sup> d <sup>λ</sup> <sup>˜</sup> ˜ _y_ <sup>_,_</sup> ⇒ _r_ <sup><u>d</u></sup> <sup>˜</sup> <sup>_<u>u</u>_</sup> d <sup>_k_</sup> ˜ _y_ <sup>+1</sup> _k_ _k(_ 0 _)._ (A18) This is integrated from the wall, where _u_ ˜ <sup>_k_</sup> <sup>+1</sup> _(_ 1 _)_ = 0. To find _q_ <sup>_k_</sup> <sup>+1</sup>, we may minimise locally, i.e. _K_ _(_ _q_ _)_ = <sup>_κ_</sup> <sup>˜</sup> <sup>_<u>j</u>_</sup> <sup>|</sup> <sup>_q_</sup> <sup>|</sup> <sup>_n j_</sup> <sup>+1</sup> <sup>_<u>q</u>_</sup> <sup>|2</sup> + ˜τ _Y, j_ | _q_ | − _m_ · _q_ _,_ (A19) 2 <sup>_<u>j</u>_</sup> <sup>|</sup> <sup>_q_</sup> <sup>|</sup> <sup>_n j_</sup> <sup>+1</sup> + <sup>_<u>r</u>_</sup> <sup>|</sup> <sup>_<u>q</u>_</sup> <sup>|2</sup> _n j_ + 1 2 where _m_ = λ + λ <sup>˜</sup> _k_ + _r_ _(_ d ˜ _u_ _k_ +1 _/_ d _y)_ and _j_ = 1 _,_ 2 according to which fluid layer we solve in. The optimality conditions for _q_ <sup>_k_</sup> <sup>+1</sup> are ⎧ ⎨ ⎩ _q_ <sup>_k_</sup> <sup>+1</sup> = 0 _,_ | _m_ | ⩽ τ _Y, j_ _,_ _θ_ _m_ _,_ | _m_ | _>_ τ _Y, j_ _._ where _κ_ ˜ _j_ _θ_ <sup>_n j_</sup> | _m_ | <sup>_n j_</sup> + _r_ _θ_ | _m_ | = | _m_ | − τ _Y, j_ _,_ (A20) _Journal of Fluid Mechanics_ which requires iterative solution of an equation of one variable to find _θ_ . Finally, we update λ <sup>˜</sup> : _k_ +1 = ˜ λ <sup>_k_</sup> <sup>+1</sup> - _q_ <sup>_k_</sup> <sup>+1</sup> _)._ (A21) d _y_ λ ˜ _k_ + _ρ(_ <u>d</u> _<u>u</u>_ <sup>_k_</sup> <sup>+1</sup> The positive constant parameters _r_ and _ρ_ represent the numerical parameters of the Uzawa algorithm and can be selected to guarantee convergence (Fortin & Glowinski 2000; Glowinski 2013). A.2.2. _Fixed average velocity_ In the second closure model scenario it is necessary to calculate the pressure gradient _G_ <sup>˜</sup> for an imposed average velocity _u_ ¯ <sup>∗</sup> and buoyancy _G_ <sup>˜</sup> _b_ . There are a number of ways in which this may be solved. For example, one could guess _G_ <sup>˜</sup> _k_ and then use the monotonicity result this may be solved. For example, one could guess _G_ <sup>˜</sup> _k_ and then use the monotonicity result (A13) to update _G_ <sup>˜</sup> _k_ +1in the direction of the discrepancy between _u_ ¯ ∗ and the computed _u_ ¯ _k_ . (A13) to update _G_ <sup>˜</sup> _k_ +1in the direction of the discrepancy between _u_ ¯ ∗ and the computed _u_ ¯ _k_ . Instead, our underlying approach is to use the saddle point problem (A14), but exploit the linearity of the first step to satisfy the flow rate constraint by assigning a new value _G_ ˜ _k_ +1 tied to the velocity solution at each iteration. To start, let us define _u_ ¯ _P,_ 0 as the solution of the following plane channel Newtonian Poiseuille flow: _G_ ˜ _r_ <sup>_<u>d</u>_</sup> <sup>2</sup> <sup>_<u>u</u>_</sup> <sup>_<u>P,</u>_</sup> <sup><u>0</u></sup> _(_ 0 _)_ = 0 _,_ _u_ _P,_ 0 _(_ 1 _)_ = 0 _._ (A22) d _y_ <sup>2</sup> <sup>_<u>u</u>_</sup> <sup>_<u>P,</u>_</sup> <sup><u>0</u></sup> = − _G_ <sup>˜</sup> 0 _,_ <u>d</u> _<u>u</u>_ _<u>P,</u>_ <u>0</u> d _y_ <sup>2</sup> d _y_ Here _G_ <sup>˜</sup> 0 = _(_ 1 _,_ 1 _)_, i.e. unit pressure gradient. This may be solved analytically, but generally we solve computationally using the same discretisation as for the velocities below. Having solved, we also calculate the average velocity _u_ ¯ _P,_ 0, which analytically is given by _u_ ¯ _P,_ 0 = _(_ 1 _/_ 3 _r,_ 1 _/_ 3 _r_ _)_ . We also define λ0 to balance the buoyancy _G_ <sup>˜</sup> _b_ : λ0 _(_ ˜ _y)_ = _(_ 1 −¯ _c)_ _G_ <sup>˜</sup> _b_ ˜ _y,_ _y_ ˜ ∈[0 _,_ _c_ ¯ _),_ (A23) _(_ 1 −˜ _y)_ _G_ <sup>˜</sup> _b_ ¯ _c,_ _y_ ˜ ∈ _(c_ ¯ _,_ 1] _._ At the _(k_ + 1 _)_ th iteration for (A14), assuming that _q_ <sup>_k_</sup> and λ <sup>_k_</sup> are known from the previous iteration, the optimality condition for _v_ ˜ is given by _r_ <sup>_<u>d</u>_</sup> <sup>2</sup> <sup>_<u>u</u>_</sup> <sup>˜</sup> <sup>_k_</sup> <sup>+1</sup> d ˜ _y_ <sup>2</sup> _r_ <sup>_<u>d</u>_</sup> <sup>2</sup> <sup>_<u>u</u>_</sup> <sup>˜</sup> <sup>_k_</sup> <sup>+1</sup> <sup><u>d</u></sup> d <sup>_<u>q</u>_</sup> ˜ _y_ <sup>_k_</sup> <sup>−</sup> <sup><u>d</u></sup> d <sup>λ</sup> ˜ _y_ <sup>_k_</sup> <sup><u>d</u></sup> d <sup>_<u>q</u>_</sup> ˜ _y_ <sup>_k_</sup> <sup>−</sup> <sup><u>d</u></sup> d <sup>λ</sup> ˜ _y_ <sup>_k_</sup> d <sup>λ</sup> ˜ _y_ <sup>_k_</sup> <sup>−</sup> <sup>_G_</sup> <sup>˜</sup> <sup>2</sup> d <sup>_<u>u</u>_</sup> <sup>˜</sup> ˜ _y_ <sup>_k_</sup> <sup>2+1</sup> = _r_ <sup><u>d</u></sup> d <sup>_<u>q</u>_</sup> ˜ _y_ <sup>_k_</sup> <sup>2</sup> d <sup>_<u>u</u>_</sup> <sup>˜</sup> ˜ _y_ <sup>_k_</sup> <sup>2+1</sup> = _r_ <sup><u>d</u></sup> d <sup>_<u>q</u>_</sup> ˜ _y_ <sup>_k_</sup> d <sup>λ</sup> ˜ _y_ <sup>_k_</sup> <sup>−</sup> <sup>_G_</sup> <sup>˜</sup> _k_ +1 + _(_ 1 −¯ _c)_ ˜ _G_ _b_ _,_ _y_ ˜ ∈[0 _,_ _c_ ¯ _),_ _k_ +1 −¯ _c_ _G_ ˜ _b_ _,_ _y_ ˜ ∈ _(c_ ¯ _,_ 1] _,_ (A24) again with symmetry at _y_ ˜ = 0, continuity conditions at _y_ ˜ = _c_ ¯ and _u_ ˜ <sup>_k_</sup> <sup>+1</sup> = 0 at _y_ ˜ = 1. Now, however, we must solve this such that _u_ <sup>¯</sup> ˜ _k_ +1 = _u_ ¯ ∗. To do this we split _u_ ˜ _k_ +1, i.e. _u_ ˜ <sup>_k_</sup> <sup>+1</sup> = _u_ ˜ <sup>_k_</sup> _I_ <sup>+1</sup> <sup>_k_</sup> _P_ <sup>+1</sup> _,_ (A25) <sup>_k_</sup> _I_ <sup>+1</sup> + _u_ <sup>_k_</sup> _P_ <sup>+1</sup> where _u_ ˜ <sup>_k_</sup> _I_ <sup>+1</sup> <sup>_k_</sup> _I_ <sup>+1</sup> takes care of the inhomogeneities in (A24) and _u_ <sup>_k_</sup> _P_ <sup>+1</sup> where _u_ ˜ <sup>_k_</sup> _I_ <sup>+1</sup> takes care of the inhomogeneities in (A24) and _u_ <sup>_k_</sup> _P_ <sup>+1</sup> ensures that the mean velocity condition is satisfied. _k_ as λ ˜ More concretely, we again define λ <sup>˜</sup> _k_ _k_ = λ _k_ - λ0 and find _u_ ˜ _I_ from _<u>I</u>_ _r_ <sup>_d_</sup> <sup>2</sup> <sup>_u_</sup> <sup>˜</sup> <sup>_k_</sup> <sup>+1</sup> <sup><u>d</u></sup> d <sup>_<u>q</u>_</sup> ˜ _y_ <sup>_k_</sup> <sup>−</sup> <sup><u>d</u></sup> d <sup>λ</sup> <sup>˜</sup> ˜ _y_ _k(_ ˜ _y)_ - _r_ _q_ _k(_ 0 _)_ + ˜ λ <sup>_k_</sup> _<u>I</u>_ <sup>+1</sup> = _r_ _q_ <sup>_k_</sup> _(_ ˜ _y)_ - λ <sup>˜</sup> d ˜ _y_ _<u>I</u>_ d <sup>_u_</sup> <sup>˜</sup> ˜ _y_ <sup>_k_</sup> <sup>2+1</sup> = _r_ <sup><u>d</u></sup> d <sup>_<u>q</u>_</sup> ˜ _y_ <sup>_k_</sup> _k_ <sup><u>d</u></sup> d <sup>λ</sup> <sup>˜</sup> ˜ _y_ ⇒ _r_ <sup>d</sup> <sup>˜</sup> <sup>_u_</sup> d <sup>_k_</sup> _<u>I</u>_ ˜ _y_ <sup>+1</sup> _k_ _k(_ 0 _)._ (A26) _F. Bararpour and I.A. Frigaard_ This is integrated from the wall, where _u_ ˜ <sup>_k_</sup> _I_ <sup>+1</sup> This is integrated from the wall, where _u_ ˜ <sup>_k_</sup> _I_ <sup>+1</sup> _(_ 1 _)_ = 0. We now average over [0 _,_ 1] to give _u_ ¯˜ _kI_ +1. Therefore, we must select _u_ <sup>_k_</sup> _P_ <sup>+1</sup> in order that _k_ +1 <sup>_k_</sup> _P_ <sup>+1</sup> in order that _kI_ +1. Therefore, we must select _u_ <sup>_k_</sup> _P_ <sup>+1</sup> _k_ +1 _I_ _._ (A27) _k_ +1 _u_ ¯ <sup>_k_</sup> _P_ <sup>+1</sup> = _u_ ¯ <sup>∗</sup> - _u_ <sup>¯</sup> ˜ _kI_ <sup>_k_</sup> _P_ <sup>+1</sup> = _u_ ¯ <sup>∗</sup> - _u_ <sup>¯</sup> ˜ _kI_ This is accomplished by taking _u_ ¯ <sup>_k_</sup> _P_ <sup>+1</sup> = _(αφu P,_ 0 _,φ, αξ_ _u P,_ 0 _,ξ_ _)_, where _,_ _αξ_ = _,_ (A28) (A29) _αφ_ = _u_ ¯ <sup>∗</sup> _<u>φ</u>_ <sup>∗</sup> _<u>φ</u>_ <sup>−¯˜</sup> <sup>_uk_</sup> _<u>I,φ</u>_ <sup>+1</sup> _<u>I,φ</u>_ _u_ ¯ _P,_ 0 _,φ_ _u_ ¯ <sup>∗</sup> _<u>ξ</u>_ <sup>∗</sup> _<u>ξ</u>_ <sup>−¯˜</sup> <sup>_uk_</sup> _<u>I,ξ</u>_ <sup>+1</sup> _<u>I,ξ</u>_ _u_ ¯ _P,_ 0 _,ξ_ _G_ <sup>˜</sup> _k_ +1 = _(αφ, αξ_ _)_ . The optimality conditions for _q_ <sup>_k_</sup> <sup>+1</sup> are again and _G_ <sup>˜</sup> where _κ_ ˜ _j_ _θ_ <sup>_n j_</sup> | _m_ | <sup>_n j_</sup> + _r_ _θ_ | _m_ | = | _m_ | − τ _Y, j_ _,_ _q_ <sup>_k_</sup> <sup>+1</sup> = ⎧ ⎪⎨ ⎪⎩ 0 _,_ | _m_ | ⩽ τ _Y, j_ _,_ _θ_ _m_ _,_ | _m_ | _>_ τ _Y, j_ _._ where _m_ = λ + λ <sup>˜</sup> _k_ + _r_ _(_ d ˜ _u_ _k_ +1 _/_ d _y)_ and _j_ = 1 _,_ 2 according to which fluid layer we solve in. Note that the pressure gradient _G_ <sup>˜</sup> _k_ +1 now comes into this via _u_ ¯ _kP_ +1 whereas buoyancy is where _m_ = λ + λ <sup>˜</sup> _k_ +1 now comes into this via _u_ ¯ _kP_ +1 Note that the pressure gradient _G_ <sup>˜</sup> _k_ +1 now comes into this via _u_ ¯ _kP_ +1 whereas buoyancy is represented via λ0. Finally, we update λ <sup>˜</sup> : _._ (A30) _k_ +1 = ˜ λ <u>d</u> ˜ _<u>u</u>_ <sup>_k_</sup> <sup>+1</sup> - _q_ <sup>_k_</sup> <sup>+1</sup> d _y_ λ ˜ _k_ + _ρ_ The overall iteration is thus quite similar to the fixed pressure gradient problem. A.2.3. _Discretisation and illustrations of convergence_ We discretise the equations using a finite difference discretisation with a staggered regular rectangular mesh, i.e. we divide the width of the channel into approximately _Ny_ mesh points with ≈ _Ny(_ 1 −¯ _c)_ for the displaced fluid and ≈ _Ny_ ¯ _c_ for the displacing fluid. We define the discretised function _u_ ˜ <sup>_k_</sup> at the cell edges and λ <sup>_k_</sup> _,_ _q_ <sup>_k_</sup>, _c_ ¯ at the cell centre. This definition is useful for calculating the gradients arising in the equations (for both fixed _G_ and _u_ ¯ closures). We use a simple bisection method for calculating _q_ <sup>_k_</sup> <sup>+1</sup> and the constant numerical parameters of the Uzawa algorithm ( _ρ_, _r_ ) are fixed at _ρ_ = 1, _r_ = 1 that satisfies the convergence condition: √ _ρ <_ <sup><u>1 +</u></sup> <u>5</u> _r_ (A31) 2 (Fortin & Glowinski 2000). We then monitor the norms, || ˜ _u_ <sup>_k_</sup> <sup>+1</sup> - _u_ ˜ <sup>_k_</sup> || _p_, || ˜ _q_ <sup>_k_</sup> <sup>+1</sup> - _q_ ˜ <sup>_k_</sup> || _p_ and ||λ <sup>˜</sup> _k_ || _p_, iterating until a desired tolerance value is achieved. Here || _._ || _p_ corresponds to the _p_ norm of the variables, with _p_ = 1 + min{ _n_ 1 _, n_ 2}. Figures 18 and 19 illustrate the convergence of the algorithm. For two identical fluids, from figure 18( _a_ - _c_ ), it can be seen that increasing the power-law index ( _n_ ) improves the convergence as does reducing the yield stress, i.e. the Newtonian flow converges fastest. In figure 19 the impact of the buoyancy number ( _b_ ) and the viscosity ratio ( _m_ ) on the convergence is explored. For the isodense flows, the convergence rate increases when the _Journal of Fluid Mechanics_ ( _a_ ) ( _b_ ) 10 <sup>2</sup> 10 <sup>0</sup> 10 <sup>–2</sup> 10 <sup>–4</sup> 10 <sup>–6</sup> 10 <sup>–8</sup> 10 <sup>2</sup> Newtonian fluids Shear-thinning fluids, _n_ = [0.8 0.8] Shear-thinning fluids, _n_ = [0.6 0.6] Shear-thinning fluids, _n_ = [0.4 0.4] Shear-thinning fluids, _n_ = [0.2 0.2] Herschel–Bulkley fluids, _n_ = [0.5 0.5], _τy_ = [0.1 0.1] Herschel–Bulkley fluids, _n_ = [0.5 0.5], _τy_ = [0.5 0.5] Herschel–Bulkley fluids, _n_ = [0.5 0.5], _τy_ = [0.9 0.9] 10 <sup>0</sup> 10 <sup>–2</sup> 10 <sup>–4</sup> 10 <sup>–6</sup> 10 <sup>–8</sup> Newtonian fluids Shear-thinning fluids, _n_ = [0.8 0.8] Shear-thinning fluids, _n_ = [0.6 0.6] Shear-thinning fluids, _n_ = [0.4 0.4] Shear-thinning fluids, _n_ = [0.2 0.2] Herschel–Bulkley fluids, _n_ = [0.5 0.5], _τy_ = [0.1 0.1] Herschel–Bulkley fluids _, n_ = [0.5 0.5], _τy_ = [0.5 0.5] Herschel–Bulkley fluids, _n_ = [0.5 0.5], _τy_ = [0.9 0.9] 10 <sup>–10</sup> 0 50 100 150 200 250 300 Number of iterations ( _k_ ) 10 <sup>–10</sup> 0 50 100 150 200 250 300 Number of iterations ( _k_ ) ( _c_ ) 10 <sup>2</sup> 10 <sup>0</sup> 10 <sup>–2</sup> 10 <sup>–4</sup> 10 <sup>–6</sup> 10 <sup>–8</sup> Newtonian fluids Shear-thinning fluids, _n_ = [0.8 0.8] Shear-thinning fluids, _n_ = [0.6 0.6] Shear-thinning fluids, _n_ = [0.4 0.4] Shear-thinning fluids, _n_ = [0.2 0.2] Herschel–Bulkley fluids, _n_ = [0.5 0.5], _τy_ = [0.1 0.1] Herschel–Bulkley fluids, _n_ = [0.5 0.5], _τy_ = [0.5 0.5] Herschel–Bulkley fluids, _n_ = [0.5 0.5], _τy_ = [0.9 0.9] 10 <sup>–10</sup> 0 100 200 300 Number of iterations ( _k_ ) Figure 18. The norms of _u_ ˜ _,_ _q_ ˜ _,_ and λ <sup>˜</sup> are plotted against the number of iterations ( _k_ ) for Newtonian, shearthinning and Herschel–Bulkley fluids for isodense flows ( _b_ = 0) at _κ_ 1 = _κ_ 2 = 1. Here, _c_ ¯ = 0 _._ 5 and the mesh size is set to _NY_ = 100. The broken blue line plotted in ( _a_ ) represents the stopping tolerance for these computations. displaced fluid is more viscous than the displacing fluid; see figure 19( _a_ ). The convergence also improves when the density of the displacing fluid becomes higher than the displaced fluid, as shown in figure 19( _b_ ). Comparing figure 19( _c_ ) with figure 19( _b_ ), the negative _b_ slows convergence, where buoyancy has a destabilising effect on the flow. The other physical parameter that has an impact on the convergence rate is the initial guess for _G_ <sup>˜</sup> and _q_ ˜ . There can also be sensitivity to the numerical parameters ( _ρ_, _r_ ), which we have not explored. In choosing a tolerance, our integration method is second order in the mesh size 1 _/Ny_, so tolerances much smaller than 1 _/Ny_ <sup>2</sup> <sup>do</sup> <sup>not</sup> <sup>improve</sup> <sup>the</sup> <sup>physical</sup> <sup>representation.</sup> <sup>Even</sup> though the iterations here are relatively fast, if one is considering using this solution method to calculate the D2DGA closure expressions as part of the (no doubt iterative) solution of an evolution problem for the streamfunction and concentration(s) in a long _F. Bararpour and I.A. Frigaard_ ( _a_ ) 10 <sup>2</sup> 10 <sup>0</sup> 10 <sup>–2</sup> 10 <sup>–4</sup> 10 <sup>–6</sup> 10 <sup>–8</sup> 10 <sup>2</sup> ( _b_ ) Newtonian fluids, _m_ = 1 Newtonian fluids, _m_ = 1, _b_ = 0 Shear-thinning fluids, _n_ = [0.4 0.4], _m_ = 1 Shear-thinning fluids, _n_ = [0.4 0.4], _m_ = 1, _b_ = 0 Herschel–Bulkley fluids, _n_ = [0.5 0.5], _τy_ = [0.5 0.5], _m_ = 1 Herschel–Bulkley fluids, _n_ = [0.5 0.5], _τy_ = [0.5 0.5], _m_ = 1, _b_ = 0 Shear-thinning fluids, _n_ = [0.6 0.4], _m_ = 1 Shear-thinning fluids, _n_ = [0.6 0.4], _m_ = 5 10 <sup>0</sup> Shear-thinning fluids, _n_ = [0.6 0.4], _m_ = 1, _b_ = 15 Shear-thinning fluids, _n_ = [0.6 0.4], _m_ = 5, _b_ = 15 Herschel–Bulkley fluids, _n_ = [0.6 0.4], _τy_ = [0.9 0.5], _m_ = 5, _b_ = 15 Shear-thinning fluids, _n_ = [0.6 0.4], _m_ = 0.2, _b_ = 15 Shear-thinning fluids,Herschel–Bulkley fluids, _n_ = [0.6 0.4], _n_ = [0.6 0.4], _m_ = 0.2 _τy_ = [0.9 0.5], _m_ = 5 10 <sup>0</sup> Shear-thinning fluids,Herschel–Bulkley fluids, _n_ = [0.6 0.4], _n_ = [0.6 0.4], _m_ = 0.2, _τy_ = [0.9 0.5], _b_ = 15 _m_ = 5, _b_ = 15 Herschel–Bulkley fluids, _n_ = [0.6 0.4], _τy_ = [0.9 0.5], _m_ = 0.2 Herschel–Bulkley fluids, _n_ = [0.6 0.4], _τy_ = [0.9 0.5], _m_ = 0.2, _b_ = 15 Herschel–Bulkley fluids, _n_ = [0.6 0.4], _τy_ = [0.9 0.5], _m_ = 0.2 10 <sup>–10</sup> 0 50 100 150 200 250 300 Number of iterations ( _k_ ) 10 <sup>–2</sup> 10 <sup>–4</sup> 10 <sup>–6</sup> 10 <sup>–8</sup> 10 <sup>–10</sup> 0 50 100 150 200 250 300 Number of iterations ( _k_ ) ( _c_ ) 10 <sup>2</sup> 10 <sup>0</sup> 10 <sup>–2</sup> 10 <sup>–4</sup> 10 <sup>–6</sup> 10 <sup>–8</sup> Newtonian fluids, _m_ = 1, _b_ = 0 Shear-thinning fluids, _n_ = [0.4 0.4], _m_ = 1, _b_ = 0 Herschel–Bulkley fluids, _n_ = [0.5 0.5], _τy_ = [0.5 0.5], _m_ = 1, _b_ = 0 Shear-thinning fluids, _n_ = [0.6 0.4], _m_ = 1, _b_ = –15 Shear-thinning fluids, _n_ = [0.6 0.4], _m_ = 5, _b_ = –15 Herschel–Bulkley fluids, _n_ = [0.6 0.4], _τy_ = [0.9 0.5], _m_ = 5, _b_ = –15 Shear-thinning fluids, _n_ = [0.6 0.4], _m_ = 0.2, _b_ = –15 Herschel–Bulkley fluids, _n_ = [0.6 0.4], _τy_ = [0.9 0.5], _m_ = 0.2, _b_ = –15 10 <sup>–10</sup> 0 50 100 150 200 250 300 Number of iterations ( _k_ ) Figure 19. The norm of _u_ ˜ is plotted against the number of iterations ( _k_ ) for Newtonian, shear-thinning and Herschel–Bulkley fluids at ( _a_ ) _b_ = 0 (isodensity), ( _b_ ) _b_ = 15 (displacing fluid heavier than displaced) and ( _c_ ) _b_ = −15 (displaced fluid heavier than displacing). Here, _c_ ¯ = 0 _._ 5 and the mesh size is set to _NY_ = 100. The black lines represent the tolerance of this computation. wellbore domain, it is not feasible. Instead, it is advisable to pre-compute the closure expressions needed for a full range of reduced rheological parameters and over restricted ranges of _b_, _G_ <sup>˜</sup>, etc. A.3. _Examples of axial velocity profiles_ Figure 20 illustrates various axial velocity profiles ( _w(y)_ ) obtained using the fixed average velocity closure, i.e. the pressure gradient is found with the student. Note that in figure 20( _a_ - _e_ ) the modified pressure gradient is higher than the buoyancy number ( _Gξ_ _> b_ ), and accordingly, fluids are pushed upwards (in the positive direction). Flow reversal is displayed in figure 20( _f_ ) under the condition of _b <_ 0, where the displaced fluid is denser than the displacing fluid. _Journal of Fluid Mechanics_ ( _a_ ) ( _b_ ) ( _c_ ) ( _d_ ) ( _e_ ) ( _f_ ) _b_ = 0 _b_ = 0.154 _b_ = –2.68 2.5 _yi_ = 0.5 2.5 2.0 1.5 1.0 0.5 0 –0.5 –1.0 2.0 1.5 1.0 0.5 _yi_ = 0.5 _yi_ = 0.5 _yi_ = 0.5 _yi_ = 0.5 0 0.5 1.0 _y_ _yi_ = 0.5 Figure 20. Newtonian fluid flows at _κ_ 1 = _κ_ 2 = 1 ( _a_ ), viscoplastic fluid flows with _n_ 1 = _n_ 2 = 0 _._ 5 at ( _b_ ) _τY,_ 1 = 0 _,_ _τY,_ 2 = 0 _._ 89 _,_ _κ_ 1 = _κ_ 2 = 0 _._ 105, ( _c_ ) _τY,_ 1 = 0 _._ 123 _,_ _τY,_ 2 = 0 _._ 98 _,_ _κ_ 1 = _κ_ 2 = 0 _._ 014, ( _d_ ) _τY,_ 1 = 0 _._ 77 _,_ _τY,_ 2 = 0 _._ 038 _,_ _κ_ 1 = _κ_ 2 = 0 _._ 227, ( _e_ ) _τY,_ 1 = 0 _._ 98 _,_ _τY,_ 2 = 0 _._ 123 _,_ _κ_ 1 = _κ_ 2 = 0 _._ 014, ( _f_ ) _τY,_ 1 = 0 _,_ _τY,_ 2 = 0 _._ 89 _,_ _κ_ 1 = _κ_ 2 = 0 _._ 105. REFERENCES ALLOUCHE, M., FRIGAARD, I.A. & SONA, G. 2000 Static wall layers in the displacement of two visco-plastic fluids in a plane channel. _J. Fluid Mech._ 424, 243–277. ARIS, R. 1956 On the dispersion of a solute in a fluid flowing through a tube. _Proc._ _R._ _Soc._ _Lond._ _A_ _Math._ _Phys. Sci._ 235 (1200), 67–77. BAILLIE, J., RISK, D., ATHERTON, E., O’CONNELL, E., FOUGÈRE, C., BOURLON, E. & MACKAY, K. 2019 Methane emissions from conventional and unconventional oil and gas production sites in southeastern Saskatchewan, Canada. _Environ. Res. Commun._ 1 (1), 011003. BITTLESTON, S.H., FERGUSON, J. & FRIGAARD, I.A. 2002 Mud removal and cement placement during primary cementing of an oil well - Laminar non-Newtonian displacements in an eccentric annular HeleShaw cell. _J. Engng Maths_ 43, 229–253. BLUNT, M. & RUBIN, B. 1992 Implicit flux limiting schemes for petroleum reservoir simulation. _J. Comput._ _Phys._ 102 (1), 194–210. CARRASCO-TEJA, M. & FRIGAARD, I.A. 2009 Displacement flows in horizontal, narrow, eccentric annuli with a moving inner cylinder. _Phys. Fluids_ 21 (7), 073102. CARRASCO-TEJA, M. & FRIGAARD, I.A. 2010 Non-Newtonian fluid displacements in horizontal narrow eccentric annuli: effects of slow motion of the inner cylinder. _J. Fluid Mech._ 653, 137–173. CARRASCO-TEJA, M., FRIGAARD, I.A., SEYMOUR, B.R. & STOREY, S. 2008 Viscoplastic fluid displacements in horizontal narrow eccentric annuli: stratification and travelling wave solutions. _J._ _Fluid_ _Mech._ 605, 293–327. CHEN, C.-Y. & MEIBURG, E. 1996 Miscible displacements in capillary tubes. Part 2. Numerical simulations. _J. Fluid Mech._ 326, 57–90. FORTIN, M. & GLOWINSKI, R. 2000 _Augmented Lagrangian Methods: Applications to the Numerical Solution_ _of Boundary-Value Problems_ . Elsevier. FRIGAARD, I.A., LEIMGRUBER, S. & SCHERZER, O. 2003 Variational methods and maximal residual wall layers. _J. Fluid Mech._ 483, 37–65. _F. Bararpour and I.A. Frigaard_ GLOWINSKI, R. 2013 _Numerical Methods for Nonlinear Variational Problems_ . Springer Science & Business Media. GUILLOT, D., HENDRIKS, H., CALLET, F. & VIDICK, B. 1990 Mud removal. _Dev. Petrol. Sci._ 28, 5–1. GUILLOT, D.J., DESROCHES, J. & FRIGAARD, I.A. 2007 Are preflushes really contributing to mud displacement during primary cementing? In _SPE/IADC_ _Drilling_ _Conference_ _and_ _Exhibition_, pp. SPE– 105903. SPE. HOMSY, G., SCOFFONI, J. & LAJEUNESSE, ERIC 2001 Interface instabilities during displacements of two miscible fluids in a vertical pipe. _Phys. Fluids_ 13, 553–556. LAJEUNESSE, E., MARTIN, J., RAKOTOMALALA, N., SALIN, D. & YORTSOS, Y.C. 1999 Miscible displacement in a Hele-Shaw cell at high rates. _J. Fluid Mech._ 398, 299–319. LAVROV, A. & TORSÆTER, M. 2016 _Physics and Mechanics of Primary Well Cementing_ . Springer. MALEKI, A. & FRIGAARD, I.A. 2017 Primary cementing of oil and gas wells in turbulent and mixed regimes. _J. Engng Maths_ 107, 201–230. MALEKI, A. & FRIGAARD, I.A. 2018 Turbulent displacement flows in primary cementing of oil and gas wells. _Phys. Fluids_ 30 (12), 123101. MALEKMOHAMMADI, S., CARRASCO-TEJA, M., STOREY, S., FRIGAARD, I.A. & MARTINEZ, D.M. 2010 An experimental study of laminar displacement flows in narrow vertical eccentric annuli. _J._ _Fluid_ _Mech._ 649, 371–398. MCLEAN, R.H., MANRY, C.W. & WHITAKER, W.W. 1967 Displacement mechanics in primary cementing. _J. Petrol. Tech._ 19 (02), 251–260. MUSKAT, M. 1938 The flow of homogeneous fluids through porous media. _Soil Sci._ 46 (2), 169. NELSON, E.B. & GUILLOT, D. 2006 _Well Cementing_ . Schlumberger. PASCAL, H. 1984 Rheological behaviour effect of non-Newtonian fluids on dynamic of moving interface in porous media. _Intl J. Engng Sci._ 22 (3), 227–241. PELIPENKO, S. & FRIGAARD, I.A. 2004 _a_ On steady state displacements in primary cementing of an oil well. _J. Engng Maths_ 46 (1), 1–26. PELIPENKO, S. & FRIGAARD, I.A. 2004 _b_ Two-dimensional computational simulation of eccentric annular cementing displacements. _IMA J. Appl. Maths_ 69 (6), 557–583. PELIPENKO, S. & FRIGAARD, I.A. 2004 _c_ Visco-plastic fluid displacements in near-vertical narrow eccentric annuli: prediction of travelling-wave solutions and interfacial instability. _J. Fluid Mech._ 520, 343–377. PETITJEANS, P. & MAXWORTHY, T. 1996 Miscible displacements in capillary tubes. Part 1. Experiments. _J. Fluid Mech._ 326, 37–56. RENTERIA, A. & FRIGAARD, I.A. 2020 Primary cementing of horizontal wells. Displacement flows in eccentric horizontal annuli. Part 1. Experiments. _J. Fluid Mech._ 905, A7. SARMADI, P., RENTERIA, A. & FRIGAARD, I.A. 2021 Primary cementing of horizontal wells. Displacement flows in eccentric horizontal annuli. Part 2. Computations. _J. Fluid Mech._ 915, A83. TABELING, P., ZOCCHI, G. & LIBCHABER, A. 1987 An experimental study of the Saffman–Taylor instability. _J. Fluid Mech._ 177, 67–82. TAGHAVI, S.M., SEON, T., MARTINEZ, D.M. & FRIGAARD, I.A. 2009 Buoyancy-dominated displacement flows in near-horizontal channels: the viscous limit. _J. Fluid Mech._ 639, 1–35. TAYLOR, G.I. 1953 Dispersion of soluble matter in solvent flowing slowly through a tube. _Proc. R. Soc. Lond._ _A Math. Phys. Sci._ 219 (1137), 186–203. TRUDEL, E., BIZHANI, M., ZARE, M. & FRIGAARD, I.A. 2019 Plug and abandonment practices and trends: a British Columbia perspective. _J. Petrol. Sci. Engng_ 183, 106417. TRUDEL, E. & FRIGAARD, I.A. 2023 Stochastic modelling of wellbore leakage in British Columbia. _J. Petrol._ _Sci. Engng_ 220, 111199. WHITHAM, G.B. 1974 _Linear and Nonlinear Waves_ . John Wiley & Sons. YANG, Z. & YORTSOS, Y.C. 1997 Asymptotic solutions of miscible displacements in geometries of large aspect ratio. _Phys. Fluids_ 9 (2), 286–298. ZARE, M., ROUSTAEI, A. & FRIGAARD, I.A. 2017 Buoyancy effects on micro-annulus formation: density stable displacement of Newtonian–Bingham fluids. _J. Non-Newtonian Fluid Mech._ 247, 22–40. ZHANG, R. & FRIGAARD, I.A. 2022 Primary cementing of vertical wells: displacement and dispersion effects in narrow eccentric annuli. _J. Fluid Mech._ 947, A32. ZHANG, R. & FRIGAARD, I.A. 2023 Primary cementing of vertical wells: displacement and dispersion effects in narrow eccentric annuli. Part 2. Flow behaviour and classification. _J. Fluid Mech._ 972, A38.

섹션 본문

섹션 본문이 없습니다.

참고문헌 33건

  1. (제목 없음) Journal of Engineering Mathematics · Springer Science+Business Media · 2002 10.1023/a:1020370417367
  2. The Flow of Homogeneous Fluids Through Porous Media Soil Science · Lippincott Williams & Wilkins · 1938 10.1097/00010694-193808000-00008
  3. Mud removal and cement placement during primary cementing of an oil well – Part 2; steady-state displacements Journal of Engineering Mathematics · Springer Science+Business Media · 2003 10.1023/b:engi.0000009499.63859.f0
  4. Are Preflushes Really Contributing to Mud Displacement During Primary Cementing? All Days · 2007 10.2118/105903-ms
  5. Implicit flux limiting schemes for petroleum reservoir simulation Journal of Computational Physics · Elsevier BV · 1992 10.1016/s0021-9991(05)80015-4
  6. Interface instabilities during displacements of two miscible fluids in a vertical pipe Physics of Fluids · American Institute of Physics · 2001 10.1063/1.1343907
  7. Rheological behaviour effect of non-newtonian fluids on dynamic of moving interface in porous media International Journal of Engineering Science · Elsevier BV · 1984 10.1016/0020-7225(84)90003-x
  8. Visco-plastic fluid displacements in near-vertical narrow eccentric annuli: prediction of travelling-wave solutions and interfacial instability Journal of Fluid Mechanics · Cambridge University Press · 2004 10.1017/s0022112004001752
  9. Asymptotic solutions of miscible displacements in geometries of large aspect ratio Physics of Fluids · American Institute of Physics · 1997 10.1063/1.869149
  10. Displacement Mechanics in Primary Cementing Journal of Petroleum Technology · Society of Petroleum Engineers · 1967 10.2118/1488-pa
  11. Miscible displacements in capillary tubes. Part 2. Numerical simulations Journal of Fluid Mechanics · Cambridge University Press · 1996 10.1017/s0022112096008245
  12. An experimental study of the Saffman-Taylor instability Journal of Fluid Mechanics · Cambridge University Press · 1987 10.1017/s0022112087000867
  13. Miscible displacements in capillary tubes. Part 1. Experiments Journal of Fluid Mechanics · Cambridge University Press · 1996 10.1017/s0022112096008233
  14. Miscible displacement in a Hele-Shaw cell at high rates Journal of Fluid Mechanics · Cambridge University Press · 1999 10.1017/s0022112099006357
  15. Displacement flows in horizontal, narrow, eccentric annuli with a moving inner cylinder Physics of Fluids · American Institute of Physics · 2009 10.1063/1.3193712
  16. Viscoplastic fluid displacements in horizontal narrow eccentric annuli: stratification and travelling wave solutions Journal of Fluid Mechanics · Cambridge University Press · 2008 10.1017/s0022112008001535
  17. Buoyancy-dominated displacement flows in near-horizontal channels: the viscous limit Journal of Fluid Mechanics · Cambridge University Press · 2009 10.1017/s0022112009990620
  18. Static wall layers in the displacement of two visco-plastic fluids in a plane channel Journal of Fluid Mechanics · Cambridge University Press · 2000 10.1017/s0022112000001956
  19. Two-dimensional computational simulation of eccentric annular cementing displacements IMA Journal of Applied Mathematics · Oxford University Press · 2004 10.1093/imamat/69.6.557
  20. Variational methods and maximal residual wall layers Journal of Fluid Mechanics · Cambridge University Press · 2003 10.1017/s0022112003004105
  21. An experimental study of laminar displacement flows in narrow vertical eccentric annuli Journal of Fluid Mechanics · Cambridge University Press · 2010 10.1017/s0022112009993508
  22. Non-Newtonian fluid displacements in horizontal narrow eccentric annuli: effects of slow motion of the inner cylinder Journal of Fluid Mechanics · Cambridge University Press · 2010 10.1017/s0022112010000212
  23. Physics and Mechanics of Primary Well Cementing SpringerBriefs in petroleum geoscience & engineering · Springer International Publishing · 2016 10.1007/978-3-319-43165-9
  24. Buoyancy effects on micro-annulus formation: Density stable displacement of Newtonian–Bingham fluids Journal of Non-Newtonian Fluid Mechanics · Elsevier BV · 2017 10.1016/j.jnnfm.2017.06.002
  25. Primary cementing of oil and gas wells in turbulent and mixed regimes Journal of Engineering Mathematics · Springer Science+Business Media · 2017 10.1007/s10665-017-9914-x
  26. Turbulent displacement flows in primary cementing of oil and gas wells Physics of Fluids · American Institute of Physics · 2018 10.1063/1.5056169
  27. Methane emissions from conventional and unconventional oil and gas production sites in southeastern Saskatchewan, Canada Environmental Research Communications · IOP Publishing · 2019 10.1088/2515-7620/ab01f2
  28. Plug and abandonment practices and trends: A British Columbia perspective Journal of Petroleum Science and Engineering · Elsevier BV · 2019 10.1016/j.petrol.2019.106417
  29. Primary cementing of horizontal wells. Displacement flows in eccentric horizontal annuli. Part 1. Experiments Journal of Fluid Mechanics · Cambridge University Press · 2020 10.1017/jfm.2020.713
  30. Primary cementing of horizontal wells. Displacement flows in eccentric horizontal annuli. Part 2. Computations Journal of Fluid Mechanics · Cambridge University Press · 2021 10.1017/jfm.2021.158
  31. Primary cementing of vertical wells: displacement and dispersion effects in narrow eccentric annuli Journal of Fluid Mechanics · Cambridge University Press · 2022 10.1017/jfm.2022.626
  32. Stochastic modelling of wellbore leakage in British Columbia Journal of Petroleum Science and Engineering · Elsevier BV · 2022 10.1016/j.petrol.2022.111199
  33. Primary cementing of vertical wells: displacement and dispersion effects in narrow eccentric annuli. Part 2. Flow behaviour and classification Journal of Fluid Mechanics · Cambridge University Press · 2023 10.1017/jfm.2023.697