Abstract
In this article, we study theoretically and numerically the heat equation coupled with Darcy’s law by a nonlinear viscosity depending on the temperature. We establish existence of a solution by using a Galerkin method and we prove uniqueness. We propose and analyze two numerical schemes based on finite element methods. An optimal a priori error estimate is then derived for each numerical scheme. Numerical experiments are presented that confirm the theoretical accuracy of the discretization.
Similar content being viewed by others
Avoid common mistakes on your manuscript.
1 Introduction
Let \(\Omega \subset {\mathbb {R}}^d\), \(d\ge 2\), be a bounded simply-connected open domain, with a Lipschitz-continuous boundary \(\Gamma \). This work studies the temperature distribution of a fluid in a porous medium modelled by a convection–diffusion equation coupled with Darcy’s law. The system of equations is
where \(\mathbf{n}\) is the unit outward normal vector on \(\Gamma \). The unknowns are the velocity \(\mathbf{{u}}\), the pressure p and the temperature T of the fluid. The function \(\mathbf{f}\) represents an external density force and g an external heat source. The viscosity \(\nu \) depends on the temperature (Hooman and Gurgenci [14] or Rashad [17]) while the parameter \(\alpha \) is a positive constant that corresponds to the diffusion coefficient. To simplify, a homogeneous Dirichlet boundary condition is prescribed on the temperature T, but the present analysis easily extends to a non homogeneous boundary condition, see Remark 4.4 at the end.
We analyze the system (P) in arbitrary dimension \(d \ge 2\) by setting it in an equivalent variational formulation and reducing it to a single diffusion–convection equation for the temperature where the driving velocity depends implicitly on the temperature, see (2.20)–(2.21). Existence of a solution is derived without restriction on the data by Galerkin’s method and Brouwer’s Fixed Point. Global uniqueness is established when the solution is slightly smoother and the data are suitably restricted. We also introduce an alternative equivalent variational formulation. Both variational formulations in dimension \(d =2\) or \(d=3\) are discretized by finite element schemes in a polygonal or polyhedral domain. We derive existence, conditional uniqueness, convergence, and optimal a priori error estimates for the solutions of both schemes. Next, these schemes are linearized by suitable convergent successive approximation algorithms. Finally, we present some numerical experiments for a model problem that confirm the theoretical rates of convergence developed in this work.
The study of heat convection in a liquid medium whose motion is described by the Navier–Stokes equations coupled with the heat equation has been the object of many publications (see, for instance Bernardi et al. [4], Deteix et al. [9], or Gaultier and Lezaun [10]). A different coupling of Darcy’s system with the heat equation where the viscosity is constant but the exterior force depends on the temperature has been analyzed by Bernardi et al. [5] or Boussinesq [6] and discretized with a spectral method. A generalized Boussinesq system has been analyzed by Oyarzua et al. [16] and discretized by an exactly divergence-free scheme.
This article is organized as follows:
-
Section 2 is devoted to the continuous problem and the analysis of the corresponding variational formulation.
-
In Sect. 3, we introduce the discrete problems, recall their main properties, study their a priori errors and derive optimal estimates.
-
In Sect. 4, we introduce an iterative algorithm and prove its convergence.
-
Numerical results validating the numerical analysis are presented in Sect. 5.
2 Analysis of the model
2.1 Notation
Let \(\Omega \) be a bounded open domain of \({\mathbb {R}}^d\), \(d \ge 2\), with a Lipschitz-continuous boundary \(\Gamma \), and unit outward normal \(\mathbf{n}\). We denote by \({\mathcal D}(\Omega )\) the space of functions that have compact support in \(\Omega \) and have continuous derivatives of all orders in \(\Omega \). Let \(\alpha =(\alpha _1,\alpha _2,\ldots ,\alpha _d)\) be a d-uple of non negative integers, set \(|\alpha |=\sum _{i=1}^d \alpha _i\), and define the partial derivative \(\partial ^\alpha \) by
Then, for any positive integer m and number \(p\ge 1\), recall the classical Sobolev space (Adams [2] or Nevcas [15])
equipped with the seminorm
and the norm
When \(p=2\), this space is the Hilbert space \(H^m(\Omega )\). The definitions of these spaces are extended straightforwardly to vectors, with the same notation, but with the following modification for the norms in the non-Hilbert case. Let \(\mathbf{{v}}\) be a vector valued function; we set
where |.| denotes the Euclidean vector norm.
For vanishing boundary values, we define
We shall often use the following Sobolev imbeddings: for any real number \(p\ge 1\) when \(d=2\), or \(1 \le p \le \frac{2\,d}{d-2}\) when \(d\ge 3\), there exist constants \(S_p\) and \(S_p^0\) such that
and
When \(p=2\), (2.7) reduces to Poincaré’s inequality. We shall also use the following continuous imbedding:
Recall the standard spaces for Darcy’s equations
equipped with the norm
and also the space
Finally, we recall the inf-sup condition between \(L^2_m({\Omega })\) and \(H_0(\mathrm{div},{\Omega })\),
with a constant \(\beta >0\), and the inf-sup condition between \(H^1({\Omega })\cap L^2_m(\Omega )\) and \(L^2({\Omega })^d\),
The first one follows immediately by solving a Laplace equation in \({\Omega }\) with a Neumann boundary condition on \(\Gamma \), and the second by choosing \(\mathbf{{v}}= \nabla \,q\).
2.2 Variational formulation
Before setting (P) in variational form, let us make precise the assumptions on the function \(\nu \)
-
\(\nu \) is Lipschitz-continuous with Lipschitz constant \(\lambda \), i.e.,
$$\begin{aligned} \forall s,\,t \in {\mathbb {R}},\quad |\nu (s)-\nu (t)|\le \lambda |s-t|. \end{aligned}$$(2.16) -
\(\nu \) is bounded and there exist two positive constants \(\nu _1\) and \(\nu _2\) such that for any \(s \in {\mathbb {R}}\)
$$\begin{aligned} \nu _1\le \nu (s)\le \nu _2. \end{aligned}$$(2.17)
In many publications, the model used for the viscosity function \(\nu (\cdot )\) is not necessarily bounded over \({\mathbb {R}}\), but then the mathematical analysis of the problem is much more complex. However, since in practical situations, \(\nu (T)\) is neither infinite nor zero, we prefer to assume (2.17); this substantially simplifies the analysis. The other assumptions on the data are,
With these assumptions and data, there are two possible pairs of spaces for Darcy’s velocity and pressure \((\mathbf{{u}},p)\). The first pair is \(H_0(\mathrm{div},{\Omega })\times L^2_m({\Omega })\); it corresponds to a mixed formulation and is analyzed in this section. The second pair is \(L^2({\Omega })^d\times (H^1({\Omega })\cap L^2_m({\Omega }))\); it leads to the alternate formulation stated in Sect. 2.5. Its analysis is skipped because the two formulations are equivalent. In both cases, the space for the temperature T is \(H^1_0({\Omega })\). Then, whereas there is no difficulty in setting Darcy’s system in variational form, a variational formulation of the temperature equation is not that obvious. Indeed, the convection term \(\mathbf{{u}}\cdot \nabla \,T\) cannot be tested by an \(H^1\) function, since it is only in \(L^1({\Omega })\). Of course, it can be observed that the temperature equation implies necessarily that this product belongs to \(H^{-1}({\Omega })\), meaning in fact that T belongs to the weighted space
However, for the moment, it is simpler to set aside this space and choose instead the test functions in \(H^1_0({\Omega }) \cap L^\infty ({\Omega })\). Thus, we propose the following variational problem:
A straightforward argument shows that any triple of functions \((\mathbf{{u}},p,T)\) in \(H_0(\mathrm{div},\Omega )\times L^2_m(\Omega )\times H^1_0(\Omega )\) that solves the first three lines of problem (P) in the sense of distributions in \(\Omega \), and the last two lines in the sense of traces in \(H^{-1/2}(\Gamma )\) and \(H^{1/2}(\Gamma )\) respectively, is a solution of (V). Conversely, any solution \((\mathbf{{u}},p,T)\) of problem (V) solves problem (P) in the above sense.
Problem (V) can also be written as a function of the single unknown T. Indeed, for given T, the first two lines of (V) is a Darcy system that has a unique solution \((\mathbf{{u}},p)\); this is easily deduced from (2.17), the inf-sup condition (2.14), and (2.18). Thus \(\mathbf{{u}}\) and p are functions of T, \((\mathbf{{u}},p) = (\mathbf{{u}}(T), p(T))\), and problem (V) is equivalent to the following reduced formulation: Find T in \(H^1_0(\Omega )\), such that
where \(\mathbf{{u}}(T)\) is the velocity solution of: Find \((\mathbf{{u}}(T), p(T)) \in H_0(\mathrm{div},\Omega )\times L^2_m({\Omega })\), such that
By testing the first line of (2.21) with \(\mathbf{{v}}= \mathbf{{u}}(T)\) and using the second line, we immediately derive from (2.17) and (2.14) the a priori bounds,
These bounds imply the following continuity:
Lemma 2.1
Let \(\nu \) satisfy (2.16), (2.17) and \((T_k)_{k\ge 1}\) be a sequence of functions in \(L^2(\Omega )\) that converges strongly to T in \(L^2(\Omega )\). Then, the sequence \((\mathbf{{u}}(T_k), p(T_k))_{k\ge 1}\) converges weakly to \((\mathbf{{u}}(T), p(T))\) in \(H_0(\mathrm{div},\Omega )\times L^2_m({\Omega })\) and
Proof
The bounds (2.22) yield first the weak convergence (up to a subsequence) of \((\mathbf{{u}}(T_k), p(T_k))_{k\ge 1}\) in \(L^2({\Omega })^d \times L^2({\Omega })\) to some function \((\mathbf{{u}}, p)\), and next that \((\mathbf{{u}}, p)\) belong to \(H_0(\mathrm{div},\Omega )\times L^2_m({\Omega })\). For this last property, we note that the second equation in (2.21) holds for all q in \(L^2(\Omega )\). Then, arguing in the sense of distributions, we derive
Hence \(\mathrm{div}\,\mathbf{{u}}= 0\). Therefore \(\mathbf{{u}}\) belongs to \(H(\mathrm{div},{\Omega })\) and the continuity of the normal trace operator (see for instance [12]) implies that \(\mathbf{{u}}\cdot \mathbf{n}= 0\).
It follows from the strong convergence of \(T_k\) and the Lipschitz continuity of \(\nu \) that for any test function \(\mathbf{{v}}\), \(\nu (T_k) \mathbf{{v}}\) tends to \(\nu (T) \mathbf{{v}}\) almost everywhere in \(\Omega \). Then the boundedness of \(\nu \) and the Lebesgue dominated convergence imply that
Thus
hence \(\nu (T_k)\mathbf{{u}}(T_k)\) tends to \(\nu (T)\mathbf{{u}}\) weakly in \(L^2({\Omega })^d\).
This allows to pass to the limit in (2.21) with \(T_k\) instead of T, thus showing that T solves (2.21). Hence \(\mathbf{{u}}= \mathbf{{u}}(T)\) and \(p = p(T)\).
As far as the strong convergences are concerned, the above argument yields that \(\sqrt{\nu (T_k)}\mathbf{{u}}(T_k)\) converges weakly to \(\sqrt{\nu (T)}\mathbf{{u}}(T)\) weakly in \(L^2({\Omega })^d\). Next, by testing (2.21) (written with \(T_k\) instead of T) with \(\mathbf{{v}}= \mathbf{{u}}(T_k)\), we obtain
Hence,
thus implying the strong weighted convergence of the velocity. Regarding the pressure, owing to (2.14), for each k there exists a function \(\mathbf{{v}}_k\) in \(H_0(\mathrm{div},\Omega )\) such that (see Girault and Raviart [12])
The bound (2.25) yields weak convergence (up to a subsequence) of \((\mathbf{{v}}_k)_{k\ge 1}\) in \(H(\mathrm{div},\Omega )\) to some function \(\mathbf{{v}}\) in \(H_0(\mathrm{div},\Omega )\) with \(\mathrm{div}\,\mathbf{{v}}= p(T)\), and by testing (2.21) (written with \(T_k\) instead of T) with \(\mathbf{{v}}= \mathbf{{v}}_k\), we derive
For passing to the limit in the nonlinear term, we write
In view of (2.17) and (2.25), the last factor is bounded in \(L^2({\Omega })^d\) and hence (up to a subsequence) converges weakly to some function \(\mathbf{w}\) in \(L^2({\Omega })^d\). As above, an easy argument shows that \(\mathbf{w}= \sqrt{\nu (T)}\mathbf{{v}}\). This permits to take the limit of the nonlinear term, leading to
and to the strong convergence of \(p(T_k)\). Finally, uniqueness of the solution of (2.21) implies the convergence of the whole sequence. \(\square \)
2.3 Existence
Here, we propose to construct a solution of (2.20) by Galerkin’s method. Since the test functions for the temperature must be both in \(H^1(\Omega )\) and in \(L^\infty (\Omega )\), in view of (2.8), we pick a real number \(q >d\) and work in a dense subspace of
To be specific, as \(W_0^{1,q}(\Omega )\) is separable, it has a countable basis \(\{\theta _i\}_{i \ge 1}\). Let \(\Theta _m\) be the space spanned by the first m basis functions, \(\{\theta _i\}_{1 \le i \le m}\). The reduced problem (2.20) is discretized in \(\Theta _m\) by the square system of nonlinear equations: Find \(T_m=\sum _{1\le i \le m} w_i \theta _i \in \Theta _m\), solution of
where the pair \((\mathbf{{u}}(T_m),p(T_m))\) solves (2.21) with \(T = T_m\). Note that the nonlinear term makes sense since \(\theta _i\) belongs to \(L^\infty ({\Omega })\). Then, given \(T_m\) in \(\Theta _m\), we introduce the auxiliary problem, find \(\Phi (T_m)\in \Theta _m\) such that,
On one hand, (2.29) defines a mapping from \(\Theta _m\) into \(\Theta _m\), and we easily derive its continuity from the finite dimension and the continuity Lemma 2.1. On the other hand, Green’s formula (valid because the basis functions are smooth) gives,
In other words,
for all \(T_m\) in \(\Theta _m\) such that
Therefore Brouwer’s Fixed-Point Theorem, see for example [21], implies immediately the next result.
Lemma 2.2
The discrete problem (2.28) has at least one solution \(T_m \in \Theta _m\) and this solution satisfies the bound
Existence of a solution of (2.20) stems from Lemmas 2.1 and 2.2.
Theorem 2.3
Let \(\nu \) satisfy (2.16) and (2.17). Then for any \(\mathbf{f}\in L^2({\Omega })^d\), \(g \in L^2({\Omega })\), and positive constant \(\alpha \), problem (2.20) has at least one solution \(T \in H^1_0({\Omega })\).
Proof
To simplify the discussion, the proof is written when \(d \ge 3\); it is simpler when \(d=2\). The uniform bound (2.31) implies that, up to a subsequence, \((T_m)_{m}\) converges weakly to some function T in \(H^1_0({\Omega })\). Therefore, it converges strongly in \(L^r({\Omega })\), for any \(r < \frac{2\,d}{d-2}\), and it follows from Lemma 2.1 that \((\mathbf{{u}}(T_m), p(T_m))_{m}\) converges weakly to \((\mathbf{{u}}(T), p(T))\) in \(H_0(\mathrm{div},\Omega )\times L^2_m({\Omega })\), \((\sqrt{\nu (T_m)}\mathbf{{u}}(T_m))_m\) converges strongly to \(\sqrt{\nu (T)}\mathbf{{u}}(T)\) in \(L^2({\Omega })^d\), and \((p(T_m))_m\) converges strongly to p(T) in \(L^2({\Omega })\). Now, let us freeze the index i in (2.28) and let m tend to infinity. To pass to the limit in the nonlinear term, by applying Green’s formula (owing again to the smoothness of the basis) we write,
By Hölder’s inequality, the strong convergence of \((T_m)_m\) in \(L^r({\Omega })\), \(r < \frac{2\,d}{d-2}\), and the fact that \(\nabla \,\theta _i\) belongs to \(L^q({\Omega })^d\), \(q>d\), imply that \((T_m \nabla \,\theta _i)_m\) converges strongly to \(T \nabla \,\theta _i\) in \(L^{2}({\Omega })^d\). Since \(\mathbf{{u}}(T_m)\) converges weakly to \(\mathbf{{u}}(T)\) in \(L^{2}({\Omega })^d\), these two convergences imply
and consequently the limit functions satisfy for any \(i\ge 1\),
From this system and the density of the basis in \(W_0^{1,q}(\Omega )\), \(q>d\), we infer that
Since each term in this formula defines a continuous linear functional on \(W_0^{1,q}(\Omega )\), we deduce in the sense of distributions,
This implies in particular that \(\mathbf{{u}}(T)\cdot \nabla \,T\) belongs to \(H^{-1}({\Omega })\); hence by taking the duality with \(S\in H^1_0({\Omega })\), we recover,
which is a slightly sharper version of (2.20), considering that all \(X \in H^{-1}({\Omega }) \cap L^1({\Omega })\) and all \(Z \in H^1_0({\Omega }) \cap L^\infty ({\Omega })\) satisfy
\(\square \)
Remark 2.4
It is immediate that the solution produced by the above proof satisfies the bound (2.31). We will prove below (see the comment after the proof of Lemma 2.5) that every solution of (2.20) actually satisfies this bound.
2.4 Uniqueness
Before examining uniqueness of the solution, let us establish uniqueness of the solution \(T \in H^1_0({\Omega })\) of (2.20) for a given divergence-free velocity \(\mathbf{{\vartheta }}\in H_0(\mathrm{div},{\Omega })\),
Existence is easily proved by a simpler version of the Galerkin technique used above and it yields a solution satisfying (2.31). But uniqueness is far from straightforward because the obvious choice of test function, \(S =T\), is not available since T is not necessarily in \(L^\infty ({\Omega })\). To by-pass this difficulty, we shall apply a renormalizing technique in the spirit of the work of Stampacchia [19].
For a given real number \(k>0\), let \(\tau _k\) be the truncation function of one variable defined by
and let \(\sigma _k\) be its primitive:
The function \(\tau _k\) belongs to \(W^{1,\infty }({\mathbb {R}})\) and for any S in \(H^1_0({\Omega })\), \(\tau _k(S)\) belongs to \(H^1_0({\Omega })\) and a.e. in \({\Omega }\),
The function \(\sigma _k\) is Lipschitz continuous, it is piecewise \({\mathcal C}^1({\mathbb {R}})\), it satisfies \(\sigma _k(0) = 0\), and for all S in \(H^1_0({\Omega })\), \(\sigma _k(S)\) belongs to \(H^1_0({\Omega })\). Then, we have the following result.
Lemma 2.5
For any \(\alpha >0\), any g in \(L^2({\Omega })\), and any \(\mathbf{{\vartheta }}\) in \(H_0(\mathrm{div},{\Omega })\) satisfying \(\mathrm{div}\,\mathbf{{\vartheta }}= 0\), problem (2.36) has one and only one solution T in \(H^1_0({\Omega })\); hence T is a function of \(\mathbf{{\vartheta }}\). The solution T satisfies the bound
Proof
As stated above, existence is an easy variant of the existence proof in Sect. 2.3. Regarding uniqueness, let T be any solution of (2.36); the regularity of \(\tau _k(T)\) implies that we can test (2.36) with \(S = \tau _k(T)\). This gives
First (2.39) implies
Next, from (2.38), we observe that
and hence
Therefore Green’s formula and the fact that \(\mathbf{{\vartheta }}\) is divergence-free yield
Hence, if \(T \in H^1_0({\Omega })\) is any solution of (2.36), it satisfies the equality
and therefore \(\tau _k(T)\) satisfies the bound (2.40). The strong convergence of \(\tau _k(T)\) to T in \(H^1(\Omega )\) allows to derive (2.40), as k tends to infinity. Finally, since (2.36) is a linear equation in T, (2.40) for all solutions T implies uniqueness. \(\square \)
This lemma has the important consequence that all solutions of (2.20) satisfy the bound (2.40). Of course all velocity and pressure solutions satisfy (2.22).
Now, we turn to uniqueness. Let \((\mathbf{{u}}_1,p_1,T_1)\) and \((\mathbf{{u}}_2,p_2,T_2)\) be two solutions of problem (V). Their difference \((\hat{\mathbf{{u}}}, {\hat{p}},{\hat{T}}) = (\mathbf{{u}}_1-\mathbf{{u}}_2,p_1-p_2,T_1-T_2) \) satisfies,
and of course, we have
Without regularity assumptions on the solution, deriving uniqueness from (2.46) appears problematic, see the next theorem. To simplify, it is stated when \(d \ge 3\).
Theorem 2.6
Let \(d \ge 3\) and \(\nu \) satisfy (2.16) and (2.17). In addition to the assumptions of Theorem 2.3, we suppose that problem (V) has a solution \((\mathbf{{u}}_1,p_1,T_1)\) such that \(T_1\) is in \(L^\infty ({\Omega })\), that \(\mathbf{{u}}_1\) belongs to \(L^d({\Omega })^d\) and that
Then problem (2.20) has no other solution \((\mathbf{{u}}_2,p_2,T_2)\) in \(H_0(\mathrm{div},\Omega )\times L^2_m(\Omega )\times H^1_0(\Omega )\).
Proof
Let us use the reduced formulation (2.46). From the first part of (2.46), and the above assumptions, we immediately derive
To deduce a useful bound for \({\hat{T}}\) from the second part of (2.46), we first apply Green’s formula to the second term, a valid operation since both S and \(T_1\) belong to \(H^1_0({\Omega }) \cap L^\infty ({\Omega })\),
and we test (2.46) with \(S=\tau _k({\hat{T}})\). Then arguing as in the proof of Lemma 2.5, we obtain
Hence
implying that for all \(k>0\),
From this bound and the strong convergence of \(\tau _k({\hat{T}})\) to \({\hat{T}}\) as k tends to infinity, we deduce
Then by substituting the bound (2.49) for \(\hat{\mathbf{{u}}}\), we infer
This proves uniqueness when (2.48) holds. \(\square \)
The smallness condition (2.48) for uniqueness is of course restrictive, but for nonlinear problems, uniqueness is rarely guaranteed without restrictions. On the other hand, although the regularity assumptions on the solution (\(T_1\) bounded and \(\mathbf{{u}}_1\) in \(L^d\)) in the statement of Theorem 2.6 are not easily inferred from the equations, they are pretty reasonable from a physical point of view, since usually the temperature and the velocity are bounded.
Remark 2.7
In two dimensions (\(d=2\)), the only differences with the assumptions made in the statement of Theorem 2.6 are that \(\mathbf{{u}}_1\) will now be taken in \(L^r(\Omega )^2\), for some \(r>2\), and that the smallness condition (2.48) will now become
2.5 Alternative Variational formulation
The variational problem (V) introduced in Sect. 2.2 is well adapted to locally conservative discrete schemes. However, the numerical implementation of such schemes is not so straightforward and can be simplified by eliminating the divergence from the first two equations of (V) by means of Green’s formula, thus reducing the regularity of \(\mathbf{{u}}\). This leads to the following alternative:
Its analysis is skipped since it is obviously equivalent to (V). It leads to numerical schemes that are more easily implemented.
3 Discretization
From now on, we restrict the dimension to \(d=2\) or \(d=3\), and we assume that \(\Omega \) is a polygon when \(d=2\) or polyhedron when \(d=3\), so it can be completely meshed. Now, we describe the discretization space. A regular (see Ciarlet [7]) family of triangulations \(({\mathcal {T}}_{h})_h\) of \(\Omega \), is a set of closed non degenerate triangles or tetrahedra, called elements, satisfying,
-
for each h, \(\bar{\Omega }\) is the union of all elements of \({\mathcal {T}}_{h}\);
-
the intersection of two distinct elements of \({\mathcal {T}}_{h}\) is either empty, a common vertex, or an entire common edge or face;
-
the ratio of the diameter of an element K in \({\mathcal {T}}_{h}\) to the diameter of its inscribed circle or ball is bounded by a constant independent of h.
As usual, h denotes the maximal diameter of all elements of \({\mathcal {T}}_{h}\). For each K in \({\mathcal {T}}_{h}\), we denote by \({\mathbb {P}}_1(K)\) the space of restrictions to K of polynomials in d variables and total degree at most one.
In what follows, \(c, c', C, C',c_1, \ldots \) stand for generic constants which may vary from line to line but are always independent of h. For a given triangulation \({\mathcal {T}}_{h}\), we define the following finite dimensional spaces:
There exists an approximation operator (when \(d=2\), see Bernardi and Girault [3] or Clément [8]; when \(d =2\) or \(d =3\), see Scott and Zhang [20]), \(R_h\) in \({\mathcal L}(W^{1,p}(\Omega ); Z_{h})\) and in \({\mathcal L}(W^{1,p}(\Omega )\cap H^1_0(\Omega ); X_{h})\) such that for all K in \({\mathcal {T}}_h\), \(m=0,1\), \(l=0,1\), and all \(p\ge 2\),
where \(\Delta _K\) is the macro element containing the values of S used in defining \(R_h(S)\).
3.1 First discrete scheme
The velocity and pressure are discretized by \(RT_0\) elements. More precisely, the discrete spaces \(({\mathcal {W}}_{h,1},M_{h,1})\) are defined as follows:
The kernel of the divergence in \({\mathcal {W}}_{h,1}\) is denoted by \({\mathcal {V}}_{h,1}\),
There exists an approximation operator \(\xi ^1_h\) belonging to \({\mathcal L}(H^1(\Omega ); {\mathcal {W}}_{h})\) and to \({\mathcal L}(H^1(\Omega ) \cap H_0(\mathrm{div},\Omega ); {\mathcal {W}}_{h,1})\) such that for all K in \({\mathcal {T}}_h\) (Roberts and Thomas [18]):
and
Furthermore, if \(\mathrm{div}\, \mathbf{{u}}=0\) then \(\mathrm{div}{(\xi ^1_h(\mathbf{{u}}))}=0\). In addition, we shall use the operator \(\rho _h\) that belongs to \({\mathcal L}(L^2(\Omega ); M_{h})\) and to \({\mathcal L}(L^2_m(\Omega ); M_{h,1})\), defined by
it satisfies
The following discrete inf-sup condition holds (see Roberts and Thomas [18]):
with a constant \(\beta _1 >0\) independent of h. We then consider the straightforward discretization of Problem (V):
It is easy to see that the second equation above implies that \(\mathrm{div}\,\mathbf{{u}}_h = 0 \) in \({\Omega }\). Hence this scheme exactly preserves the zero divergence condition.
3.1.1 First scheme: Existence, convergence, and uniqueness
Existence of a solution of \((V_{h,1})\) is derived by duplicating the steps of Sect. 2.3. First \((V_{h,1})\) is split as in (2.20)–(2.21), i.e., find \(T_h\) in \(X_h\), such that
where \(\mathbf{{u}}_h(T_h)\) is the velocity solution of: Find \((\mathbf{{u}}_h(T_h), p_h(T_h)) \in {\mathcal {W}}_{h,1}\times M_{h,1}\), such that
Indeed, since the approximation is conforming and (3.10) holds, an easy argument shows that, for given \(T_h \in X_h\), (3.12) (which is a square linear system in finite dimension) has a unique solution \((\mathbf{{u}}_h(T_h), p_h(T_h))\), and this solution satisfies the same bounds as (2.22), uniform in h,
Moreover, in view of the \(L^\infty ({\Omega })\) regularity of functions of \(X_h\), we immediately derive that every solution of (3.11)–(3.12) satisfies the a priori bound, uniform in h,
As a consequence, the argument of the existence Lemma 2.2 can be applied to (3.11), thus establishing that (3.11) has at least one solution. Similarly, the convergence proof of Theorem 2.3 carries over to (3.11), considering the approximation properties of the operators \(R_h\), \(\xi ^1_h\) and \(\rho _h\). Finally, uniqueness follows easily from Green’s formula, since \(\mathbf{{u}}_h\) is in \(L^\infty (\Omega )^d\) and \(T_h\) in \(W^{1,\infty }(\Omega )\). This is summed up in the following existence, convergence and uniqueness theorems. To simplify, the uniqueness theorem is stated when \(d=3\).
Theorem 3.1
Let \(\nu \) satisfy (2.17). Then for any data \((\mathbf{f},g)\in L^2(\Omega )^d\times L^2(\Omega )\), \((V_{h,1})\) has at least a solution \((\mathbf{{u}}_h,p_h,T_h)\in {\mathcal {W}}_{h,1}\times M_{h,1}\times X_h\). Moreover, every solution of \((V_{h,1})\) satisfies the bounds (3.13) and (3.14).
Theorem 3.2
Let \(\nu \) satisfy (2.16), (2.17) and \((\mathbf{{u}}_h,p_h,T_h)\) be any solution of the discrete problem \((V_{h,1})\). We can extract a subsequence, still denoted \((\mathbf{{u}}_h,p_h,T_h)\) such that
where \((\mathbf{{u}},p,T)\) solves problem (V).
Theorem 3.3
Let \(d=3\) and \(\nu \) satisfy (2.16) and (2.17). Suppose that problem (3.11) has a solution \(T_h\in X_h\) such that
Then problem (3.11) has no other solution \(T_h \in X_h\).
3.1.2 First discrete scheme. A priori error estimates
A priori error estimates are obtained when the exact solution satisfies a slightly stronger smoothness and smallness condition than the uniqueness condition (2.48) of Theorem 2.6.
Theorem 3.4
Let \(d=3\) and \(\nu \) satisfy (2.16) and (2.17). We suppose that problem (2.20) has a solution T in \(W^{1,3}({\Omega })\), that \(\mathbf{{u}}=\mathbf{{u}}(T)\) belongs to \(L^3({\Omega })^3\), and that
Then the following error inequalities hold:
Proof
Let \((\mathbf{{u}},p,T)\) and \((\mathbf{{u}}_h,p_h,T_h)\) solve respectively (V) and \((V_{h,1})\). We shall prove first (3.19), next (3.20), and finally (3.18).
-
1.
Let us estimate the velocity error in terms of the temperature error. By taking the difference between the second equations of (V) and \((V_{h,1})\) and testing with \(\mathbf{{v}}=\mathbf{{v}}_h \in {\mathcal {V}}_{h,1}\), we obtain
$$\begin{aligned} \displaystyle \int _{\Omega }\nu (T)\mathbf{{u}}\cdot \mathbf{{v}}_h\,d\mathbf{x}=\displaystyle \displaystyle \int _{\Omega }\nu (T_h)\mathbf{{u}}_h\cdot \mathbf{{v}}_h\,d\mathbf{x}. \end{aligned}$$(3.21)
Then by inserting \( \nu (T_h)\) and an arbitrary \(\mathbf{w}_h \in {\mathcal {V}}_{h,1}\), and testing with \(\mathbf{{v}}_h = \mathbf{{u}}_h-\mathbf{w}_h\) that belongs indeed to \({\mathcal {V}}_{h,1}\), we easily derive
Hence (2.17) and the Lipschitz continuity of \(\nu \) yield
and (3.19) follows immediately from Sobolev’s imbedding and the triangle inequality.
-
2.
The proof of the error estimate for the pressure follows the same lines. By taking the difference between the second equations of (V) and \((V_{h,1})\), inserting \( \rho _h(p)\), and testing with \(\mathbf{{v}}_h\) in \({\mathcal {W}}_{h,1}\), we obtain
$$\begin{aligned} \displaystyle \int _{\Omega }(\rho _h( p) -p_h) \mathrm{div}\,\mathbf{{v}}_h \,d\mathbf{x}= & {} \displaystyle \int _{\Omega }(\rho _h( p) -p) \mathrm{div}\,\mathbf{{v}}_h\,d\mathbf{x}\nonumber \\&+ \displaystyle \int _{\Omega }(\nu (T)\mathbf{{u}}-\nu (T_h)\mathbf{{u}}_h).\mathbf{{v}}_h\,d\mathbf{x}. \end{aligned}$$(3.24)
It follows from the inf-sup condition (3.10) (see for instance Girault and Raviart [12]) that there exists \(\mathbf{{v}}_h\) in \({\mathcal {W}}_{h,1}\) such that
With this \(\mathbf{{v}}_h\), (3.24) implies
By treating the last term as above, we recover (3.20).
-
3.
By taking the difference between the first equation of (V) and \((V_{h,1})\), tested with \(S_h\), and inserting \(R_h (T)\), we obtain
$$\begin{aligned} \begin{aligned} \alpha \displaystyle \int _{\Omega }\nabla (R_h(T)-T_h)\cdot \nabla \,S_h\,d\mathbf{x}&= \alpha \displaystyle \int _{\Omega }\nabla (R_h(T)-T)\cdot \nabla \,S_h\,d\mathbf{x}\\&\quad + \displaystyle \int _{\Omega }(\mathbf{{u}}_h\cdot \nabla (T_h -R_h(T))S_h\,d\mathbf{x}\\&\quad + \displaystyle \int _{\Omega }(\mathbf{{u}}_h\cdot \nabla (R_h(T)-T))S_h\,d\mathbf{x}\\&\quad + \displaystyle \int _{\Omega }((\mathbf{{u}}_h-\mathbf{{u}})\cdot \nabla \,T) S_h\,d\mathbf{x}. \end{aligned} \end{aligned}$$
Then the choice \(S_h=R_h (T)-T_h\) and the antisymmetric property of the transport term yield
With Hölder’s inequality, this becomes
Then Sobolev’s imbedding implies
By substituting (3.19) and the first part of (3.13) into this inequality and using the triangle inequality, we derive
Then (3.18) follows by collecting terms in (3.27) and applying the assumption (3.17). \(\square \)
Remark 3.5
Under the assumptions of Theorem 3.4, the solution of the scheme \((V_{h,1})\) converges strongly to the solution of (V) when h tends to zero. Indeed, for \(\mathbf{{u}}\in L^3(\Omega )^3\) and \(T \in W^{1,3}(\Omega )\), the right-hand sides of the three error inequalities (3.18), (3.19) and (3.20) tend to zero as h tends to zero. \(\square \)
Remark 3.6
When the exact solution \((\mathbf{{u}},p,T) \in H^1(\Omega )^3 \times H^1(\Omega ) \times W^{2,3}(\Omega )\), (3.18), (3.19) and (3.20) yield a specific rate of convergence,
\(\square \)
3.2 Second discrete scheme
Let K be an element of \({\mathcal T}_h\) with vertices \(a_i\), \(1\le i \le d+1\), and corresponding barycentric coordinates \(\lambda _i\). We denote by \(b_K \in {\mathbb {P}}_{d+1}(K)\) the basic bubble function
We observe that \(b_K(\mathbf{x})=0\) on \(\partial K\) and that \(b_K(\mathbf{x})>0\) in the interior of K.
Let \(({\mathcal {W}}_{h,2},M_{h,2})\) be a pair of discrete spaces approximating \(L^2(\Omega )^d \times \big (H^1(\Omega )\cap L^2_m(\Omega )\big )\) defined by
where
Let \({\mathcal {V}}_{h,2}\) be the kernel of the divergence in \({\mathcal {W}}_{h,2}\),
Since \({\mathcal {W}}_{h,2}\) contains the polynomials of degree one in each K, we can construct a variant \(\pi _h\) of \(R_h\) (cf. Girault and Lions [11] or Scott and Zhang [20]) in \({\mathcal L}(L^2(\Omega )^d; Z_h)\) that is quasi-locally stable in \(L^2(\Omega )\), i.e., for all K in \({\mathcal {T}}_h\)
and has the same quasi-local approximation properties as \(R_h\) for all K in \({\mathcal {T}}_h\), for \( m=0,1\) and \(1\le l\le 2\),
Regarding the pressure, since \(Z_h\) coincides with \({\tilde{M}}_{h}\), an easy modification of \(R_h\) yields an operator \(r_h\) in \({\mathcal L}(H^1(\Omega ); {\tilde{M}}_{h})\) and in \({\mathcal L}(H^1(\Omega )\cap L^2_m(\Omega ); M_{h,2})\) (see for instance Abboud et al. [1]), satisfying (3.2). We approximate problem \((V_a)\) by the following discrete scheme:
where as usual, the second nonlinear term in the last equation is added to compensate for the fact that \(\mathrm{div}\, \mathbf{{u}}_h \ne 0\). It is well-known that Green’s formula and the functions regularity imply that
so that the nonlinear term is antisymmetric. One of the key points for studying (\(V_{h,2}\)) is the discrete inf-sup condition satisfied by the pair of spaces (\({\mathcal {W}}_{h,2}, M_{h,2}\)). Its proof consists in using the continuous inf-sup condition and Fortin’s lemma (see for instance Girault and Raviart [12]) based on the operator
where
Fortin’s lemma holds with this operator and leads to the following discrete inf-sup condition:
with a constant \(\beta _2 >0\) independent of h. We also have the following bound in each element K,
Owing to this inf-sup condition, \((V_{h,2})\) has the same splitting as \((V_{h,1})\), i.e., find \(T_h\) in \(X_h\), such that
where \(\mathbf{{u}}_h(T_h)\) is the velocity solution of (3.12) stated in \({\mathcal {W}}_{h,2}\times M_{h,2}\). Of course, \(\mathbf{{u}}_h(T_h)\) and \(p_h(T_h)\) satisfy the bounds (3.13) with \(\beta _2\) instead of \(\beta _1\). Moreover, as all functions involved are smooth enough, Green’s formula implies the bound (3.14) for \(T_h\). Hence we have the analogue of Theorem 3.1 with the same proof.
Theorem 3.7
Let \(\nu \) satisfy (2.17). Then for any data \((\mathbf{f},g)\in L^2(\Omega )^d\times L^2(\Omega )\), problem \((V_{h,2})\) has at least a solution \((\mathbf{{u}}_h,p_h,T_h)\in {\mathcal {W}}_{h,2}\times M_{h,2}\times X_h\) and every solution of \((V_{h,2})\) satisfies the bounds (3.13) and (3.14).
Because the divergence of the discrete velocity does not vanish, the sufficient condition for uniqueness is more restrictive.
Theorem 3.8
Let \(d=3\) and \(\nu \) satisfy (2.16) and (2.17). Suppose that problem (3.38) has a solution \(T_h\in X_h\) such that
Then problem (3.38) has no other solution \(T_h \in X_h\).
Proof
Here again, we consider two solutions \(T_{h,1}\) and \(T_{h,2}\) of problem (3.38) and denote the differences in velocity \(\mathbf{{u}}_{h,1}= \mathbf{{u}}_h(T_{h,1})\), \(\mathbf{{u}}_{h,2}=\mathbf{{u}}_h(T_{h,2})\) and in temperature by \({\hat{\mathbf{{u}}}}_h =\mathbf{{u}}_{h,1}-\mathbf{{u}}_{h,2} \) and \({\hat{T}}_h = T_{h,1} - T_{h,2}\). On one hand, since the velocity equation is the same for both discretizations, \({\hat{\mathbf{{u}}}}_h\) satisfies the analogue of (2.49),
On the other hand, using (3.35), the difference in the temperature equation reads with \(S_h = {\hat{T}}_h\),
Then the above estimate for \(\Vert {\hat{\mathbf{{u}}}}_h\Vert _{L^2({\Omega })^3}\) and condition (3.39) imply uniqueness. \(\square \)
In (3.39), the extra term \(|T_h|_{W^{1,3}({\Omega })}\) arises exclusively from the fact that div \(\mathbf{{u}}_h\) is not zero. This explains the difference between assumption (3.39) and assumption (2.48) made in the continuous (non approximated) case.
We have the same convergence of a discrete to an exact solution, but the proof is slightly more involved, again due to the non zero divergence.
Theorem 3.9
Let \(\nu \) satisfy (2.16), (2.17) and \((\mathbf{{u}}_h,p_h,T_h)\) be any solution of the discrete problem \((V_{h,2})\). We can extract a subsequence, still denoted \((\mathbf{{u}}_h,p_h,T_h)\) such that
where \((\mathbf{{u}},p,T)\) solves problem (V).
Proof
The convergences are the same since the solutions satisfy the same bounds, but passing to the limit in (3.38) is slightly different. Let us use the expression (3.35) with the choice \(S_h = R_h(S)\) for a smooth function S. The convergence of \(\displaystyle \int \nolimits _{\Omega }(\mathbf{{u}}_h\cdot \nabla \,S_h)T_h\,d\mathbf{x}\) is done as in Theorem 2.3. For \(\displaystyle \int \nolimits _{\Omega }(\mathbf{{u}}_h\cdot \nabla \, T_h)S_h\,d\mathbf{x}\) we use the strong convergence of \(\sqrt{\nu (T_h)}\mathbf{{u}}_h\). Indeed, we write
which is the sum of terms of the form
where \(u_{h,i}\) denotes the i-th component of \(\mathbf{{u}}_h\). The first factor converges strongly to \(\sqrt{\nu (T)} u_{i}\) in \(L^2(\Omega )\), while the second factor is bounded in \(L^2(\Omega )\); therefore, again up to a subsequence, it converges weakly in \(L^2(\Omega )\), and a standard argument shows that its limit is
Thus, we conclude that \((\mathbf{u},p,T)\) solves problem \((V_a)\) and by equivalence problem (V). \(\square \)
3.2.1 A priori error estimates for the second scheme
As the equations satisfied by \(\mathbf{{u}}_h(T_h)\) and \(p_h(T_h)\) are the same for the two schemes, the error estimates for the discrete velocity and pressure in terms of the temperature error are the same with an additional term \(|p-r_h (p)|_{H^1(\Omega )}\) in the velocity error,
and \(\rho _h\) replaced by \(r_h\) in the pressure error. Therefore, we only need to establish an error estimate for the temperature. It is stated under the same regularity condition on the data, but under a slightly more restrictive smallness condition, again due to the stabilizing term.
Theorem 3.10
We retain the setting and assumptions of Theorem 3.4 and in addition, we suppose that \(T \in L^\infty (\Omega )\) and
Then \(\mathbf{{u}}_h-\mathbf{{u}}\) satisfies (3.46), \(p_h-p\) satisfies (3.20) with \(r_h\) instead of \(\rho _h\) and \(\beta _2\) instead of \(\beta _1\), and \(T_h-T\) satisfies
Proof
As stated above, the velocity error is given by (3.46) and the pressure error is unchanged; it remains to establish the temperature error. Again, we use the expression (3.35); then for any function \(S_h\) in \(X_h\), the temperature’s error equation is,
Up to the factor \( \frac{1}{2}\), the terms in the last two lines of the right-hand side are bounded by
Then the choice \(S_h=R_h (T)-T_h\), the antisymmetric property of the transport term, and Sobolev’s imbedding yield
By substituting (3.46) into this inequality and using the triangle inequality, we derive
Then (3.48) follows by collecting terms in (3.49), using the first part of (3.13), and applying the assumption (3.47). \(\square \)
Remark 3.11
In addition to the assumptions of Theorem 3.10, we suppose that T belongs to \(W^{1,s}(\Omega )\) with \(s>3\). Then the error of the scheme (\(V_{h,2}\)) tends to zero as h tends to zero since, for \(\mathbf{{u}}\in L^3(\Omega )^3\) and \(T \in W^{1,s}(\Omega )\) the right-hand sides of the error inequalities tend to zero as h tends to zero. \(\square \)
Remark 3.12
When the exact solution \((\mathbf{{u}},p,T)\) is in \(H^1(\Omega )^3 \times H^2(\Omega ) \times (W^{2,3}(\Omega )\cap W^{1,\infty }(\Omega ))\), we can prove a specific rate of convergence,:
\(\square \)
4 Successive approximations
In order to solve the discrete system, we propose in this section a straightforward successive approximation algorithm that linearizes the discrete problem at each step and converges to the exact solution under the sufficient conditions of the error theorems in the preceding section. The same algorithm is applied to the two schemes, and for the sake of conciseness, we only discuss the first scheme; the analysis of the algorithm for the second scheme being exactly the same.
The algorithm proceeds as follows: Given a first guess \(T_h^0\) in \(X_h\), find \(\left( \mathbf{{u}}^{i+1}_h,p^{i+1}_h,T^{i+1}_h\right) \in {\mathcal {W}}_{h,1}\times M_{h,1}\times X_h\), for \(i \ge 0\), such that
which in reduced form is equivalent to finding \(T_h^{i+1} \in X_h\) such that, for all \(S_h\in X_h\),
It follows from the material of Sect. 3 that for each initial guess \(T_h^0\), this algorithm generates a unique sequence \((\mathbf{{u}}_h^i, p_h^i, T_h^i)_{i\ge 1}\), and each sequence satisfies the bounds (3.13)–(3.14), for \(i\ge 1\), that are independent of \(T_h^0\), of i and of h. Regarding convergence, and reverting to the setting and proof of Theorem 3.4, it is easy to check that the first two components satisfy the following error bounds for all \(i\ge 0\):
An error bound for \(T-T_h^{i+1}\) is a little more complex. To simplify, set
and
The argument of the proof of Theorem 3.4 yields the analogue of (3.27), which with this notation reads,
Now, either there is an index \(i_0 \ge 0\) such that
or there is none. In the first case, we have
Therefore, by taking first the supremum over i for \(i\ge i_0\) of the right-hand side of (4.6) and next the supremum of the left-hand side of the resulting inequality, we deduce
In the second case, we have for all \(i\ge 0\),
in which case the sequence of positive numbers \(\left( \left| T-T_h^i\right| _{H^1(\Omega )}\right) _{i\ge 0}\) decreases monotonically and hence converges to some nonnegative limit. Since the sequence converges, we can pass to the limit in (4.6), thus obtaining
Since, for \(\mathbf{{u}}\) in \(L^3({\Omega })^3\) and T in \(W^{1,3}(\Omega )\), C(h) tend to zero as h tends to zero, we deduce the following convergence:
Theorem 4.1
We retain the assumptions of Theorem 3.4. Then the sequence \(\left( T_h^i\right) _{i\ge 0}\) generated by (4.3) either satisfies (4.7) in which case for some \(i_0\ge 0\),
or it satisfies (4.8), in which case
Remark 4.2
When the exact solution is sufficiently smooth and the mesh is quasi uniform so that global inverse inequalities hold, by restricting further the size of the data, we can prove a specific rate of convergence of the algorithm. \(\square \)
Remark 4.3
The inequalities (4.7) and (4.8) are not the only consequences of (4.6). For instance, with the above notation, (4.6) can be expressed as
where
Under the assumptions of Theorem 3.4, we have \(M<1\), and (4.9) implies for all \(i\ge 1\)
Thus
\(\square \)
Remark 4.4
Consider the case when the homogeneous boundary condition on T is replaced by
with \(\ell \in W^{1-\frac{1}{s},s}(\Gamma )\), \(s>d\), so that it has a continuous lifting, say \(T(\ell )\) in \(W^{1,s}(\Omega )\), see for example [2]. By Sobolev’s imbeddings, this guarantees that \(\ell \in {\mathcal {C}}(\Gamma )\) and \(T(\ell ) \in {\mathcal {C}}(\Omega ) \). The theoretical analysis in the preceding sections carries over readily to this situation by setting
where T(0) is now the unknown and \(T(\ell )\) is a datum. The estimates (2.22) for \(\mathbf{{u}}\) and p are unchanged; using Green’s formula as in (2.50), the estimate for T(0) is
Thus T is bounded in terms of the data as follows:
and unconditional existence is established as in Theorem 2.3. The statement of the uniqueness theorem 2.6 is unchanged.
To study its discretization, let us consider for simplicity the first discrete scheme. Regarding its computation, let \({\mathcal S}_h\) be the trace of the triangulation \({\mathcal T}_h\) on \(\Gamma \). The continuity assumption on \(\ell \) allows to choose
where \(I_h\) is the familiar nodal Lagrange interpolant operator on \({\mathcal S}_h\) with polynomials of degree one, which is compatible with the space \(Z_h\) defined in (3.1). Then the discrete solution is approximated by means of the successive approximation algorithm starting with \(T_h^0 \in Z_h\) solution of the standard Laplace equation
As usual, the matrix of the system only acts on the internal degrees of freedom of \(T_h^0\), while the nodal values of \(I_h(\ell )\) are part of the data on the right-hand side. Once \(T_h^0\) is known, \(\mathbf{{u}}_h^0\) and \(p_h^0\) are computed by solving the Darcy system (4.1), and in turn, with \(\mathbf{{u}}_h^0\) known, (4.2) is a standard diffusion–convection system for the interior degrees of freedom of \(T_h^1\), with the nodal values of \(I_h(\ell )\) as part of the data.
The numerical analysis of the first discrete scheme proceeds by setting
where \(T_h(0)\) belongs to \(X_h\) and \(T_h(\ell )\) is a suitable approximation of \(T(\ell )\) constructed so that it coincides with \(I_h(\ell )\) on \(\Gamma \). Its precise expression is unnecessary since it is never computed in practice. By duplicating the arguments used in the homogeneous case, it is easy to check that \(T_h\) satisfies the analogue of (4.11),
unconditional existence and convergence hold, and the statement of the uniqueness theorem 3.8 is unchanged. Regarding error estimates, we take for \(R_h(T)\) a suitable approximation of T that coincides with \(T_h(\ell )\) on \(\Gamma \) and we readily recover the error estimates (3.18), (3.19), and (3.20). \(\square \)
5 Numerical results
To validate the theoretical results, we perform several numerical simulations using Freefem++ (see [13]).
We consider a square domain \(\Omega =]0,3[^2\). Each edge is divided into N equal segments so that \(\Omega \) is divided into \(2N^2\) triangles (see Fig. 1).
We choose for exact solution \((\mathbf{{u}},p,T)=(\mathbf{curl}\, \psi ,p,T)\) where \(\psi \), p and T are defined by
and
We henceforth take \(\alpha =3\), \(\beta =5\) and \(N=100\).
In Figs. 2 and 3, we compare the numerical and the exact pressure, temperature and velocity for \(\nu (T)=T+1\) when the numerical solution is computed by using the first discrete scheme.
Figure 4 plots the global error curves versus h in logarithmic scales, global in the sense that they depict the sum of the velocity, pressure and temperature errors. The algorithm is tested as the number of segments increase from 30 to 120. The slope of the error’s curve for the first discrete scheme is equal to 1.0036 for \(\nu (T)=T+1\), 0.9938 for \(\nu (T)=e^{-T}+\displaystyle \frac{1}{10}\) and finally 0.9956 for \(\nu (T)=\sin (T)+2\). For the second discrete scheme, the slope is equal to 1.0122 for \(\nu (T)=T+1\), 0.9994 for \(\nu (T)=e^{-T}+\displaystyle \frac{1}{10}\) and finally 1.0091 for \(\nu (T)=\sin (T)+2\).
Remark 5.1
Note that the error curves are consistent with the theoretical results of Sect. 3. \(\square \)
We end this section by testing the possible influence of the sufficient condition (3.17) on the convergence of the successive approximation algorithm (4.1)–(4.2). Recall that Theorem 4.1 establishes convergence provided (3.17) holds. To check this dependence, we choose for exact solution the following magnification \((\overline{\psi }, \overline{p}, \overline{T})\) of \((\psi ,p,T)\):
where \(\gamma _u\) and \(\gamma _T\) are real positive parameters. We choose the same mesh with \(N=100\) and pick again \(\nu (T)=T+1\).
In a first set of experiments, we take \(\gamma _u=\gamma _T=\gamma \) and run the code with an increasing sequence of values of \(\gamma \): \(\gamma =10,20,\ldots ,90,100\). We observe convergence up to \(\gamma =90\), and divergence for \(\gamma \ge 100\).
In a second set of experiments, we freeze \(\gamma _u =100\) and run the code with an increasing sequence of values of \(\gamma _T\): \(\gamma _T=10, 20,\ldots ,80,90\). We observe convergence up to \(\gamma _T=80\), and divergence for \(\gamma _T \ge 90\).
Finally, we freeze \(\gamma _T =100\) and observe convergence up to \(\gamma _u=90\), and divergence for \(\gamma _u \ge 100\).
We observe similar convergence and divergence patterns when the viscosity is defined by \(\nu (T)=e^{-T} + \displaystyle \frac{1}{10}\) and \(\nu (T)=\sin (T) +2\). These results suggest that convergence of the successive approximation algorithm (4.1)–(4.2) depends indeed on the magnitude of the solution and parameters of the problem.
References
Abboud, H., Girault, V., Sayah, T.: A second order accuracy in time for a full discretized time-dependent Navier–Stockes equations by a two-grid scheme. Numer. Math. 114, 189–231 (2009)
Adams, J.A.: Sobolev Spaces. Academic Press, New York (1975)
Bernardi, C., Girault, V.: A local regularisation operation for triangular and quadrilateral finite elements. SIAM J. Numer. Anal. 35, 1893–1916 (1998)
Bernardi, C., Métivet, B., Pernaud-Thomas, B.: Couplage des équations de Navier–Stokes et de la chaleur: le modèle et son approximation par éléments finis. RAIRO Modél. Math. Anal. Numér. 29(7), 871–921 (1995)
Bernardi, C., Maarouf, S., Yakoubi, D.: Spectral discretization of Darcy’s equations coupled with the heat equation. IMA J. Numer. Anal. 36(3), 1193–1216 (2016)
Boussinesq, J.: Théorie analytique de la chaleur, Volume 2 of Lecture Notes in Mathematics. Gauthier-Villars, Paris (1903)
Ciarlet, P.G.: Basic error estimates for elliptic problems. In: Handbook of Numerical Analysis, Finite Element Methods (Part I), II, pp. 17–343. North-Holland (1991)
Clément, P.: Approximation by finite element functions using local regularization. RAIRO Anal. Numér. 9, 77–84 (1975)
Deteix, J., Jendoubi, A., Yakoubi, D.: A coupled prediction scheme for solving the Navier–Stokes and convection–diffusion equations. SIAM J. Numer. Anal. 52(5), 2415–2439 (2014)
Gaultier, M., Lezaun, M.: Équations de Navier–Stokes couplées à des équations de la chaleur: résolution par une méthode de point fixe en dimension infinie. Ann. Sci. Math. Québec 13(1), 1–17 (1989)
Girault, V., Lions, J.-L.: Two-grid finite-element schemes for the transient Navier–Stokes problem. M2AN Math. Model. Numer. Anal. 35(5), 945–980 (2001)
Girault, V., Raviart, P.-A.: Finite element methods for Navier–Stokes equations. In: Theory and Algorithms, SCM 5, Springer-Verlag, Berlin (1986)
Hecht, F.: New development in FreeFem++. J. Numer. Math. 20, 251–266 (2012)
Hooman, K., Gurgenci, H.: Effects of temperature-dependent viscosity variation on entropy generation, heat and fluid flow through a porous-saturated duct of rectangular cross-section. ISSN Appl. Math. Mech. 28, 69–78 (2007)
Nečas, J.: Les Méthodes directes en théorie des équations elliptiques. Masson, Paris (1967)
Oyarzua, R., Schötzau, D., Quin, T.: An exactly divergence-free finite element method for a generalized Boussinesq problem. IMA J. Numer. Anal. 34(3), 1104–1135 (2014)
Rashad, A.M.: Effects of radiation and variable viscosity on unsteady MHD flow of a rotating fluid from stretching surface in porous medium. J. Egypt. Math. Soc. 22, 134–142 (2014)
Roberts, J.E., Thomas, J.-M.: Mixed and hybrid methods. In: Handbook of Numerical Analysis, Finite Element Methods (Part I), II, pp. 523–637. North-Holland (1991)
Stampacchia, G.: Le problème de Dirichlet pour les équations elliptiques du second ordre à coefficients discontinus. Annales de l’institut Fourier (Grenoble) 15, 189–258 (1985)
Scott, L.R., Zhang, S.: Finite element interpolation of nonsmooth functions satisfying boundary conditions. Math. Comput. 54, 483–493 (1990)
Vincent, D.: Le Théorème du point fixe de Brouwer. https://www-fourier.ujf-grenoble.fr/~carriere/TerDunias.pdf (2002–2003)
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Bernardi, C., Dib, S., Girault, V. et al. Finite element methods for Darcy’s problem coupled with the heat equation. Numer. Math. 139, 315–348 (2018). https://doi.org/10.1007/s00211-017-0938-y
Received:
Revised:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00211-017-0938-y