Abstract
In this paper, we consider numerical approximations for solving the nonlinear magnetohydrodynamical system, that couples the Navier–Stokes equations and Maxwell equations together. By combining the projection method and some subtle implicit–explicit treatments for nonlinear coupling terms, we develop a fully decoupled, linear and unconditionally energy stable scheme for solving this system, where a new auxiliary velocity field is specifically introduced in order to decouple the computations of the magnetic field from the velocity field. We further prove that the fully discrete scheme with finite element approximations is unconditional energy stable. By deriving the \(L^{\infty }\) bound of the numerical solution and the relation between the new auxiliary velocity field and the velocity field, and using negative norm technique, we obtain the optimal error estimates rigorously. Various numerical experiments are implemented to demonstrate the stability and the accuracy in simulating some benchmark problems, including the Kelvin–Helmholtz shear instability and the magnetic-frozen phenomenon in the lid-driven cavity.
Similar content being viewed by others
Avoid common mistakes on your manuscript.
1 Introduction
The hydrodynamical behaviors of conducting fluids (plasmas, liquid metals, and electrolytes, etc.) under external electromagnetic field are usually modeled by the so-called magnetohydrodynamical (MHD) system, see [12, 23, 25]. The fundamental image behind the MHD system is that magnetic fields can induce currents in a moving conductive fluid, which in turn polarizes the fluid and reciprocally changes the magnetic field itself. Thus the governing equations, which describe the MHD system, couple the Navier–Stokes equations for hydrodynamics and Maxwell’s equations for electromagnetism. Concerning the corresponding extensive theoretical modeling/numerical analysis of the MHD system, we refer to [2,3,4, 10, 15, 16, 18,19,20,21,22, 24, 28, 29] and the references therein.
For solving the nonlinear coupled MHD system numerically, one challenging issue is to design linear and decoupled schemes while preserving the energy stability, i,e., the energy dissipation laws hold in the discrete level. The main associated difficulty is to decouple nonlinear couplings between the magnetic field and the velocity field appearing in the convection and Lorentz forces. Simple discretizations, like fully explicit or implicit type schemes to handle these terms can lead to considerable instabilities or suffer from costly time expense. We recall there are many attempts that have been made in this direction recently. For examples, in [18], the authors developed two implicit–explicit type methods where the first order method is shown to be unconditionally stable and the second order method is shown to be conditionally stable. However, the model considered in [18] is the reduced version, namely, the magnetic field is assumed to be a fixed function. In [32, 33], the authors developed a decoupled type scheme for the full MHD system, but it is conditionally energy stable with a time step constraint. In [7], the authors developed some unconditionally energy stable schemes based on the projection type methods for the Navier–Stokes equations. However, the velocity field and the magnetic field are coupled together. In [31], the authors presented optimal error estimates for the first order energy stable projection scheme where the velocity field and the magnetic field are still coupled together (partially decoupled scheme). In [21], the authors developed a totally decoupled scheme where the computations of Navier–Stokes equations are based on the commutator of Laplacian and Leray projection, and all nonlinear and coupling terms are treated explicitly. However, the scheme is still conditionally stable. In [26], the author had developed a fully decoupled scheme by treating the coupled terms explicitly, however the scheme does not allow the discrete energy stability. Furthermore, the error estimate for pressure is suboptimal.
In this paper, we develop a fully decoupled, linear, and unconditionally energy stable scheme for solving the MHD system, and carry out the corresponding rigorous stability and error analysis for the fully discrete scheme in the context of finite element approximations. We adopt the first order projection method to solve the Navier–Stokes equation and introduce an auxiliary intermediate velocity variable to decouple the computation of the magnetic field from velocity. Meanwhile, we make some subtle implicit–explicit treatments for nonlinear coupling terms to linearize the system and ensure the energy stability, that is proved rigorously. Our decoupled idea is somewhat similar to matrix splitting algorithms in [4]. The key ingredient are all the introduction of an auxiliary velocity variable to decouple the computations of velocity from the magnetic field. Furthermore, the error estimates and numerical studies of unconditional stabilities are not presented in [4].
It is remarkable that the error analysis for the fully discrete finite element scheme we propose is rather challenging while its energy stability is quite straightforward once the scheme is appropriately designed. In [31], the error bound is derived directly by using the standard energy approach since the scheme is skew-symmetric hence many challenging terms are cancelled. However, there are some essential difficulties to derive the error bound in the developed scheme in this paper. More precisely, the introduction of the auxiliary velocity variable actually leads to some essential hurdles in establishing the \(L^{\infty }\) bound of the numerical solutions that is the key ingredient to derive error estimates, and obtaining optimal error estimates for the pressure. To this end, the quantitative relations between the auxiliary velocity and velocity field is needed to be verified. By using the mathematical induction method combined with the convergence analysis, we further prove the \(L^{\infty }\) stabilities of the numerical solution, and obtain the optimal error estimate for the pressure by means of the negative norm estimate method. It is shown that the velocity and magnetic field are of optimal error orders when \(\delta t |\log h| \le 1\), and the pressure can attain the optimal convergence order when \(\delta t |\log h|^{\frac{1}{2}} \lesssim h\). Finally, several benchmark numerical experiments, including the Kelvin–Helmholtz shear instability and the magnetic-frozen phenomenon in the lid-driven cavity, are implemented to confirm the stability and the accuracy of the scheme.
The rest of paper is organized as follows. In Sect. 2, we present the model and derive the associated energy dissipation law. In Sect. 3, we develop the fully discrete finite element scheme. We prove the associated energy dissipation law in the fully discrete level. In Sect. 4, we derive the error estimates of the fully discrete scheme. In Sect. 5, various numerical experiments are presented to demonstrate the stability and effectiveness of the scheme. Finally, some concluding remarks are given in Sect. 6.
2 The MHD Model and Energy Law
The incompressible MHD equations reads as follows,
for \((\varvec{x},t)\in \Omega \times [0,T)\) with \(\Omega \subset \mathbb {R}^d, d=2, 3\), where \(\varvec{u}\) denotes the velocity field, p is the pressure, and \(\varvec{B}\) is the magnetic field. For the physical parameters, \(\nu ^{-1} = R_e\) (fluid Reynolds number), \(\eta ^{-1}= R_m\) (magnetic Reynolds number), and s is the coupling coefficient, which are given by
where U is the characteristic velocity, L is the characteristic length, \(\mu _f\) is the kinematic viscosity, \(\mu _m\) is the magnetic permeability, \(\sigma \) is the electric conductivity, B is the characteristic magnetic field, and \(\rho \) is the fluid density. The system is equipped with the following boundary conditions
and initial conditions
with \( \nabla \cdot \varvec{u}_0 =0\), \(\nabla \cdot \varvec{B}_0 =0\), where \({\varvec{n}}\) denotes the outward unit normal of \(\partial \Omega \).
We fix some notations here. In this paper, we focus on the numerical analysis of the MHD system in two dimensional case (\(d=2\)). The corresponding results in three dimensional case (\(d = 3\)) are listed in subsequent remarks. Here and after, for two vector functions \(\varvec{x}, \varvec{y}\), we denote the \(L^2\) inner product as \((\varvec{x}, \varvec{y} ) = \int _{\Omega } \varvec{x} \cdot \varvec{y} dx\) and \(L^2\) norm \(\Vert \varvec{x}\Vert ^2 = (\varvec{x}, \varvec{x})\). Let \(W^{k,r}(\Omega )\) stands for the standard Sobolev spaces equipped with the standard Sobolev norms \(\Vert \cdot \Vert _{k,r}\). For \(r = 2\), we write \(H^k(\Omega )\) for \(W^{k,2}(\Omega )\) and its corresponding norm is \(\Vert \cdot \Vert _k\). We let \(L^r(\Omega )\) denote the usual Lebesgue space on \(\Omega \) with the norm \(\Vert \cdot \Vert _{L^r}\).
For appropriate function setting of the MHD equations, we define
The following Poincaré type inequalities are well-known, see [11], which will be frequently used in our proof,
The model (2.1)–(2.6) follows the energy dissipation law. By taking the \(L^2\) inner product of (2.1) with \({\varvec{u}}\), and of (2.2) with \(s \varvec{B}\), using (2.3)–(2.4) and \(((\varvec{u} \cdot \nabla ) \varvec{u}, \varvec{u}) =0\) and integration by parts, we have
By taking the summation of the two equalities, we obtain
where \(E({\varvec{u}},\varvec{B})=\frac{1}{2} \Vert {\varvec{u}}\Vert ^2+\frac{s}{2}\Vert \varvec{B}\Vert ^2\) is the total energy of the MHD system (2.1)–(2.6).
3 Numerical Scheme and Energy Stability
In this section, we develop a fully decoupled, linearized, and unconditionally energy stable scheme in the fully discrete forms for solving the system (2.1)–(2.6), and show the unconditional energy stability in the fully discrete form with finite element discretizations for the spatial direction.
For \(l \ge 1\), \(r \ge 1\), we define the conforming finite element spaces \(\varvec{V}_h \subset H_0^1(\Omega )^2, \varvec{U}_h \subset H^1(\Omega )^2\) with \(\varvec{V}_h \subset \varvec{U}_h\), which consist of continuous piecewise polynomials of degree l, and \(\varvec{C}_h \subset \varvec{H}^1_{\tau }(\Omega ), M_h \subset H^1(\Omega )\cap L_0^2(\Omega )\), which consist of continuous piecewise polynomials of degree r, and \(l-1\), respectively. Moreover, the \(\varvec{V}_h\) and \(M_h\) satisfy the inf–sup condition:
A well known mixed finite element pair for \(\varvec{V}_h\) and \(M_h\) satisfying (3.1) is the Taylor-Hood element [11]. For \(\varvec{w}_h \in \varvec{U}_h\) or \(\varvec{C}_h\), the following inverse inequalities hold
In order to derive the error estimates in spatial discretization, we recall the well-known Stokes projection and Maxwell projection, see [11, 32], i.e., given \(\varvec{u} \in \varvec{V}, p \in L^2_0(\Omega )\), find \(R_{(\varvec{u}, p)} \in \varvec{V}_h\) and \(Q_{(\varvec{u}, p) }\in M_h\), such that
and given \(\varvec{B} \in \varvec{H}^1_{\tau }(\Omega )\), find \(J_{\varvec{B}} \in \varvec{C}_h\), such that
It is obvious that \(R_{(\varvec{u}, p)}, Q_{(\varvec{u}, p)}, J_{\varvec{B}}\) are stable in the sense that
Besides, if assuming \(({\varvec{u}}, p, \varvec{B}) \in H^{l+1}(\Omega )^2 \times H^l(\Omega ) \times H^{r+1}(\Omega )^2\), then the following approximations hold
Since \(Q_{(\varvec{u}, p)}\) is in \(H^1(\Omega )\), we can derive its \(H^1\) stability as follows, which will be used in our analysis.
Theorem 3.1
The Stokes projection \(Q_{(\varvec{u}, p)}\) is \(H^1\) stable in the sense that
Proof
We define \(H^1\) projection \(P_1: H^1(\Omega )\cap L^2_0(\Omega )\rightarrow M_h\) by
and it is easy to find
Using the above property, (3.4) and inverse inequality \(\Vert q_h\Vert _1 \le c h^{-1}\Vert q_h\Vert \), we derive
The proof is finished. \(\square \)
We assume the solution to (2.1)–(2.6) has the following regularity conditions
such that the following approximate properties hold
Now, we develop the fully discrete scheme based on the finite element discretization. It reads as follows.
Given the initial data \(\varvec{B}_h^0 = {J_{\varvec{B}}}_0, (\varvec{u}_h^0, p_h^0) = (R_{(\varvec{u}_0, p_0)}, Q_{(\varvec{u}_0, p_0)})\), where \(p_0\) is obtained by \(\varvec{u}_0, \varvec{B}_0\) and (2.1) following the method in [14], we compute \(\varvec{B}_h^{n+1}\), \(\tilde{\varvec{u}}_h^{n+1}\), \(p_h^{n+1}\), \({\varvec{u}}_h^{n+1}\) by the following steps.
Step 1 Find \(\varvec{B}_h^{n+1} \in \varvec{C}_h, \varvec{u}^n_{h*} \in \varvec{U}_h\) such that
Step 2 Find \(\tilde{\varvec{u}}_h^{n+1} \in \varvec{V}_h\) such that
Step 3 Find \(p_h^{n+1} \in M_h\) such that
Step 4 Update \(\varvec{u}_h^{n+1} \in \varvec{V}_h + \nabla M_h\) from
Remark 3.2
To avoid some technical difficulties in the error estimates at the initial time, here we set the initial data \(\varvec{u}_h^0\), \(p_h^0\) by the Stokes projection of \(\varvec{u}(0)\) and p(0). The difficulties at the initial time can be also overcome by making some approximation assumptions as (5.18) in [13]. In the numerical implementations, we can obtain the initial data through solving two equations at \(t=0\) like (3.7) and (3.8) in [1].
Remark 3.3
For the convective term in (3.10), we use the trilinear form as follows (cf. [30]),
Note when \(\varvec{u} \in H^1(\Omega )^2, \varvec{v}, \varvec{w} \in H_0^1(\Omega )^2\), by using the integration by parts, we derive
Therefore, when \(\nabla \cdot \varvec{u} =0\), we have \(b(\varvec{u}, \varvec{v}, \varvec{w}) = ((\varvec{u} \cdot \nabla ) \varvec{v}, \varvec{w})\).
Remark 3.4
For the fully discrete scheme (3.8), the exact divergence free for the magnetic field \(\varvec{B}_h^{n+1}\) is not valid any more. Therefore a common practice is to add a penalty term \( (\nabla \cdot \varvec{B}_h^{n+1}, \nabla \cdot \varvec{c}_h)\) in the momentum equation in order to verify the coercivity of the magnetic equation, and approximate the divergence free condition of the magnetic field for the spatial discrete case, cf. [15].
Remark 3.5
The final velocity field \(\varvec{u}_h^{n+1}\) satisfies the discrete divergence free condition. This can be deduced by taking the \(L^2\) inner product of (3.12) with \(\nabla q_h\), we obtain
After combining with (3.11), we arrive at
There are two advantages in the scheme (3.8)–(3.12): linear and decoupled, where the magnetic field \(\varvec{B}\), pressure p and velocity \(\varvec{u}\) can be solved linearly and independently at each time step. In addition, the unconditional energy stability holds, which is shown as follows.
Theorem 3.6
The scheme (3.8)–(3.12) is unconditionally energy stable in the sense that
Proof
By taking \(\varvec{c}_h =s \varvec{B}_h^{n+1}\) in (3.8) and \(\varvec{w}_h = \varvec{u}^n_{h*}\) in (3.9), and using the following identity
we obtain
and
By taking \(\varvec{v}_h = \tilde{\varvec{u}}_h^{n+1}\) in (3.10) and using the skew-symmetric property:
we derive
We rewrite (3.12) as
By taking the \(L^2\) inner product of the above with itself on both sides, and using (3.15), we obtain
Finally, by taking the summations (3.18), (3.19), (3.21) and (3.22), we obtain
After multiplying with \(2\delta t\) and dropping some positive terms, we obtain (3.16). \(\square \)
4 Error Estimates
In this section, we provide the convergence analysis for the fully discrete scheme (3.8)–(3.12). We first develop the error estimates for velocity and magnetic field in Sect. 4.1, then improve the error estimate for pressure in Sect. 4.2. Without loss of generality, we denote by C a generic constant that is independent of \(\delta t\) and h but possibly depends on the data and the solution, and use \(f \lesssim g\) to denote that there is a generic constant C such that \(f\le Cg\).
4.1 Error Estimates for the Velocity and Magnetic Field
For convenience, we denote \(d_t \phi ^n = \frac{\phi ^n - \phi ^{n-1}}{\delta t}\), \(d_t \phi (t_n) = \frac{\phi (t_n) - \phi (t_{n-1})}{\delta t}\) for any variable \(\phi , \phi (t)\). The model system (2.1)–(2.2) at \(t_{n+1}\) can be written as the truncation forms:
where \(R_b^{n+1}, R_u^{n+1}, R_p^{n+1}\) are the truncation terms.
We denote the error functions as
By subtracting (3.8) from (4.1), (3.10) from (4.2) and applying (3.9), and (3.12) from (4.3), we obtain the following error equations,
We assume the exact solution \(({\varvec{u}},\varvec{B},p)\) to the system (2.1)–(2.6) possesses the following regularity conditions,
One can easily establish the following estimates for the truncation errors, provided that the exact solutions are sufficiently smooth or satisfy the assumptions (A0), (A1).
Lemma 4.1
Under the assumptions (A0) and (A1), the truncation errors satisfy
Proof
Due to the page limit, we omit the proof since it is rather standard. \(\square \)
There are two essential challenges in deriving the error analysis for velocity and magnetic field. One is from the auxiliary intermediate function \(\varvec{u}_{h*}^n\) since there is no error equation corresponding to it. The other is how to obtain the \(L^{\infty }\) bound of the numerical solution \(\varvec{B}_h^n\) directly from the Eq. (3.8). To this end, we first build the relation between \(\varvec{u}_{h*}^n\) and \(\varvec{u}_h^n\) in Lemma 4.2. Then, by using the mathematical induction method, we establish the \(L^{\infty }\) bound for \(\varvec{B}_h^n\) in Lemma 4.3. The final error estimates are derived in Theorem 4.4.
Lemma 4.2
Under the assumption \((\mathbf A0)\), the following estimate holds
Proof
By taking \(\varvec{w}_h = \varvec{u}_{h *}^n - R_{(\varvec{u}(t_n), \varvec{p}(t_n))} \) in (3.9) and using (3.17), we get
which implies
where we use (3.7). \(\square \)
In order to demonstrate the \(L^{\infty }\) stability of \(\varvec{B}_h^n\), we first show the \(L^{\infty }\) bound of \(J_{\varvec{B}(t_n)}\). We denote \(\Pi : H^{r+1}(\Omega )^2 \cap \varvec{H}_{\tau }^1(\Omega ) \rightarrow C_h\) the interpolation operator, then we have the approximation properties (cf. [11])
Suppose the assumption \((\mathbf A0)\) holds, from (4.10), (3.7) and the inverse inequality (3.2), we derive
Furthermore, (4.11) also implies that the \(l^2(L^{\infty })\) bound of \(J_{ \varvec{B}(t_n)}\) satisfies
Let \(\kappa _0 = 2 T C^2_0 +1\), and assume the following regularity conditions hold
For the error estimates of velocity and magnetic field, we need the \(l^2(L^{\infty })\) bound of \(\varvec{B}_h^n\). Meanwhile for the error estimate of pressure, we further need the \(l^{\infty }(L^{\infty })\) bound of \(\varvec{B}_h^n\). Now, we state the \(l^2(L^{\infty })\) stability of \(\varvec{B}_h^n\) in the following lemma.
Lemma 4.3
Assuming that the solution to (2.1)–(2.6) satisfies the regularity assumptions (A0)-(A2), then there exist two positive constants \(\delta t_0\) and \(h_0\) such that, when \(\delta t \le \delta t_0, h \le h_0\) and \(\delta t |\log h| \le 1\), the solution \(\varvec{B}_h^n\) of scheme (3.8)–(3.12) satisfies
where \(\kappa _1 = 2C_0^2 + C_{\Omega } C(\kappa _0), \kappa _2 = C_{\Omega } C(\kappa _0)\), and the constants \(\delta t_0, h_0\), \(C(\kappa _0)\) will be verified in the proof.
Proof
We use the mathematical induction method here.
When \(n=0\), we have \(\delta t \Vert \varvec{B}_h^0\Vert ^2_{L^{\infty }} = \delta t \Vert J_{\varvec{B}_0}\Vert ^2_{L^{\infty }} \le C_0^2 \delta t \le \kappa _0\), and \(\delta t\Vert \varvec{B}_h^0\Vert ^2_{L^{\infty }}\le C_0^2 \delta t \le \kappa _1 \delta t + \kappa _2 h^{2\min \{l, r\}+1}\) ( \(\kappa _1\ge C_0^2\)).
Assuming that
are valid, we will show
are also valid via the following two steps. In Step i, we use the induction assumptions to derive the convergence analysis. In Step ii, using the convergence results obtained in Step i and inverse inequalities, we get the \(l^2(L^{\infty })\) bounds of \(\varvec{B}_h^{N+1}\).
(Step i). By taking \(\varvec{c}_h =\theta _b^{n+1}\) in (4.5), we obtain
By taking \(\varvec{v}_h={\tilde{\theta }}_u^{n+1}\) in (4.6), we derive
We rewrite (4.7) to obtain
where \(\rho ^{n+1} = R_p^{n+1}- \delta t \nabla d_t \rho ^{n+1}_p\). By taking the \(L^2\) inner product of (4.18) with itself on both sides, we obtain
We combine (4.16), (4.17) and (4.19) to obtain
We estimate the terms (A–F) one by one as follows.
For term A, using the Lemma 4.2, (3.6), (3.7) and regularity assumptions, we derive
For term B, by using (3.20), regularity assumptions, the inverse inequalities (3.2) and (3.6), we derive
For term C, from the equality of \(\nabla \times (a \times b) = b\nabla a- a \nabla b + a\nabla \cdot b - b \nabla \cdot a\), the inverse inequality (3.2), regularity conditions and (3.7), we derive
For term D, term E and term F, using (2.7), (2.8), and Lemma 4.1, we derive
and
and
Combining the above estimates with (4.20), we obtain
We choose any two positive constants \(\delta t_1\) and \(h_1\) that satisfy \(\kappa _1 \delta t_1 + \kappa _2 h_1^{2\min \{l, r\}+1}\le min (1, \sqrt{\frac{\eta }{2}}, \frac{\eta }{4})\). Then when \(\delta t \le \delta t_1\) and \(h\le h_1\), from the induction assumptions (4.14) for \(n \le N\), we have
Besides, from the inverse inequality (3.2), (4.14), and the assumption \(\delta t |\log h| \le 1\), \(\delta t\le \delta t_1\) and \(h\le h_1\), we get
Therefore, (4.21) becomes
Summing up the above inequality from \(n=0\) to N, and using the induction assumptions (4.14) and \(\theta _b^0 = \theta _u^0 =\theta _p^0 =0\), we obtain
In addition, using (3.6), (3.7), Theorem 3.1 and regularity condition \((\mathbf {A2})\), we obtain
and
Then, (4.22) becomes
By applying the Gronwall’s inequality to (4.23), we obtain
where \(C(\kappa _0)\) is a constant depending on \(\kappa _0\).
(Step ii). We assume that the condition \(\delta t|\log h| \le 1\) holds. By using the inverse inequality (3.2), (2.8), (4.11), (4.12) and (4.24), we derive
where we assume \(\delta t \le \delta t_2, h\le h_2\) and \(\delta t_2\) and \(h_2\) satisfy \(C_{\Omega } C(\kappa _0) ({\delta t_2} + |\log h_2| h_2^{2\min \{l, r\}+2})<1\).
By setting \(\kappa _1 = 2C_0^2 + C_{\Omega } C(\kappa _0), \kappa _2 = C_{\Omega } C(\kappa _0)\), we derive
The proof is completed if we simply let \(\delta t\le \delta t_0(:= min (\delta t_1, \delta t_2))\) and \(h\le h_0(:= min ( h_1, h_2))\). \(\square \)
Based on the above Lemma, now it is ready to obtain the error estimates for the velocity field and magnetic field, as follows.
Theorem 4.4
Under the conditions of Lemma 4.3, the following estimates hold
Proof
By Lemma 4.3, we already obtained
By following the same procedures of Step i of the proof in Lemma 4.3, for \(m\le [\frac{T}{\delta t}]\), we obtain
By using the triangle inequality, (3.6) and (3.7), the desired results (4.25) are concluded. \(\square \)
Remark 4.5
The convergence results in Theorem 4.4 are still valid for the three dimensional case (\(d=3\)), but the condition between the time step and grid size becomes more restrictive. More precisely, the condition is \(\delta t \lesssim h\) for \(d=3\) instead of \(\delta t|\mathrm{log}h|<1\) for \(d=2\). This is because a different inverse inequality will be used for \(d=3\) [11], namely
We omit the details due to the page limit and leave this to the interested readers.
4.2 Optimal Error Estimate for Pressure
Note the convergence order for the pressure term in Theorem 4.4 is not optimal. In this subsection, we aim at proving the optimal error estimate for the pressure. Due to the introduction of the auxiliary velocity field \(\varvec{u}^n_{h*}\), there exist two specific difficulties to improve the order for the pressure, including (i) how to derive the error between \(d_t \varvec{u}(t_n)\) and \(d_t \varvec{u}^n_{h*}\) since there does not exist an error equation for \(d_t \varvec{u}^n_{h*}\); and (ii) how to derive the optimal error estimate for \(\Vert d_t \theta _b^n\Vert \) which is needed for the estimate of the pressure.
For (i), we solve it by developing a relation between \(\Vert d_t \varvec{u}_h^n -d_t \varvec{u}^n_{h*}\Vert \) and other error functions in Lemma 4.7. For (ii), we build the error estimate for \(\Vert d_t \theta _b^{m+1}\Vert _{-1}^2 + \delta t \sum _{n=1}^m\Vert d_t \theta _b^{n+1}\Vert ^2\) by means of negative norm estimate technique in Lemmas 4.9 and 4.10. Based on these estimates, by using the inf–sup condition, the optimal convergence order of the pressure is finally obtained in Theorem 4.11.
For the error estimate of the pressure, we need the \(l^{\infty }(L^{\infty })\) stability of \(\varvec{B}_h^n\) that is derived in the following Lemma.
Lemma 4.6
Assuming that the solution to (2.1)–(2.6) satisfies assumptions \((\mathbf A0)\)–\((\mathbf A2)\), then when \(\delta t \le h\), the following estimates hold
where \(\kappa _3, \kappa _4\) will be verified in the proof.
Proof
From (4.27), if \(\delta t|\mathrm{log}h|\le 1 \), we have
We further assume a more restrictive condition for the time step: \(\delta t\le h\), then by the inverse inequality (3.2), we derive
and
The proof is finished. \(\square \)
We assume the solution \(\varvec{B}(t)\) to (2.1)–(2.6) satisfies:
In the next Lemma, we find the \(L^2\) relation between \(d_t \varvec{u}^n_h\) and \(d_t\varvec{u}^n_{h*}\) with other error functions which will be used in the error estimate for pressure.
Lemma 4.7
Assuming that the solution to (2.1)–(2.6) satisfies assumptions \((\mathbf A0)\)–\((\mathbf A3)\), when \(\delta t \lesssim h\), the following estimate holds
Proof
By applying \(d_t\) to (3.9), we obtain
By taking \(\varvec{w}_h = 2\delta t d_t \varvec{u}^n_{h*} - 2\delta t d_t R_{(\varvec{u}(t_n), p(t_n))}\) and using Lemma 4.6, regularity condition (\(\mathbf {A3}\)) and inverse inequality (3.2), we derive
where we assume \(\delta t^2 \lesssim \frac{\eta }{8} h^2\). After eliminating \(\Vert \varvec{w}_h\Vert ^2\), we arrive at the conclusion. \(\square \)
We apply \(d_t\) to (4.5)–(4.7) to obtain the following error equations:
We assume the solution \(\varvec{u}, p, \varvec{B}\) to (2.1)–(2.6) also satisfy the following regularities:
For the truncation errors in (4.29)–(4.31), we have the following Lemma.
Lemma 4.8
Under the assumptions \((\mathbf A0)\), \((\mathbf A1)\) and \((\mathbf A4)\), the truncation errors satisfy
Proof
Due to the page limit, we omit the proof since it is rather standard. \(\square \)
We define a symmetric positive definite operator \(A_h : \varvec{C}_h \rightarrow \varvec{C}_h\) through
Moreover, we denote
and it is easy to find \(\Vert A_h^{-1} \varvec{B}_h\Vert \lesssim \Vert \varvec{B}_h\Vert _{-1} \lesssim \Vert \varvec{B}_h\Vert \).
We will estimate the errors of \(\Vert d_t \theta _b^1\Vert _{-1}\) and \(\Vert d_t \theta _u^1\Vert \) at the initial time step in the following Lemma, that are needed to estimate \(\Vert d_t \theta _b^n \Vert _{-1}\) and \(\Vert d_t \theta _u^n\Vert \), both of which are crucial to derive the optimal error estimate for pressure.
Lemma 4.9
Under the conditions of Lemma 4.3 and \((\mathbf A 5)\), the following three estimates hold
Proof
(i). By taking \(n=0\) in (4.5) and setting \(\varvec{c}_h = A_h^{-1} \frac{\theta _b^1}{\delta t}\), from \(\theta _b^0 =0\), we obtain
We estimate the inner product terms in (4.33) as follows.
From the Lemma 4.2 and (4.27), we have \(\Vert \varvec{u}_0-\varvec{u}^0_{h*}\Vert ^2 \le \delta t^2 + h^{2l+2} + h^{2r+2}\). Thus, we obtain
Combining the above estimates with (4.33) and using Lemma 4.1 and (3.7), we deduce
which leads to the conclusion (i).
(ii). By setting \(n=0\) in (4.6) and taking \(\varvec{v}_h = \frac{1}{\delta t}{\tilde{\theta }}_u^1\), since \(\theta _u^0 =\theta _p^0=0\), we obtain
The inner product terms in (4.35) can be estimated as follows. By using (3.6) and regularity conditions, we get
By using (3.20) and (3.6), we get
By using the integration by parts and (3.7), we obtain
From the Theorem 3.1 and (\(\mathbf {A5}\)), we get
From the Lemma 4.1, we have
Combining these estimates with (4.35) and using (4.34), we derive
which is the conclusion (ii).
(iii) By setting \(n=0\) in (4.7), taking the \(L^2\) inner product of the obtained equation with itself on both sides, and using (4.36), we obtain
where \(\rho ^1 = R^1_p-\delta t \nabla d_t \rho ^1_p\), and \(\Vert \rho ^1\Vert \lesssim \delta t \Vert d_t \rho _p^1\Vert _1 + \Vert R_p^1\Vert \lesssim \delta t+ \delta t (\Vert d_t p(t_1)\Vert _1 + \Vert d_t \varvec{u}(t_1)\Vert _2) \lesssim \delta t\) by using Theorem 3.1 and Lemma 4.1. Since \(\theta _u^0 = 0, \theta _p^0 =0\), we obtain the conclusion (iii). \(\square \)
We assume the solution to (2.1)–(2.6) has the following regularity:
In the following Lemma, we will obtain the error estimate for \(\Vert d_t \theta _u^n\Vert \).
Lemma 4.10
Under assumptions \((\mathbf A0)\)–\((\mathbf A6)\), when \(\delta t |\log h|^{\frac{1}{2}}\lesssim h\), \(\delta t \le \delta t_0\) and \(h \le h_0\), the following estimate holds for \(1\le m \le [\frac{T}{\delta t}]-1\),
Proof
In Step i, we first prove the error estimate of \(\Vert d_t \theta _b^{m}\Vert _{-1}^2\)\(+\delta t \sum _{n=1}^m \Vert d_t \theta _b^{n}\Vert ^2\) using the negative norm technique; and in Step ii, we establish the error estimate for \(\Vert d_t \theta _u^n\Vert \) using the result from Step i.
(Step i). By taking \(\varvec{c}_h =A_h^{-1} d_t \theta ^{n+1}_b\) in (4.31), we have
We estimate the terms on the right hand side as follows.
By using Lemmas 4.2 and 4.6 and Theorem 4.4, we obtain \(\Vert \varvec{u}(t_n)-\varvec{u}^n_{h*}\Vert ^2\lesssim \delta t^2+ h^{2l+2} + h^{2r+2}\). Hence from the inverse inequality (3.2) and (3.7), we derive
By using Lemmas 4.7, 4.6, Theorem 4.4, (3.6), and (3.7), we derive the following three inequalities:
and
Combining the above estimates with (4.38), we obtain
Summing above inequality from \(n =1\) to m, using Theorem 4.4, Lemma 4.8, and (i) of Lemma 4.9, we derive
Therefore, by Gronwall’s inequality, we obtain if \(\delta t \le \delta t_0\),
(Step ii). By taking \(\varvec{v}_h = d_t {\tilde{\theta }}_u^{n+1}\) in (4.29), we have
From (4.30), we derive
where \(d_t \rho ^{n+1}= \nabla d_t \rho _p^n -\nabla d_t \rho _p^{n+1} + d_t R_p^{n+1}\).
By taking the \(L^2\) inner product of (4.41) with itself on both sides, we obtain
Combining (4.40) and (4.42), we get
We estimate the terms I–VI as follows.
For term I, by using (3.20), Theorem 4.4, and the inverse inequality (3.2), we derive
For term II, by applying the inverse inequality (3.2) and (3.6), we get
For term III, by using the integration by parts, the inverse inequality (3.2), Theorem 4.4 and (3.7), we derive
where we also use \(\Vert d_t \rho _b^{n+1}\Vert _1 \lesssim \Vert d_t \varvec{B}(t_{n+1})\Vert _1\) and \(\delta t |\log h|^{\frac{1}{2}} \lesssim h\).
For term IV, by using the integration by parts, the inverse inequality (3.2), Theorem 4.4 and (3.7), we derive
For terms V and VI, by (2.7), we derive
and
Combining (4.44)–(4.49) with (4.43), we obtain
By taking the summation of (4.50) from \(n=1\) to m, and using Lemma 4.8, Theorem 4.4, Lemma 4.9, (4.39), and (3.6), (3.3), we obtain
In addition, by applying the Theorem 3.1 and Lemma 4.8,
Therefore, by using (4.27) and the Gronwall’s inequality, we obtain
that is the desired result. \(\square \)
Finally, we are ready to obtain the optimal error estimate for pressure in the next Theorem.
Theorem 4.11
Under the assumptions of Lemma 4.10, the following estimate holds
Proof
From the inequality \(\Vert \nabla {\tilde{\theta }}_u^{n+1}\Vert -\Vert \nabla {\tilde{\theta }}_u^{n}\Vert \le \Vert \nabla {\tilde{\theta }}_u^{n+1} -\nabla {\tilde{\theta }}_u^{n}\Vert \) and Lemma 4.10, we derive
By applying (ii) of Lemma 4.9, we derive
From the triangle inequality, we have
By taking the summation of (4.6) and (4.7), we obtain the error equation with respective to pressure p
For the four trilinear terms in (4.54), we estimate them one by one as follows.
By applying the inverse inequality (3.2) and Theorem 4.4, we obtain
and
By using the integration by parts and the inverse inequality (3.2), (3.7) and Theorem 4.4, we get
Combining (4.55)–(4.58) with (4.54), we obtain
By applying the inf–sup condition (3.1), Lemma 4.10, (4.53), Theorem 4.4, Lemma 4.1 and (3.6), we obtain
The proof is completed by triangle inequality and (3.6). \(\square \)
Remark 4.12
For the three dimensional case (\(d=3\)), since the inverse inequalities are more restrictive: \(\Vert \varvec{w}_h\Vert _{L^{\infty }} \lesssim h^{-\frac{3}{2}}\Vert \varvec{w}_h\Vert , \Vert \varvec{w}_h\Vert _{L^{\infty }} \lesssim h^{-\frac{1}{2}}\Vert \varvec{w}_h\Vert _{L^6} \lesssim h^{-\frac{1}{2}}\Vert \varvec{w}_h\Vert _1\), Theorem 4.11 is still valid but provided that \(\delta t \lesssim h^{\frac{3}{2}}\).
5 Numerical Examples
We now implement various 2D numerical experiments to validate the stability and accuracy of the scheme. We use the inf–sup stable P2/P1 element [6] for the velocity and pressure, and linear element for the magnetic field.
5.1 Accuracy Test
We first perform numerical simulations to test the convergence rates of the proposed scheme. The computational domain is \(\Omega = [0, 1]\times [0,1].\) We assume the following functions
to be the exact solution, and impose some suitable force fields such that the given solution can satisfy the system. Choose \(\nu = \eta =s=1\). In Table 1, we list the numerical errors between the numerical solution and the exact solution at \(T =1\) with different time step sizes. Since the relation between the spatial grid size h and temporal step size \(\delta t\) to be \(\delta t = h^2\), we observe the second order accuracy asymptotically for \(\Vert e_u\Vert _{L^2}, \Vert e_u\Vert _{H^1}, \Vert e_p\Vert _{L^2}, \Vert e_b\Vert _{L^2}\) and the first order accuracy for \(\Vert e_b\Vert _{H^1}\), as predicted theoretically.
5.2 Stability Test
We show the evolution of the total free energy in this example. We set the computed domain to be \(\Omega =[0,1]^2\), and the initial conditions for \({\varvec{u}}, p, \varvec{B}\) are
We test the energy stability over matching time of the proposed scheme under varing physical parameters of \(R_e=R_m=10, 50\). The coupling parameter is fixed as \(s=1\), and mesh size is \(h=1/64\). In Fig. 1, we present the time evolution of the total free energy for four different time steps of \(\delta t=0.05, 0.01, 0.001, 0.0001 \) until \(T=5\). We observe that all four energy curves decay monotonically for all time step sizes, which numerically confirms that our algorithm is unconditionally energy stable.
5.3 Hydromagnetic Kelvin–Helmholtz instability
The Kelvin–Helmholtz (K–H) instability in sheared flow configurations is an efficient mechanism to initiate mixing of fluids, transport of momentum and energy, and the development of turbulence. This phenomenon is of interest in investigating a variety of space, astrophysical, and geophysical situations involving sheared plasma flows. Configurations where it is relevant include the interface between the solar wind and the magnetosphere, coronal streamers moving through the solar wind, etc. Since most astrophysical environments are electrically conducting and relevant fluids are likely to be magnetized, it is thus of prime importance to understand the role of magnetic fields in the K–H instability. About the theoretical and numerical study of Hydromagnetic K–H instability, we refer to [5, 8, 9, 12, 17, 24, 27] and the references therein.
We study the occurring of the K–H instability in a single shear flow configuration that is embedded in a uniform flow-aligned magnetic field. The simulation is performed in the computed domain of \([0, 2] \times [0, 1]\). The initial velocity field is \(\varvec{u}_0=(1.5, 0)\) in the top half domain, and \(\varvec{u}_0= (-1.5, 0)\) in the bottom half domain. The sheared initial magnetic field is \(\varvec{B}_0 = (\tanh (y / \epsilon ), 0)\) where \(\epsilon =0.07957747154595\) (cf. [9]). The velocity \(\varvec{u}\), magnetic field \(\varvec{B}\) and pressure p are periodic boundary conditions on left and right boundaries. On the top and bottom boundary, the second component v of the velocity field \({\varvec{u}}=(u,v)\) is imposed. The boundary conditions for \(\varvec{B}\) are \(\varvec{B} \times \varvec{n} = \varvec{B}_0\times \varvec{n}\) for the top boundary and \(- \varvec{B}_0 \times \varvec{n}\) for the bottom. We let \(R_e=R_m=1000\), \(s=0.09\), and use the time step \(\delta t = 0.01\), grid size \(h=\frac{1}{40}\) to compute it.
In Fig. 2, we show snapshots of the magnitude of \(\varvec{B}_1\) that is the first component of \(\varvec{B}=(\varvec{B}_1,\varvec{B}_2)\) together with the velocity field \(\varvec{u}\) at \(t=0.1, 1, 2, 2.2, 2.5, 3, 3.5, 4\). When time evolves, we can observe the vortexes start to form around \(t=2\). After \(t=2.5\), the profiles of vortexes and the magnetic field show the typical structure of K-H instability, and soon it deforms and rotates along with the flow. The obtained numerical results coincide well with the numerical/experimental results discussed in [5, 8, 17, 27], qualitatively.
5.4 Lid Driven Cavity
Finally we perform the lid driven cavity flow simulation of a conducting fluid. The computed domain is \((x,y)\in \Omega =[0,1]\times [0,1]\). The boundary condition of the magnetic field is either horizontal case \( \varvec{B}|_{\partial \Omega }=(1, 0)\) (denoted by H-magnetic) or vertical case \(\varvec{B}|_{\partial \Omega }=(0, 1)\) (denoted by V-magnetic). The no-slip boundary conditions are imposed on the bottom, left, and right sides of the cavity and the lid moves from left to right with the constant speed \({\varvec{u}}|_{y=1}=(1,0)\).
First, we set \(R_e=400, R_m=40\) and Hartmann number \(H_a(:=\sqrt{sR_eR_m})=100\). In Fig. 3, we show the steady state for three cases: no magnetic field, H-magnetic and V-magnetic, respectively. For the case of no magnetic field, this situation is actually a pure hydrodynamic problem, in which we observe the cavity is dominated by one large primary eddy in the center, together with a smaller secondary eddy in the right corner. For the H-magnetic case, two large eddies appear in the upper and lower part. For the V-magnetic case, two large eddies are located in the upper left and upper right. Similar features had been observed in [3] as well.
Second, we perform the so-called “magnetic frozen” simulations by varying the magnetic Reynolds number \(R_m\). We set the fluid Reynolds number and Hartmann number to be \(R_e=1000,H_a = 10\), and five different values of \(R_m=10, 100, 200, 400, 1000\) in Fig. 4. We observe that the magnetic field bends gradually as \(R_m\) grows, which means the convection of magnetic field yields more and more notable influences. When the magnetic field is strong enough, for instance when \(R_m=100, 200, 400, 1000\), the magnetic field form a big eddy at the center of the cavity which is quite similar to the corresponding fluid flow. This feature is called as the magnetic field is frozen inside the velocity field. Similar phenomenon had been reported in [28] as well.
6 Concluding Remarks
In this paper, we develop a fully decoupled, linear and unconditionally energy stable scheme for solving the incompressible MHD system, and prove the unconditional energy stability for the fully discrete scheme with the finite element approximations. We further rigorously establish the optimal error estimates for this scheme, and implement ample benchmark numerical experiments to demonstrate the stability and the accuracy in simulating some benchmark problems, including the Kelvin–Helmholtz shear instability and the magnetic-frozen phenomenon in the lid-driven cavity.
References
Achdou, Y., Guermond, J.-L.: Convergence analysis of a finite element projection/Lagrange–Galerkin method for the incompressible Navier–Stokes equations. SIAM J. Numer. Anal. 37, 799–826 (2000)
Adler, J.H., Benson, T.R., Cyr, E.C., MacLachlan, S.P., Tuminaro, R.S.: Monolithic multigrid methods for two-dimensional resistive magnetohydrodynamics. SIAM J. Sci. Comput. 38, B1–B24 (2016)
Aydın, S.H., Nesliturk, A., Tezer-Sezgin, M.: Two-level finite element method with a stabilizing subgrid for the incompressible MHD equations. Int. J. Numer. Methods Fluids 62, 188–210 (2010)
Badia, S., Planas, R., Gutiérrez-Santacreu, J.V.: Unconditionally stable operator splitting algorithms for the incompressible magnetohydrodynamics system discretized by a stabilized finite element formulation based on projections. Int. J. Numer. Methods Eng. 93, 302–328 (2013)
Baty, H., Keppens, R., Comte, P.: The two-dimensional magnetohydrodynamic Kelvin–Helmholtz instability: compressibility and large-scale coalescence effects. Phys. Plasmas 10, 4661–4674 (2003)
Bernardi, C., Maday, Y.: Uniform inf–sup conditions for the spectral discretization of the Stokes problem. Math. Models Methods Appl. Sci. 9, 395–414 (1999)
Choi, H., Shen, J.: Efficient splitting schemes for magneto-hydrodynamic equations. Sci. China Math. 59, 1495–1510 (2016)
Choudhury, S.R.: The initial-value problem for the Kevin–Helmholtz instability of high velocity and magnetized shear layers. Q. Appl. Math. 54, 637–662 (1996)
Cyr, E.C., Shadid, J.N., Tuminaro, R.S., Pawlowski, R.P., Chacón, L.: A new approximate block factorization preconditioner for two-dimensional incompressible (reduced) resistive MHD. SIAM J. Sci. Comput. 35, B701–B730 (2013)
Gerbeau, J.-F., Le Bris, C., Lelièvre, T.: Mathematical Methods for the Magnetohydrodynamics of Liquid Metals. Clarendon Press, Oxford (2006)
Girault, V., Raviart, P.: Finite Element Method for Navier–Stokes Equations: Theory and Algorithms, pp. 395–414. Springer, Berlin (1987)
Goedbloed, J.P., Keppens, R., Poedts, S.: Advanced Magnetohydrodynamics: With Applications to Laboratory and Astrophysical Plasmas. Cambridge University Press, Cambridge (2010)
Guermond, J.L., Quartapelle, L.: On the approximation of the unsteady Navier–Stokes equations by finite element projection methods. Numer. Math. 80, 207–238 (1998)
Guermond, J.L., Shen, J.: On the error estimates for the rotational pressure-correction projection methods. Math. Comput. 73, 1719–1737 (2004)
Gunzburger, M.D., Meir, A.J., Peterson, J.S.: On the existence, uniqueness, and finite element approximation of solutions of the equations of stationary, incompressible magnetohydrodynamics. Math. Comput. 56, 523–563 (1991)
He, Y.: Unconditional convergence of the Euler semi-implicit scheme for the three-dimensional incompressible MHD equations. IMA J. Numer. Anal. 35, 767–801 (2014)
Jones, T.W., Gaalaas, J.B., Frank, D.R.A.: The MHD Kelvin–Helmholtz instability. ii. The roles of weak and oblique fields in planar flows. Astrophys. J. 482, 230–244 (1997)
Layton, W., Tran, H., Trenchea, C.: Numerical analysis of two partitioned methods for uncoupling evolutionary MHD flows. Numer. Methods Partial Differ. Equ. 30, 1083–1102 (2014)
Lin, F., Xu, L., Zhang, P.: Global small solutions of 2-D incompressible MHD system. J. Differ. Equ. 259, 5440–5485 (2015)
Lin, F., Zhang, P.: Global small solutions to an MHD-type system: the three-dimensional case. Commun. Pure Appl. Math. 67, 531–580 (2014)
Liu, J.-G., Pego, R.: Stable discretization of magnetohydrodynamics in bounded domains. Commun. Math. Sci. 8, 235–251 (2010)
Ma, Y., Hu, K., Hu, X., Xu, J.: Robust preconditioners for incompressible MHD models. J. Comput. Phys. 316, 721–746 (2016)
Moreau, R.J.: Magnetohydrodynamics. Springer, Berlin (2013)
Phillips, E.G., Shadid, J.N., Cyr, E.C., Elman, H.C., Pawlowski, R.P.: Block preconditioners for stable mixed nodal and edge finite element representations of incompressible resistive MHD. SIAM J. Sci. Comput. 38, B1009–B1031 (2016)
Priest, E.R., Hood, A.W.: Advances in Solar System Magnetohydrodynamics. Cambridge University Press, Cambridge (1991)
Prohl, A.: Convergent finite element discretizations of the nonstationary incompressible magnetohydrodynamics system. ESAIM Math. Model. Numer. Anal. 42, 1065–1087 (2008)
Ryu, D., Jones, T.W., Frank, A.: The magnetohydrodynamic Kelvin–Helmholtz instability: a three-dimensional study of nonlinear evolution. Astrophys. J. 545, 475–493 (2000)
Salah, N.B., Soulaimani, A., Habashi, W.G.: A finite element method for magnetohydrodynamics. Comput. Methods Appl. Mech. Eng. 190, 5867–5892 (2001)
Sermange, M., Temam, R.: Some mathematical questions related to the MHD equations. Commun. Pure Appl. Math. 36, 635–664 (1983)
Temam, R.: Sur l’approximation de la solution des équations de Navier–Stokes par la méthode des pas fractionnaires II. Arch. Ration. Mech. Anal. 33, 377–385 (1969)
Yang, X., Zhang, G.D., He, X.: Convergence analysis of an unconditionally energy stable projection scheme for magneto-hydrodynamic equations. Appl. Numer. Math. 136, 235–256 (2019)
Zhang, G.-D., He, Y.: Decoupled schemes for unsteady MHD equations II: finite element spatial discretization and numerical implementation. Comput. Math. Appl. 69, 1390–1406 (2015)
Zhang, G.-D., He, Y.: Decoupled schemes for unsteady mhd equations. i. Time discretization. Numer. Methods Partial Differ. Equ. 33, 956–973 (2017)
Funding
G. D. Zhang was supported by National Science Foundation of China under grant numbers 11601468 and 11771375 and Shandong Province Natural Science Foundation (ZR2018MA008). X. He was partially supported by the U.S. National Science Foundation under Grant NO. DMS-1818642. X. Yang was partially supported by the U.S. National Science Foundation under Grant Nos. DMS-1720212 and DMS-1818783
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
Zhang, GD., He, X. & Yang, X. A Decoupled, Linear and Unconditionally Energy Stable Scheme with Finite Element Discretizations for Magneto-Hydrodynamic Equations. J Sci Comput 81, 1678–1711 (2019). https://doi.org/10.1007/s10915-019-01059-1
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10915-019-01059-1