Abstract
Background
Models based on the Helmholtz `slip' approximation are often used for the simulation of electroosmotic flows. The objectives of this paper are to construct adjoint-consistent formulations of such models, and to develop adjoint-based numerical tools for adaptive mesh refinement and parameter sensitivity analysis.
Methods
We show that the direct formulation of the `slip' model is adjoint inconsistent, and leads to an ill-posed adjoint problem. We propose a modified formulation of the coupled `slip' model, which is shown to be well-posed, and therefore automatically adjoint-consistent.
Results
Numerical examples are presented to illustrate the computation and use of the adjoint solution in two-dimensional microfluidics problems.
Conclusions
An adjoint-consistent formulation for Helmholtz `slip' models of electroosmotic flows has been proposed. This formulation provides adjoint solutions that can be reliably used for mesh refinement and sensitivity analysis.
Similar content being viewed by others
Background
Introduction
Emerging micro- and nano-electromechanical systems (MEMS/NEMS) have a growing number of applications, ranging from lab-on-a-chip DNA analysis to micro-actuators [1]. By scaling down processes, these systems offer savings in space, cost, and energy for scientific and technological advancement [2]. However, the high manufacturing costs and complex architectures of these systems necessitate the use of numerical simulation tools for optimal design and precise control of their operation [3]. Microfluidic devices operate over various length scales and are best described using multiphysics modeling that involves hydrodynamics, electroosmosis, and chemical species transport models. The development of accurate and efficient computational simulators of these devices is therefore challenging and resource intensive.
Numerical simulations of such complex engineering systems are typically targeted towards the calculation of specific Quantities of Interest (QoI) associated with the systems. Accurate estimation of local QoIs can be achieved using goal-oriented error estimation and adaptive techniques based on the use of adjoint methods [4],[5]. Adjoint methods can also be used to improve the computational performance of parameter sensitivity analyses [6], especially for systems with a large number of parameters. However, the application of adjoint methods to such coupled flow systems is an open area of study.
The objective of the current research work is to apply an adjoint-based Adaptive Finite Element Method (AFEM) to microfluidics problems for mesh refinement and parameter sensitivity analysis. There has been a growing interest in the modeling and numerical simulation of microfluidic systems [7]-[12]. A key issue that one faces while modeling and simulating microfluidic systems is the application of `slip' boundary conditions. Prachittham et al. [13] presented a space-time adaptive finite element method applied to an electroosmotic flow using large aspect ratio elements. However, their work did not consider adjoint techniques and did not use the `slip' boundary coupling condition. On the other hand, van Brummelen et al. [14] and Estep et al. [15] have shown the importance of the treatment of boundary flux coupling for the use of adjoint-based techniques. To our best knowledge, no advances in the application of adjoint-based techniques to microfluidics applications, particularly those involving `slip' boundary coupling, have yet been published in the literature.
In this work, we investigate coupled systems arising in electroosmotic flow (EOF). We show that a naive formulation of the `slip' model leads to an ill-posed adjoint problem and adjoint inconsistency [14]. We provide numerical evidence that the corresponding adjoint solution exhibits spurious oscillations on a simple example dealing with a straight channel flow. Accordingly, we propose a modified variational formulation of the `slip' model, for which the adjoint problem is well-posed and can be computed and used in adaptive mesh refinement and parameter sensitivity analysis.
The paper is organized as follows: Section "Microfluidics modeling" describes the `slip' electroosmotic flow (EOF) model, with a brief discussion of the relevant physics and the applicability of such a model. Then, a variational formulation for a modified version of the `slip' model is presented and its adjoint is derived in Section "Variational formulation of the slip BC EOF model". An analysis of the ill-posed adjoint problem for the naive formulation is presented in Section "Ill-posedness of the adjoint problem for the naive formulation". Next, a variational formulation using penalty boundary conditions (henceforth called the penalty formulation) is proposed in Section "Penalty formulation of the slip BC EOF model". This new formulation is also employed to derive the corresponding adjoint problem and it is shown that the adjoint problem thus obtained is asymptotically consistent with the one derived in Section "Variational formulation of the slip BC EOF model". Numerical experiments are presented in Section "Results and discussion" that support the fact that the adjoint problem obtained using the penalty formulation is well-posed and that the adjoint solution is free of spurious artifacts. The adjoint obtained using the penalty formulation is used for goal-oriented adaptive mesh refinement and sensitivity analyses for a T-channel problem. Section "Conclusions" provides some concluding remarks, followed by a discussion of further work and future applications related to this class of coupled flow models. Finally, the appendix elaborates on the well-posedness of the modified formulation and presents relevant theoretical developments.
Microfluidics modeling
Microfluidics is the branch of fluid mechanics concerned with the understanding, modeling, and control of flows that occur on the micron scale, i.e. where the characteristic length (L) is of the order 10−6 m. Squires and Quake [16], and later Whitesides [17], have presented reviews of the physics and applications of microfluidics. Prominent among them are microflows driven by applied electric fields, through electroosmosis, electrophoresis, or both. In this paper, we consider electroosmotic flow devices, which find wide use in commercial and industrial applications [8],[18]. These devices utilize the properties of the electric double layer (also called the Debye layer) to drive a bulk fluid flow. More detailed descriptions of the electric double layer and electroosmotically driven microfluidic devices can be found in the microfluidics literature [1],[19],[20].
Consider a rectangular open domain , with d = 2, and boundary ∂ Ω. The boundary ∂ Ω is composed of the channel wall Γ w and its inlet/outlet Γ io , such that . For simplicity, we consider a single species flow through the channel. The one-way coupled, steady-state EOF in a straight rectangular channel can be modeled with the following system of equations,
where Ψ is the non-dimensional electric potential associated with the double layer, K is a non-dimensional constant, called the Debye-Huckel parameter, φ is the applied potential, σ c is the fluid conductivity, and u and p are the flow velocity and pressure, respectively. The charge density is given by ρ e =−2z v n ∞ e sinh(Ψ) and μ is the viscosity of the fluid. The parameters that the charge density depends on are the ion valence z v , electron charge e, and the bulk concentration of ions n ∞ . The above equations are supplemented with the boundary conditions,
where Ψ0 is the electric zeta potential on the walls Γ w of the channel, φ io is the external potential applied at the inlet and outlet of the channel Γ io , n is the unit outward normal vector to ∂ Ω, t is a unit tangential vector along ∂ Ω, and σ is the stress tensor:
The no-slip condition (Eq. (2e)) is applied at the channel walls for the flow velocity. The no-slip conditions, in combination with the body force term in Eq. (1c), which is significant only near the boundary, lead to sharp velocity boundary layer near the wall. This makes the system given by Eq. (1) and Eq. (2) multi-scale. Note that the last two boundary (Eq. (2f) and (2g)) conditions imply that the velocity is normal to Γ io and that the pressure vanishes on Γ io (this is in the case of planar boundaries, see [21]), i.e.
Eqs. 1 and (2) define the complete EOF model and constitute a challenging system of coupled multiscale equations. They are computationally expensive, especially for complex geometries, due to the presence of extremely sharp layers near the channel walls because of the electric double layer. Therefore, to reduce the complexity and the computational cost associated with the full model, the Helmholtz-Smoluchowski velocity approximation is introduced into the model. The approximation states that the body-force term in the Stokes equations can be replaced by an effective `slip velocity' on Γ w as,
where E denotes the applied electric field, and a new parameter λ=є Ψ0/μ has been introduced. Here, є is the permitivity (or dielectric constant) of the fluid medium. A detailed derivation of this approximation can be found in a standard reference [19]. The validity of this approximation has been verified for several examples through both experiments and numerical simulations [10].
The associated slip model of EOF can thus be written as:
complemented by the boundary conditions,
We see that the slip model spares one from solving the Poisson-Boltzmann equation, whose solution exhibits a thin layer near the wall. As a remark, the slip boundary approximation model given by Eq. (6) and (7) is widely used throughout the microfluidics research and development community for modeling and simulation [1]. The model is even included in the commercial Finite Element software package COMSOL Multiphysics [12].
The slip condition/coupling makes sense only in the direction tangent to the wall. In Eq. (7c), the no-flux boundary condition on the potential (Eq. (7a)) automatically enforces a no penetration boundary condition on the velocity. Thus, expressing the coupling condition as Eq. (5) is a matter of convenience from a notational standpoint. However, as shown in Section "Ill-posedness of the adjoint problem for the naive formulation", using Eq. (5) as such in the formulation of the coupled problem leads to an ill-posed adjoint problem. This ill-posedness will also be illustrated on numerical examples in Section "Results and discussion". We decouple one of the velocity components from the potential as follows,
where we have denoted the normal (∇φ•n) and tangential (∇φ•t) derivatives of φ by ∂ n φ and ∂ t φ, respectively. This coupling is equivalent to the one given by Eq. (7c). We now proceed to derive the weak formulation for Eq. (6) using the modified coupling given by Eq. (8).
Methods
Variational formulation of the slip BC EOF model
Variational formulation of primal problem
We derive here the weak formulation of the equations in Eq. (6) and then combine them to give the coupled problem. The potential φ satisfies,
We define C+(Ωs) as the space of continuous, strictly positive functions on Ω, and assume that the conductivity σ c ЄC+(Ω). This assumption allows us to simplify the analysis later on and can be easily relaxed. We now introduce the spaces of admissible trial and test functions:
We can use a lift function such that with φЄZ0. In this case, the weak form of the problem is given by:
We now consider the non-dimensionalized stationary Stokes equations (with μ=1) with slip boundaries,
We look for the velocity and pressure fields in the function spaces,
Eq. (14c) requires that Φ lie in the space H2(Ω). Note that if ∂ Ω is Lipschitz and convex, or C1-continuous, then the elliptic regularity theorem guarantees that Φ∈H2(Ω). However, to derive a well-posed adjoint problem for the slip EOF model, we need to enforce the coupling boundary conditions in a weak sense. In fact, if we enforce the condition in a weak sense, the curl theorem shows that it is sufficient to have Φ∈Z. Consider the function space ,
We have the following proposition.
Proposition 1.
Let Ω be Lipschitz. Further, let Φ∈Z, and . Define and
is well-posed, and
where c(Ω) is a positive constant that depends only on the domain Ω.
Proof.
Since the bilinear form b(g,w) is defined using the
Consider an H1(Ω) extension of the function w, denoted by
From Proposition 12 in (F.J. Sayas: Weak normal derivatives, normal and tangential traces, and tangential differential operators on Lipschitz boundaries, unpublished), we have,
Using the fact that the gradient of the curl is the zero vector, and the vector cross product identity, we have,
We then easily have the following bound on |f(w)|,
Therefore,
We can now define the operator ℓ:Z→X,
The bounded extension corollary B. 53, on page 488 in [22] implies that there is at least one possible lift for any given Φ. For the purposes of deriving the variational formulation, we can pick any admissible lift. It is trivial to show that the operator ℓ is linear. Proposition 1 further gives,
Therefore, ℓ is a bounded operator. Using this lift operator, we can write
Combining Eq. (13) and Eq. (24) together, we get the coupled variational statement:
where we emphasize that the integrals involving the lift velocity, which depend on the solution φ, will be part of the bilinear form for this coupled problem. We can recast the bilinear form above in more compact notation as,
where U = (φ,w,p) and V = (ψ,v,q).
We have thus incorporated the coupling condition within our bilinear form and can prove that the coupled problem (26) is well-posed. We refer the interested reader to Appendix A and proceed with the derivation of the corresponding adjoint problem.
Adjoint problem
Given the primal weak form Eq. (26), we have the corresponding weak form for the adjoint problem associated with the quantity of interest
where U∗ = (φ*,w*,p∗) is the adjoint solution and Q(U) is a linear functional that corresponds to the quantity of interest (QoI). The full weak form for the adjoint problem reads,
Note that the adjoint Stokes problem solution w* and p* are coupled to the adjoint potential φ* through the lift operator ℓ(.) acting on the test function ψ. The adjoint problem (28) is also well-posed, see Corollary 2 in Appendix A.
We recall that applying the forward coupling condition Eq. (14c) in a strong sense required that the forward potential φ∈H2(Ω). Correspondingly, to obtain a strong form corresponding to Eq (28), we require that the adjoint velocity w*∈[H2(Ω)]2 and the adjoint pressure p*∈H1(Ω). We also have the adjoint stress tensor,
Now integrating by parts we obtain,
The boundary term in the formulation of the adjoint problem becomes
where we have used integration by parts for the tangential derivative term along Γ w [23],
where
We can write Eq. (31) as,
The strong form of the adjoint system then reads:
with three boundary conditions on Γ io :
and three boundary conditions on Γ w :
We readily observe that the adjoint Stokes problem can be solved first, independently of the adjoint potential problem, but that the latter does depend on the former through the Neumann coupling condition Eq. (37a). We also note that this coupling condition involves the tangential derivatives of the adjoint stress tensor on the boundary.
Ill-posedness of the adjoint problem for the naive formulation
If both the normal and tangential coupling components are considered in the formulation of the primal problem, the corresponding adjoint boundary integrals (see Eq. (31)) would read,
The boundary conditions on Γ w for the strong form of the adjoint system would then read:
Thus the adjoint problem for the ill-posed primal problem contains four boundary conditions, despite there being only three variables. Therefore, the ill-posed primal problem leads to an adjoint inconsistent formulation, specifically in the boundary terms. Such an adjoint inconsistency can lead to oscillations in the discrete solutions of the adjoint problem [24].
Penalty formulation of the slip BC EOF model
Penalty formulation of the primal problem
The imposition of the boundary conditions for the primal and adjoint problems derived in the previous section can be extremely challenging, mainly due to the regularity requirements for the corresponding spaces in the interior and the difficulty of constructing appropriate Finite Element spaces. Therefore, we seek to impose the coupling constraint using a penalty method and relax the regularity requirements on the spaces containing the primal solution and the adjoint. The penalty method is an easy and robust approach for applying Dirichlet boundary conditions. See [25] and [26] for analysis of the method. As we shall see, the penalty method is a natural method for weak enforcement of the coupling. In addition, the penalty formulation gives us an adjoint that is asymptotically consistent with the one obtained using the lift technique. The variational formulation Eq. (25) with equivalent penalty boundary conditions can be given as:
As was done in Eq. (26), we can recast the bilinear form above in more compact notation as,
where U ∈ = (Φ ∈ ,u ∈ ,p ∈ ) and V = (Ψ,v,q). We now verify that the weak form in Eq. (39) is indeed consistent and converges to the BVP Eq. (9) and Eq. (14) in the limit as the penalty parameter ∈ tends to zero. Integrating Eq. (39) by parts, we obtain,
where σ ∈ is the stress tensor corresponding to the penalized solution,
The equivalent strong form for finite non-zero ∈ is,
with the boundary conditions on Γ io :
and the boundary conditions on Γ w :
One can observe that the penalty method replaces the Dirichlet boundary conditions with a Robin condition. However, upon taking the limit ∈→0 one formally recovers the original problems Eq. (9) and Eq. (14).
Adjoint problem associated with the penalty formulation
We now derive the adjoint problem corresponding to the weak form Eq. (39),
Using integration by parts for the term involving the tangential derivative along Γ w [23], i.e.
and upon integrating by parts the higher-order terms and combining integrals with same test functions, one obtains:
where
with the three boundary conditions on Γ io :
and the three boundary conditions on Γ w :
In the next section, we show that above problem is asymptotically consistent with the previous formulation of the adjoint problem, in the sense that we recover the adjoint corresponding to the strong problem, i.e. Eq. (35), Eq. (36), and Eq. (37) as ∈ tends to zero.
Consistency of the adjoint penalty problem
The main issue is to ensure that the adjoint solution
Consistency of the adjoint problems associated with the original and penalty formulations. The question here is whether the adjoint problem obtained from the penalty formulation converges to the adjoint problem derived from the original formulation in the limit when the penalty parameter ∈ tends to zero.
Recall that the non-penalized adjoint solution (Φ∗,u∗) for the problem of interest satisfies the following boundary conditions
while the penalized adjoint solution (
To formally interpret Eq. (53f), we can substitute Eq. (53d) into Eq. (53f) as follows,
We can thus derive the following boundary conditions for the adjoint potential
which are the same as those for the non-penalized adjoint in the limit ∈→0. Eq. 53d corresponds to a penalty representation of the tangential boundary flux. Further discussion of this representation is presented in [27]. We thus see that the penalized formulation of the electroosmotic flow problem is adjoint consistent in the limit as ∈→0, and the use of the discrete penalized adjoint solution