Next Article in Journal
Natural Fractals as Irreversible Disorder: Entropy Approach from Cracks in the Semi Brittle-Ductile Lithosphere and Generalization
Previous Article in Journal
A Hybrid PAPR Reduction Scheme in OFDM-IM Using Phase Rotation Factors and Dither Signals on Partial Sub-Carriers
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Modular Grad-Div Stabilization Method for Time-Dependent Thermally Coupled MHD Equations

College of Mathematics and System Science, Xinjiang University, Urumqi 830017, China
*
Author to whom correspondence should be addressed.
Entropy 2022, 24(10), 1336; https://doi.org/10.3390/e24101336
Submission received: 19 August 2022 / Revised: 15 September 2022 / Accepted: 16 September 2022 / Published: 22 September 2022
(This article belongs to the Topic Numerical Methods for Partial Differential Equations)

Abstract

:
In this paper, we consider a fully discrete modular grad-div stabilization algorithm for time-dependent thermally coupled magnetohydrodynamic (MHD) equations. The main idea of the proposed algorithm is to add an extra minimally intrusive module to penalize the divergence errors of velocity and improve the computational efficiency for increasing values of the Reynolds number and grad-div stabilization parameters. In addition, we provide the unconditional stability and optimal convergence analysis of this algorithm. Finally, several numerical experiments are performed and further indicated these advantages over the algorithm without grad-div stabilization.

1. Introduction

The incompressible magnetohydrodynamic (MHD) model has a wide range of applications in scientific and engineering, such as electromagnetic pumping, liquid metal, electrolyte, and so on (see [1,2,3,4]). As we know, the  MHD model describes the interaction of an incompressible viscous conducting fluid and the electromagnetic field. In other words, it is a multi-physics phenomenon: the magnetic field changes the momentum of the fluid through the Lorenz force, and conversely, the conducting fluid influences the magnetic field through electric currents. When the buoyancy effects cannot be neglected in the momentum equation (owing to temperature differences in the flow), the MHD equations are usually coupled to the heat equation.
In this work, we consider the non-dimensional thermally coupled MHD equations with Boussinesq approximation as follows [5]:
u t ν Δ u + ( u · ) u + p + S B × c u r l B = β θ + f 1 , · u = 0 , B t + R m 1 curl curl B curl ( u × B ) = 0 , · B = 0 , θ t κ Δ θ + ( u · ) θ = f 2 ,
which hold for all ( x , t ) Ω × [ 0 , T ] , where T > 0 is a given finite final time and Ω R d ( d = 2 , 3 ) is a bounded domain, u , B , p , θ represent the fluid velocity, magnetic field, pressure and temperature, respectively; f 1 and f 2 denote the external force terms. Some non-dimensional numbers in the above equations are characterized as follows:
α : = L U , thermally diffusivity , ν 1 = R e : = ρ U L η , Reynolds number , S : = B 2 μ ρ U 2 , coupling coefficient , β : = ρ g δ θ L 3 α η , thermal expansion coefficient , R m : = μ σ L U , Magnetic Reynolds number , κ : = ρ C r L U , thermal conductivity .
Here, L is a characteristic length of the problem, U represents a characteristic velocity, B is a characteristic magnetic field, ρ is the fluid density, η is denoted as the fluid viscosity, μ is the magnetic permittivity, g is the gravitational acceleration vector, σ is the electric conductivity, C r is the adiabatic coefficient, δ θ represents a characteristic temperature difference, usually computed from temperature boundary values when they are not zero. The initial values and boundary conditions of the system (1) are set as follows:
u ( x , 0 ) = u 0 , B ( x , 0 ) = B 0 , θ ( x , 0 ) = θ 0 , x Ω , u = 0 , B · n = 0 , n × c u r l B = 0 , on Ω × [ 0 , T ] .
In the recent years, much effort has been spent on the development of some efficient numerical methods to investigate this problem. Meir considered the existence and uniqueness of solutions for the thermally coupled MHD flow in [6], and developed the Galerkin finite-element method (FEM). Moreover, optimal error analysis of the model was established in [7]. A stabilized finite-element method was proposed in [8]. Furthermore, a decoupled Crank–Nicolson time-stepping scheme and partitioned time-stepping scheme for the thermally coupled MHD system were considered in [9,10], respectively, and some meaningful stability and convergence results were presented. Yang and Zhang [11] gave the convergence and stability analysis of three iterative methods of the steady thermally coupled MHD equations. In addition, Ding et al. studied convergence analysis of the Crank–Nicolson-extrapolated fully discrete scheme [5] and gave a fully discrete Euler semi-implicit scheme with the magnetic equation approximated by N e ´ d e ´ lec edge elements to capture the physical solutions [12], respectively. In addition, the modified characteristics finite-element method and projection method have been proposed in [13,14]. The unconditional stability of the fully discrete scheme and the optimal second-order convergent accuracy in both time and spatial discretizations were proved in [15]. Moreover, a linear fully decoupled velocity correction method for the thermally coupled MHD model was studied in [16].
It is worth mentioning that classical conforming finite-element discretizations for incompressible flows relax the divergence constraint, and give only a relatively weak limit. Although this enables us to construct a stable discretization of the inf-sup condition, a  weak limit will lead to errors in the continuous pressure that depends on the Reynolds number and causes inaccurate computational solutions for many flow problems. In order to overcome this difficulty, a grad-div stabilization was discovered for the first time in [17], which is a simple and popular method for improving mass conservation of numerical solutions and only adds a term that equals zero in a continuous equation. The analysis of grad-div stabilization for Stokes equations and Navier–Stokes equations were proposed in [18,19]. For the time-dependent Stokes/Darcy model, two grad-div stabilization methods were proposed in [20]. In addition, a grad-div stabilized projection finite-element method for a double-diffusive natural convection model was given in [21]. In view of this, a great deal of related interesting works have been reported in the recent years [22,23,24]. Although it is easy to implement it in the program, it also has some shortcomings: on the one hand, the stabilization makes it too difficult to solve due to an increased coupling in the system. On the other hand, too large values of grad-div parameters cause a low condition number of the corresponding linear system [25].
To solve the above problems, recently, a modular grad-div stabilization method has been proposed in [26], which allows the Navier–Stokes equations to be solved in two steps. Then, they also gave a BDF2 modular grad-div stabilization method for the Navier–Stokes equations in [27]. Next, the modular grad-div stabilization method of MHD and Boussinesq equations was proposed in [28,29], respectively. In [30], Li et al. presented a rotational pressure-correction method for the Stokes/Darcy model based on the modular grad-div stabilization.
As we know, the conservation of mass plays an important role in the construction of numerical schemes for incompressible fluids. Under certain extreme situations, nonphysical phenomena may appear if discrete solutions are not mass-conservative (see [31] for comprehensive discussions). Moreover, a large Reynolds number will cause the problem of convection dominance, which makes it very difficult to solve. Recently, many researchers are interested in studying highly efficient numerical algorithms for the thermally coupled MHD problem, but there is less attention to deal with the conservation of mass and high Reynolds number simultaneously. Since the modular grad-div stabilization not only improves the conservation of mass, but  has been proven useful for increasing values of the Reynolds number and grad-div parameters, the purpose of this paper is to apply the idea from [27] to the thermally coupled MHD model to improve the mass conservation of numerical solutions, and guarantee that the proposed algorithm is still effective for large Reynolds numbers. Here, we propose a first-order fully discrete modular grad-div stabilization method for the thermally coupled MHD equations, which adopts an Euler semi-implicit scheme for the time-discretization. This scheme is divided into two steps; in the first step, the intermediate velocity and other physical unknown quantities are solved. In the second step, we add two penalty terms to enforce improving the mass conservation and ensure high efficiency of the algorithm with large Reynolds numbers and grad-div stabilization parameters. Moreover, the unconditional stability and error estimation corresponding to this scheme are completed in this paper. Numerical examples further verify the reliability of the proposed algorithm.
This paper is arranged as follows. Section 2 describes the necessary notations and mathematical preliminaries. In Section 3, a fully-discrete modular grad-div stabilization method for the incompressible thermally coupled MHD equation is presented. In Section 4 and Section 5, we give its complete stability and convergence analysis, respectively. We also present some numerical experiments to illustrate the reliability and effectiveness of the method in Section 6. Finally, the last section summarizes the results of the paper.

2. Preliminaries

In this section, we use · 0 , 2 and ( · , · ) to denote the usual L 2 ( Ω ) and its inner product. For  m N + , 1 p , the L p ( Ω ) norm and W m , p ( Ω ) norm are denoted by · 0 , p and · m , p , respectively. Particularly, H m ( Ω ) represents the case of p = 2 . In addition, X is defined as a normed function space in Ω , L p ( 0 , T ; X ) is the space of all functions defined on Ω × ( 0 , T ) , and the norm is bounded
u L p ( 0 , T ; X ) : = 0 T u X p d x , 1 p .
These notations of Lebesgue and Sobolev spaces are used throughout this paper. We consider the classical function spaces as follows:
X : = ( H 0 1 ( Ω ) ) d = { v ( H 1 ( Ω ) ) d : v = 0 on Ω } , Q : = L 0 2 ( Ω ) = { q L 2 ( Ω ) : Ω q d x = 0 } , M : = ( H n 1 ( Ω ) ) d = { B ( H 1 ( Ω ) ) d : B · n = 0 on Ω } , W : = H 0 1 ( Ω ) ,
the divergence-free subspaces of X and M are defined by:
X 0 : = { v X : div v = 0 } , M 0 : = { B M : div B = 0 } .
From [32], we have the following two formulas
( a × b ) × c · d = ( a × b ) · ( c × d ) = ( a × b ) · ( d × c ) ,
Ω curl Φ · Ψ dx = Ω ( Φ × n ) · Ψ ds + Ω Φ · curl Ψ dx ,
which imply that for all Φ , Ψ M and w X ,
curl ( w × Φ ) , Ψ = < ( w × Φ ) × n , Ψ > | Ω + ( w × Φ , curl Ψ ) = curl Ψ × Φ , w .
Therefore, the weak formulation of (1) reads: find ( u , p , B , θ ) L 2 ( 0 , T ; X ) × L 2 ( 0 , T ; Q ) × L 2 ( 0 , T ; M ) × L 2 ( 0 , T ; W ) , such that for all ( v , q , C , φ ) X × Q × M × W ,
( u t , v ) + ν ( u , v ) + b ( u , u , v ) + S ( B × c u r l B , v ) ( p , · v ) + ( · u , q ) = ( β θ + f 1 , v ) , ( B t , C ) + R m 1 ( curl B , curl C ) ( B × c u r l C , u ) = 0 , ( θ t , φ ) + κ ( θ , φ ) + b ( u , θ , φ ) = ( f 2 , φ ) , u ( x , 0 ) = u 0 , B ( x , 0 ) = B 0 ,
with
b ( u , v , w ) = ( ( u · ) v , w ) + 1 2 ( ( · u ) w , v ) = 1 2 ( ( u · ) v , w ) 1 2 ( ( u · ) w , v ) , u , v , w X .
Furthermore, the analysis of time-discretization utilizes the following norms, for 1 m < :
| | | v | | | m , : = sup 1 n N v n m , | | | v n | | | m , p : = ( τ n = 0 N 1 v n m p ) 1 p .
For u , v , w X , we have some properties of these trilinear forms (see [33])
| b ( u , v , w ) | C 0 u 0 , 2 v 0 , 2 w 0 , 2 , | b ( u , v , w ) | C 1 u 0 , 2 1 2 u 0 , 2 1 2 v 0 , 2 w 0 , 2 .
Additionally, for  v X and B , C M from [34,35], we have the following bounds:
| ( v × B , curl C ) | C 3 v 0 , 2 curl B 0 , 2 curl C 0 , 2 , | ( v × B , curl C ) | C 4 v 2 , 2 B 0 , 2 curl C 0 , 2 , | ( v × B , curl C ) | C 5 v 0 , 2 B 2 , 2 C 0 , 2 .
Here and after, C (with or without a subscript) denotes a general positive constant, which may represent different values in different situations. In addition, we need the following assumptions on the prescribed data for problem (1), as it is useful for our later theoretical analysis.
Assumption A1.
The initial data u 0 X 0 H 2 ( Ω ) d , B 0 M 0 H 2 ( Ω ) d , θ 0 W 0 H 2 ( Ω ) , f 1 and f 2 satisfy
u 0 2 , 2 + B 0 2 , 2 + θ 0 2 , 2 + sup 0 t T ( f 1 0 , 2 + f 1 t 0 , 2 + f 2 0 , 2 + f 2 t 0 , 2 ) C .
Assumption A2.
The problem (1) has a unique local strong solution ( u , p , B , θ ) on [ 0 , T ] such that
sup 0 t T ( u ( t ) 2 , 2 + B ( t ) 2 , 2 + θ ( t ) 2 , 2 + p ( t ) 1 , 2 + u t ( t ) 0 , 2 + B t ( t ) 0 , 2 + θ t ( t ) 0 , 2 ) + 0 T ( u t 0 , 2 2 + B t 0 , 2 2 + θ t 0 , 2 2 + u t t 1 , 2 2 + B t t 1 , 2 2 + θ t t 1 , 2 2 ) C .
Assumption A3.
Assume that the boundary of Ω is smooth so that the unique solution ( v , q ) of the Stokes problem in [34]
Δ u + q = f u , div v = 0 in Ω , v | Ω = 0 ,
for prescribed f u L 2 ( Ω ) d satisfies
v 2 , 2 + q 1 , 2 C f u 0 , 2 ,
and Maxwell’s equations
curl curl B = f B , div B = 0 in Ω , n × curl B = 0 , B · n = 0 o n Ω ,
for prescribed f B L 2 ( Ω ) d admit a unique solution B M 0 which satisfies
B 2 , 2 C f B 0 , 2 .
The following lemma is very important in convergence analysis; so, we recall it from [34].
Lemma 1
(Discrete Gronwall’s Lemma). Let a n , b n and d n for the integer n 0 be nonnegative numbers such that
a m + τ n = 0 m b n τ n = 0 m 1 a n d n + C * , m 1 ,
then
a m + τ n = 0 m b n C * exp ( τ n = 0 m 1 d n ) , m 1 .
For the spatial discretization, we define the following finite spaces, where ( u , p ) using the finite-element pair ( P 1 b , P 1 ) and B , θ using P 1 element. Let π h = { K } be a uniformly regular family of triangulation of Ω , and define the mesh size h = max K π h { h K , h K = d i a m ( K ) > 0 } .
X h : = ( P 1 b ) d X , Q h : = { q h C 0 ( Ω ) d Q : q h | K P 1 ( K ) , K π h } , M h : = { B h C 0 ( Ω ) d M : B h | K P 1 ( K ) , K π h } , W h : = { θ h C 0 ( Ω ) d W : θ h | K P 1 ( K ) , K π h } .
Here, P 1 b is defined as (more details see [32])
P 1 b : = { v h C 0 ( Ω ) d : v h | K P 1 ( K ) s p a n { b ^ } , K π h } .
Furthermore, we need the subspace X 0 h of X h which is defined as
X 0 h : = { v h X h : ( · v h , q ) = 0 , q h Q h } .
Let ( v , q ) X 0 × Q , we denote by ( R h ( v , q ) , q h ( v , q ) ) X h × Q h the so-called Stokes projection. The projections satisfy the following properties (see [32]):
R h v 0 , 2 + h ( R h v 0 , 2 + q h q 0 , 2 ) C h 2 ( A v 0 , 2 + q 1 , 2 ) ,
for all ( v , q ) ( H 2 X ) × ( H 1 Q ) , where a discrete analogue A h = P h Δ h of the Stokes operator A is defined through the condition that ( Δ h u h , v h ) = ( u h , v h ) for all u h , v h X h .
Next, we give the numerical scheme of this paper.

3. A Modular Grad-Div Stabilization Method for Time-Dependent Thermally Coupled MHD Equations

  Now, we construct a fully-discrete numerical scheme for solving the model system (1) and prove the corresponding unconditional stability. Divide the simulation time T into N smaller time intervals [ 0 , T ] = n = 0 N 1 [ t n , t n + 1 ] , where t n = n τ , T = N τ . Our numerical scheme reads as follows.

4. Stability Analysis

Now, we focus on the stability of Algorithm 1. Our stability analysis shows that approximate solutions of Algorithm 1 are stable without any time step restriction. In order to obtain the stability result, we first present a lemma which gives a relation between solutions of Step 1 and Step 2.
Algorithm 1 A Modular Grad-Div Stabilization Method
Step 1: For all ( v h , q h , C h , φ h ) ( X h , Q h , M h , W h ) , find ( u ^ h n + 1 , p h n + 1 , B h n + 1 , θ h n + 1 ) ( X h , Q h , M h , W h ) such that
( d t θ h n + 1 , φ h ) + κ ( θ h n + 1 , φ h ) + b ( u h n , θ h n + 1 , φ h ) = ( f 2 n + 1 , φ h ) , ( d t u ^ h n + 1 , v h ) + ν ( u ^ h n + 1 , v h ) + b ( u h n , u ^ h n + 1 , v h ) ( p h n + 1 , · v h ) + ( · u ^ h n + 1 , q h ) + S ( B h n × curl B h n + 1 , v h ) = ( β θ h n + 1 + f 1 n + 1 , v h ) , ( d t B h n + 1 , C h ) + 1 / R m ( curl B h n + 1 , curl C h ) ( u ^ h n + 1 × B h n , curl C h ) = 0 .
Step 2: For all v h X h , find u h n + 1 X h such that
( u h n + 1 u ^ h n + 1 τ , v h ) + β 0 ( d t · u h n + 1 , · v h n + 1 ) + γ 0 ( · u h n + 1 , · v h n + 1 ) = 0 ,
where u h 0 = u ^ h 0 , d t u ^ h n + 1 = 1 τ ( u ^ h n + 1 u h n ) , d t s h n + 1 = 1 τ ( s h n + 1 s h n ) , s = θ or s = B , and the stabilization parameters β 0 , γ 0 0 .
Lemma 2.
Let u h n + 1 be solutions to (6). Then, it holds
u ^ h n + 1 0 , 2 2 = u h n + 1 0 , 2 2 + u h n + 1 u ^ h n + 1 0 , 2 2 + 2 γ 0 τ · u h n + 1 0 , 2 2 + β 0 ( · u h n + 1 0 , 2 2 · u h n 0 , 2 2 + · ( u h n + 1 u h n ) 0 , 2 2 ) .
Proof. 
We choose v h = 2 τ u h n + 1 in (6) and use 2 ( a b , a ) = | a | 2 | b | 2 + | a b | 2 , rearrange terms to obtain the desired estimates. □
Theorem 1.
Assume that f 1 , f 2 L 2 ( 0 , T ; H 1 ( Ω ) ) . Then, the solutions of Algorithm 1 satisfy the following: for any τ > 0 , and we set H = κ 1 τ n = 0 N 1 f 2 n + 1 1 2 + θ h 0 0 , 2 2 .
u h N 0 , 2 2 + S B h N 0 , 2 2 + β 0 · u h N 0 , 2 2 + θ h N 0 , 2 2 + τ n = 0 N 1 ( ν u ^ h n + 1 0 , 2 2 + 2 S R m 1 × B h n + 1 0 , 2 2 + 2 γ 0 · u h n + 1 0 , 2 2 + κ θ h n + 1 0 , 2 2 ) + n = 0 N 1 ( u ^ h n + 1 u h n 0 , 2 2 + u h n + 1 u ^ h n + 1 0 , 2 2 + β 0 · u h n + 1 · u h n 0 , 2 2 + S B h n + 1 B h n 0 , 2 2 + θ h n + 1 θ h n 0 , 2 2 ) u h 0 0 , 2 2 + S B h 0 0 , 2 2 + β · u h 0 0 , 2 2 + θ h 0 0 , 2 2 + 2 ν 1 β 2 C p 2 κ 1 H + τ n = 0 N 1 ( 2 ν 1 f 1 n + 1 1 2 + κ 1 f 2 n + 1 1 2 ) C ,
Proof. 
We first prove the temperature stability result. We set φ h = 2 τ θ h n + 1 in (5), apply the Canchy–Schwarz and Young’s inequalities on the right hand side, yielding
θ h n + 1 0 , 2 2 θ h n 0 , 2 2 + θ h n + 1 θ h n 0 , 2 2 + κ τ θ h n + 1 0 , 2 2 κ 1 τ f 2 n + 1 1 2 .
For Equations (5), we set v h = 2 τ u ^ h n + 1 , C h = 2 S τ B h n + 1 to get
u ^ h n + 1 0 , 2 2 u h n 0 , 2 2 + u ^ h n + 1 u h n 0 , 2 2 + ν τ u ^ h n + 1 0 , 2 2 + 2 S τ ( B h n × curl B h n + 1 , u ^ h n + 1 ) 2 β 2 C p 4 ν 1 τ θ h n + 1 0 , 2 2 + 2 ν 1 τ f 1 n + 1 1 2 .
S ( B h n + 1 0 , 2 2 B h n 0 , 2 2 + B h n + 1 B h n 0 , 2 2 ) + 2 S R m 1 τ × B h n + 1 0 , 2 2 2 S τ ( u ^ h n + 1 × B h n , × B h n + 1 ) = 0 .
From (7), we obtain
τ n = 0 N 1 θ n + 1 0 , 2 2 κ 1 ( κ 1 τ n = 0 N 1 f 2 n + 1 1 2 + θ 0 0 , 2 2 ) = κ 1 H .
The obtained results are substituted into (8), then summed over time steps with this estimate, and finally, rearranging terms finishes the proof. □

5. Error Analysis

In this section, we show that solutions of the proposed algorithm converge to the true solutions of (1). In order to obtain the equations, we denote true solutions at time level t n + 1 , the error analysis needs the following error decomposition at time level t n + 1 :
e ^ u n + 1 : = u ( t n + 1 ) u ^ h n + 1 = ( u ( t n + 1 ) u ˜ n + 1 ) ( u ^ h n + 1 u ˜ n + 1 ) : = η u n + 1 Λ u , h n + 1 , e u n + 1 : = u ( t n + 1 ) u h n + 1 = ( u ( t n + 1 ) u ˜ n + 1 ) ( u h n + 1 u ˜ n + 1 ) : = η u n + 1 ϕ u , h n + 1 , e θ n + 1 : = θ ( t n + 1 ) θ h n + 1 = ( θ ( t n + 1 ) θ ˜ n + 1 ) ( θ h n + 1 θ ˜ n + 1 ) : = η θ n + 1 ϕ θ , h n + 1 , e B n + 1 : = B ( t n + 1 ) B h n + 1 = ( B ( t n + 1 ) B ˜ n + 1 ) ( B h n + 1 B ˜ n + 1 ) : = η B n + 1 ϕ B , h n + 1 ,
where u ˜ n + 1 denotes interpolation of u ( t n + 1 ) in X h , θ ˜ n + 1 denotes interpolation of θ ( t n + 1 ) in W h , B ˜ n + 1 denotes interpolation of B ( t n + 1 ) in M h .
Lemma 3.
Consider the second step of Algorithm 1, then it holds (see [29])
Λ u , h n + 1 0 , 2 2 ϕ u , h n + 1 0 , 2 2 + Λ u , h n + 1 ϕ u , h n + 1 0 , 2 2 + β 0 ( · ϕ u , h n + 1 0 , 2 2 · ϕ u , h n 0 , 2 2 ) + β 0 2 · ( ϕ u , h n + 1 ϕ u , h n ) 0 , 2 2 + γ 0 τ · ϕ u , h n + 1 0 , 2 2 β 0 τ · ϕ u , h n 0 , 2 2 β 0 ( 1 + 2 τ ) t n t n + 1 η u , t 0 , 2 2 d t γ 0 τ η u n + 1 0 , 2 2 .
Theorem 2.
Suppose that Assumption 1–3 are satisfied, then the following estimate holds
e u N 0 , 2 2 + β 0 · e u N 0 , 2 2 + S e B N 0 , 2 2 + e θ , h N 0 , 2 2 ) + τ n = 0 N 1 ( ν e ^ u n + 1 0 , 2 2 + S R m curl e B n + 1 0 , 2 2 + κ e θ 0 , 2 2 + γ 0 · e u n + 1 0 , 2 2 ) C ( τ h 2 + τ h + h 2 + τ 2 ) .
Proof. 
For simplicity, our entire proof process is divided into three steps, as shown below.
Step 1: [The derivation of error equations] Let ( v , q ) = ( v h , q h ) , C = C h , φ = φ h in (2) with t = t n + 1 , and use integration by parts to get
( d t u ( t n + 1 ) , v h ) + a ( u ( t n + 1 ) , v h ) + b ( u ( t n + 1 ) , u ( t n + 1 ) , v h ) S ( curl B ( t n + 1 ) × B ( t n + 1 ) , v h ) d ( v h , p ( t n + 1 ) ) + d ( u ( t n + 1 ) , q h ) = ( f 1 ( t n + 1 ) , v h ) + β ( θ ( t n + 1 ) , v h ) 1 τ t n t n + 1 ( t t n ) ( u t t ( t ) , v h ) d t ,
( d t B ( t n + 1 ) , C h ) + 1 R m ( curl B ( t n + 1 ) , curl C h ) ( u ( t n + 1 ) × B ( t n + 1 ) , curl C h ) = 1 τ t n t n + 1 ( t t n ) ( B t t ( t ) , C h ) d t ,
( d t θ ( t n + 1 ) , φ h ) + κ ( θ ( t n + 1 ) , φ h ) + b ( u ( t n + 1 ) , θ ( t n + 1 ) , φ h ) = ( f 2 ( t n + 1 ) , φ h ) .
Then, subtracting (5) from (9)–(11), respectively, we obtain
( d t e ^ u n + 1 , v h ) + a ( e ^ u n + 1 , v h ) + b ( u ( t n ) , u ( t n + 1 ) , v h ) b ( u h n , u ^ h n + 1 , v h ) d ( v h , p ( t n + 1 ) p h n + 1 ) + d ( e ^ u n + 1 , q h ) + S ( B ( t n ) × curl B ( t n + 1 ) , v h ) S ( B h n × curl B h n + 1 , v h ) = β ( e θ n + 1 , v h ) + ( E 1 n + 1 , v h ) ,
( d t e B n + 1 , C h ) + 1 R m ( curl e B n + 1 , curl C h ) ( u ( t n + 1 ) × B ( t n ) , curl C h ) + ( u ^ h n + 1 × B h n , curl C h ) = ( E 2 n + 1 , C h ) ,
( d t e θ n + 1 , φ h ) + κ ( e θ n + 1 , φ h ) + b ( u ( t n ) , θ ( t n + 1 ) , φ h ) b ( u h n , θ h n + 1 , φ h ) = ( E 3 n + 1 , φ h ) .
Here,
( E 1 n + 1 , v h ) = 1 τ t n t n + 1 ( t t n ) ( u t t ( t ) , v h ) d t + 1 τ t n t n + 1 ( t t n ) ( f 1 t ( t ) , v h ) d t + b ( u ( t n ) u ( t n + 1 ) , u ( t n + 1 ) , v h ) + S ( ( B ( t n ) B ( t n + 1 ) ) × curl B ( t n + 1 ) , v h ) ,
( E 2 n + 1 , C h ) = 1 τ t n t n + 1 ( t t n ) ( B t t ( t ) , C h ) d t ( u ( t n + 1 ) × ( B ( t n ) B ( t n + 1 ) ) , curl C h ) ,
( E 3 n + 1 , φ h ) = 1 τ t n t n + 1 ( t t n ) ( θ t t ( t ) , φ h ) d t + 1 τ t n t n + 1 ( t t n ) ( f 2 t ( t ) , φ h ) d t + b ( u ( t n ) u ( t n + 1 ) , θ ( t n + 1 ) , φ h ) .
Using the decomposition and setting v h = 2 τ Λ u , h n + 1 in (12), C h = 2 τ ϕ B , h n + 1 in (13), φ h = 2 τ ϕ θ , h n + 1 in (14), and adding the three equations, we deduce that
Λ u , h n + 1 0 , 2 2 ϕ u , h n 0 , 2 2 + Λ u , h n + 1 ϕ u , h n 0 , 2 2 + 2 ν τ Λ u , h n + 1 0 , 2 2 + S ( ϕ B , h n + 1 0 , 2 2 ϕ B , h n 0 , 2 2 + ϕ B , h n + 1 ϕ B , h n 0 , 2 2 ) + 2 τ S R m curl ϕ B , h n + 1 0 , 2 2 + ϕ θ , h n + 1 0 , 2 2 ϕ θ , h n 0 , 2 2 + ϕ θ , h n + 1 ϕ θ , h n 0 , 2 2 + 2 κ τ ϕ θ , h n + 1 0 , 2 2 = 2 τ ( d t η u n + 1 , Λ u , h n + 1 ) + 2 τ S ( d t η B n + 1 , ϕ B , h n + 1 ) + 2 τ ( d t η θ n + 1 , ϕ θ , h n + 1 ) + 2 ν τ ( η u n + 1 , Λ u , h n + 1 ) + 2 τ S R m ( curl η B n + 1 , curl ϕ B , h n + 1 ) + 2 κ τ ( η θ n + 1 , ϕ θ , h n + 1 ) + 2 τ b ( u ( t n ) , u ( t n + 1 ) , Λ u , h n + 1 ) 2 τ b ( u h n , u ^ h n + 1 , Λ u , h n + 1 ) + 2 τ S ( B ( t n ) × curl B ( t n + 1 ) , Λ u , h n + 1 ) 2 τ S ( B h n × curl B h n + 1 , Λ u , h n + 1 ) 2 τ β ( η θ n + 1 ϕ θ , h n + 1 , Λ u , h n + 1 ) 2 τ S ( u ( t n + 1 ) × B ( t n ) , curl ϕ B , h n + 1 ) + 2 τ S ( u ^ h n + 1 × B h n , curl ϕ B , h n + 1 ) + 2 τ b ( u ( t n ) , θ ( t n + 1 ) , ϕ θ , h n + 1 ) 2 τ b ( u h n , θ h n + 1 , ϕ θ , h n + 1 ) 2 τ ( E 1 n + 1 , Λ u , h n + 1 ) 2 τ ( E 2 n + 1 , ϕ B , h n + 1 ) 2 τ ( E 3 n + 1 , ϕ θ , h n + 1 ) .
Inserting ± 2 τ b ( u h n , u ( t n + 1 ) , Λ u , h n + 1 ) , ± 2 τ b ( u ^ h n + 1 , η u n + 1 , Λ u , h n + 1 ) , ± 2 τ S ( B h n × curl B ( t n + 1 ) , Λ u , h n + 1 ) , ± 2 τ S ( u ( t n + 1 ) × B h n , curl ϕ B , h n + 1 ) , ± 2 τ S ( η u n + 1 × B h n + 1 , curl ϕ B , h n + 1 ) , ± 2 τ b ( u h n , θ ( t n + 1 ) , ϕ θ , h n + 1 ) , ± 2 τ b ( u ^ h n + 1 , η θ n + 1 , ϕ θ , h n + 1 ) . Then, the above equation can be rewritten as follows:
Λ u , h n + 1 0 , 2 2 ϕ u , h n 0 , 2 2 + Λ u , h n + 1 ϕ u , h n 0 , 2 2 + 2 ν τ Λ u , h n + 1 0 , 2 2 + S ( ϕ B , h n + 1 0 , 2 2 ϕ B , h n 0 , 2 2 + ϕ B , h n + 1 ϕ B , h n 0 , 2 2 ) + 2 τ S R m curl ϕ B , h n + 1 0 , 2 2 + ϕ θ , h n + 1 0 , 2 2 ϕ θ , h n 0 , 2 2 + ϕ θ , h n + 1 ϕ θ , h n 0 , 2 2 + 2 κ τ ϕ θ , h n + 1 0 , 2 2 = 2 τ ( d t η u n + 1 , Λ u , h n + 1 ) + 2 τ S ( d t η B n + 1 , ϕ B , h n + 1 ) + 2 τ ( d t η θ n + 1 , ϕ θ , h n + 1 ) + 2 ν τ ( η u n + 1 , Λ u , h n + 1 ) + 2 τ S R m ( curl η B n + 1 , curl ϕ B , h n + 1 ) + 2 κ τ ( η θ n + 1 , ϕ θ , h n + 1 ) + 2 τ b ( η u n , u ( t n + 1 ) , Λ u , h n + 1 ) 2 τ b ( ϕ u , h n , u ( t n + 1 ) , Λ u , h n + 1 ) + 2 τ b ( τ d t u ^ h n + 1 , η u n + 1 , Λ u , h n + 1 ) + 2 τ b ( u ^ h n + 1 , η u n + 1 , Λ u , h n + 1 ) + 2 τ S ( η B n × curl B ( t n + 1 ) , Λ u , h n + 1 ) 2 τ S ( ϕ B , h n × curl B ( t n + 1 ) , Λ u , h n + 1 ) + 2 τ S ( B h n × curl η B n + 1 , Λ u , h n + 1 ) 2 τ S ( u ( t n + 1 ) × η B n , curl ϕ B , h n + 1 ) 2 τ β ( η θ n + 1 ϕ θ , h n + 1 , Λ u , h n + 1 ) + 2 τ S ( u ( t n + 1 ) × ϕ B , h n , curl ϕ B , h n + 1 ) 2 τ S ( η u n + 1 × ( τ d t B h n + 1 ) , curl ϕ B , h n + 1 ) 2 τ S ( η u n + 1 × B h n + 1 , curl ϕ B , h n + 1 ) + 2 τ b ( η u n , θ ( t n + 1 ) , ϕ θ , h n + 1 ) 2 τ b ( ϕ u , h n , θ ( t n + 1 ) , ϕ θ , h n + 1 ) + 2 τ b ( τ d t u ^ h n + 1 , η θ n + 1 , ϕ θ , h n + 1 ) + 2 τ b ( u ^ h n + 1 , η θ n + 1 , ϕ θ , h n + 1 ) 2 τ ( E 1 n + 1 , Λ u , h n + 1 ) 2 τ ( E 2 n + 1 , ϕ B , h n + 1 ) 2 τ ( E 3 n + 1 , ϕ θ , h n + 1 ) .
Step 2: [The estimation of the right-hand side terms of error equations] We now estimate each term of the right-hand sides of (15) separately.
2 τ | ( d t η u n + 1 , Λ u , h n + 1 ) | C t n t n + 1 η u t 0 , 2 2 d t + ν τ 11 Λ u , h n + 1 0 , 2 2 , 2 τ S | ( d t η B n + 1 , ϕ B , h n + 1 ) | C t n t n + 1 η B t 0 , 2 2 d t + τ S 7 R m curl ϕ B , h n + 1 0 , 2 2 , 2 τ | ( d t η θ n + 1 , ϕ θ , h n + 1 ) | t n t n + 1 η θ t 0 , 2 2 d t + κ τ 8 ϕ θ , h n + 1 0 , 2 2 , 2 ν τ | ( η u n + 1 , Λ u , h n + 1 ) | C τ η u n + 1 0 , 2 2 + ν τ 11 Λ u , h n + 1 0 , 2 2 , 2 τ S R m | ( curl η B n + 1 , curl ϕ B , h n + 1 ) | C τ curl η B n + 1 0 , 2 2 + τ S 7 R m curl ϕ B , h n + 1 0 , 2 2 , 2 κ τ | ( η θ n + 1 , ϕ θ , h n + 1 ) | C τ η θ n + 1 0 , 2 2 + κ τ 8 ϕ θ , h n + 1 0 , 2 2 .
Next, using (3), the inverse inequality, the Canchy–Schwarz and Young’s inequalities, we arrive at
2 τ | b ( η u n , u ( t n + 1 ) , Λ u , h n + 1 ) | 2 τ η u n 0 , 2 u ( t n + 1 ) 0 , 2 Λ u , h n + 1 0 , 2 C τ u ( t n + 1 ) 0 , 2 2 η u n 0 , 2 2 + ν τ 11 Λ u , h n + 1 0 , 2 2 , 2 τ | b ( ϕ u , h n , u ( t n + 1 ) , Λ u , h n + 1 ) | C τ u ( t n + 1 ) 2 , 2 2 ϕ u , h n 0 , 2 2 + ν τ 11 Λ u , h n + 1 0 , 2 2 , 2 τ | b ( u h n u ^ h n + 1 , η u n + 1 , Λ u , h n + 1 ) | C τ h 1 / 2 u h n u ^ h n + 1 0 , 2 η u n + 1 0 , 2 Λ u , h n + 1 0 , 2 C τ h 1 u h n u ^ h n + 1 0 , 2 2 η u n + 1 0 , 2 2 + ν τ 11 Λ u , h n + 1 0 , 2 2 , 2 τ | b ( u ^ h n + 1 , η u n + 1 , Λ u , h n + 1 ) | C τ u ^ h n + 1 0 , 2 2 η u n + 1 0 , 2 2 + ν τ 11 Λ u , h n + 1 0 , 2 2 .
Then, using (4) with Cauchy–Schwarz and Young’s inequalities, we obtain
2 τ S | ( η B n × curl B ( t n + 1 ) , Λ u , h n + 1 ) | C τ B ( t n + 1 ) 2 , 2 2 η B n 0 , 2 2 + ν τ 11 Λ u , h n + 1 0 , 2 2 , 2 τ S | ( ϕ B , h n × curl B ( t n + 1 ) , Λ u , h n + 1 ) | C τ B ( t n + 1 ) 2 , 2 2 ϕ B , h n 0 , 2 2 + ν τ 11 Λ u , h n + 1 0 , 2 2 , 2 τ S | ( B h n × curl η B n + 1 , Λ u , h n + 1 ) | C τ curl B h n 0 , 2 2 curl η B n + 1 0 , 2 2 + ν τ 11 Λ u , h n + 1 0 , 2 2 .
Similarly, we obtain
2 τ S | ( u ( t n + 1 ) × η B n , curl ϕ B , h n + 1 ) | C τ u ( t n + 1 ) 2 , 2 2 η B n 0 , 2 2 + τ S 7 R m curl ϕ B , h n + 1 0 , 2 2 , 2 τ S | ( u ( t n + 1 ) × ϕ B , h n , curl ϕ B , h n + 1 ) | C τ u ( t n + 1 ) 2 , 2 2 ϕ B , h n 0 , 2 2 + τ S 7 R m curl ϕ B , h n + 1 0 , 2 2 , 2 τ S | ( η u n + 1 × ( τ d t B h n + 1 ) , curl ϕ B , h n + 1 ) | C τ B h n B h n + 1 0 , 2 2 h 1 η u n + 1 0 , 2 2 + τ S 7 R m curl ϕ B , h n + 1 0 , 2 2 , 2 τ S | ( η u n + 1 × B h n + 1 , curl ϕ B , h n + 1 ) | C τ curl B h n + 1 0 , 2 2 η u n + 1 0 , 2 2 + τ S 7 R m curl ϕ B , h n + 1 0 , 2 2 .
Showing that
2 τ | b ( η u n , θ ( t n + 1 ) , ϕ θ , h n + 1 ) | C τ η u n 0 , 2 2 θ ( t n + 1 ) 0 , 2 2 + κ τ 8 ϕ θ , h n + 1 0 , 2 2 , 2 τ | b ( ϕ u , h n , θ ( t n + 1 ) , ϕ θ , h n + 1 ) | C τ θ ( t n + 1 ) 2 , 2 2 ϕ u , h n 0 , 2 2 + κ τ 8 ϕ θ , h n + 1 0 , 2 2 , 2 τ | b ( τ d t u ^ h n + 1 , η θ n + 1 , ϕ θ , h n + 1 ) | C τ h 1 u h n u ^ h n + 1 0 , 2 2 η θ n + 1 0 , 2 2 + κ τ 8 ϕ θ , h n + 1 0 , 2 2 , 2 τ | b ( u ^ h n + 1 , η θ n + 1 , ϕ θ , h n + 1 ) | C τ u ^ h n + 1 0 , 2 2 η θ n + 1 0 , 2 2 + κ τ 8 ϕ θ , h n + 1 0 , 2 2 , 2 τ | β ( η θ n + 1 ϕ θ , h n + 1 , Λ u , h n + 1 ) | C τ η θ n + 1 0 , 2 2 + κ τ 8 ϕ θ , h n + 1 0 , 2 2 + ν τ 11 Λ u , h n + 1 0 , 2 2 .
Further, we can obtain
E 1 n + 1 1 , 2 2 = ( sup v h X h , v h 0 | ( E 1 n + 1 , v h ) | v h 0 , 2 ) 2 C τ ( t n t n + 1 ( f 1 t ( t ) 0 , 2 2 + u t t 1 , 2 2 ) d t + u ( t n + 1 ) 0 , 2 2 t n t n + 1 u t ( t ) 0 , 2 2 d t + B ( t n + 1 ) 0 , 2 2 t n t n + 1 B t ( t ) 0 , 2 2 d t ) ,
E 2 n + 1 1 , 2 2 = ( sup C h M h , C h 0 | ( E 2 n + 1 , C h ) | curl C h 0 , 2 ) 2 C τ ( t n t n + 1 B t t 1 , 2 2 d t + u ( t n + 1 ) 0 , 2 2 t n t n + 1 B t ( t ) 0 , 2 2 d t ) ,
E 3 n + 1 1 , 2 2 = ( sup φ h W h , φ h 0 | ( E 3 n + 1 , φ h ) | φ h 0 , 2 ) 2 C τ ( t n t n + 1 ( f 2 t ( t ) 0 , 2 2 + θ t t 1 , 2 2 ) d t + θ ( t n + 1 ) 0 , 2 2 t n t n + 1 u t ( t ) 0 , 2 2 d t ) .
For the above three inequalities, we sum n = 0 to N 1
n = 0 N 1 ( E 1 n + 1 1 , 2 2 + E 2 n + 1 1 , 2 2 + E 3 n + 1 1 , 2 2 ) C τ 0 T ( f 1 t ( t ) 0 , 2 2 + f 2 t ( t ) 0 , 2 2 + u t t 1 , 2 2 + B t t 1 , 2 2 + θ t t 1 , 2 2 ) d t + C τ ( u ( t n + 1 ) 0 , 2 2 + B ( t n + 1 ) 0 , 2 2 + θ ( t n + 1 ) 0 , 2 2 ) 0 T ( u t ( t ) 0 , 2 2 + B t ( t ) 0 , 2 2 ) d t .
Based on Assumptions 1 and 3, we arrive at
τ n = 0 N 1 ( E 1 n + 1 1 , 2 2 + E 2 n + 1 1 , 2 2 + E 3 n + 1 1 , 2 2 ) C τ 2 .
Step 3: [The completion of the proof] Substituting all the above inequalities into the right-hand term of (15) and applying Assumptions 1–3, asserting Lemma 3, yields
ϕ u , h n + 1 0 , 2 2 ϕ u , h n 0 , 2 2 + Λ u , h n + 1 ϕ u , h n 0 , 2 2 + Λ u , h n + 1 ϕ u , h n + 1 0 , 2 2 + ν τ Λ u , h n + 1 0 , 2 2 + S ( ϕ B , h n + 1 0 , 2 2 ϕ B , h n 0 , 2 2 + ϕ B , h n + 1 ϕ B , h n 0 , 2 2 ) + τ S R m curl ϕ B , h n + 1 0 , 2 2 + ϕ θ , h n + 1 0 , 2 2 ϕ θ , h n 0 , 2 2 + ϕ θ , h n + 1 ϕ θ , h n 0 , 2 2 + κ τ ϕ θ , h n + 1 0 , 2 2 + β 0 ( · ϕ u , h n + 1 0 , 2 2 · ϕ u , h n 0 , 2 2 ) + β 0 2 · ( ϕ u , h n + 1 ϕ u , h n ) 0 , 2 2 + γ 0 τ · ϕ u n + 1 0 , 2 2 β 0 ( 1 + 2 τ ) t n t n + 1 η u t 0 , 2 2 d t + β 0 τ · ϕ u , h n 0 , 2 2 + γ 0 τ η u n + 1 0 , 2 2 + C ( t n t n + 1 η u t 0 , 2 2 d t + t n t n + 1 η B t 0 , 2 2 d t + t n t n + 1 η θ t 0 , 2 2 d t + τ η u n + 1 0 , 2 2 + τ curl η B n + 1 0 , 2 2 + τ η θ n + 1 0 , 2 2 ) + C τ ( η u n 0 , 2 2 + η B n 0 , 2 2 + ϕ u , h n 0 , 2 2 + S ϕ B , h n 0 , 2 2 ) + C τ ( h 1 u h n u ^ h n + 1 0 , 2 2 η u n + 1 0 , 2 2 + h 1 B h n B h n + 1 0 , 2 2 η u n + 1 0 , 2 2 + h 1 u h n u ^ h n + 1 0 , 2 2 η θ n + 1 0 , 2 2 ) + C τ ( u ^ h n + 1 0 , 2 2 η u n + 1 0 , 2 2 + curl B h n 0 , 2 2 curl η B n + 1 0 , 2 2 + curl B h n + 1 0 , 2 2 η u n + 1 0 , 2 2 + u ^ h n + 1 0 , 2 2 η θ n + 1 0 , 2 2 ) + C τ ( η θ n + 1 0 , 2 2 + E 1 n + 1 1 , 2 2 + E 2 n + 1 1 , 2 2 + E 3 n + 1 1 , 2 2 ) .
Then, we sum over time steps and use the results of Lemma 2 and regularity Assumptions 1–3, and arrive at
ϕ u , h N 0 , 2 2 + β 0 · ϕ u , h N 0 , 2 2 + S ϕ B , h N 0 , 2 2 + ϕ θ , h N 0 , 2 2 ) + τ n = 0 N 1 ( ν Λ u , h n + 1 0 , 2 2 + S R m curl ϕ B , h n + 1 0 , 2 2 + κ ϕ θ , h n + 1 0 , 2 2 + γ 0 · ϕ u , h n + 1 0 , 2 2 ) C τ n = 0 N 1 ( ϕ u , h n 0 , 2 2 + β 0 · ϕ u , h n 0 , 2 2 + S ϕ B , h n 0 , 2 2 + ϕ θ , h n 0 , 2 2 ) + C ( τ h 2 + τ h + h 2 + τ 2 + ϕ u , h 0 0 , 2 2 + β 0 · ϕ u , h 0 0 , 2 2 + S ϕ B , h 0 0 , 2 2 + ϕ θ , h 0 0 , 2 2 ) .
Further, we apply Gronwall’s lemma and use ϕ u , h 0 = ϕ B , h 0 = 0 , ϕ θ , h 0 = 0 , to obtain
ϕ u , h N 0 , 2 2 + β 0 · ϕ u , h N 0 , 2 2 + S ϕ B , h N 0 , 2 2 + ϕ θ , h N 0 , 2 2 ) + τ n = 0 N 1 ( ν Λ u , h n + 1 0 , 2 2 + S R m curl ϕ B , h n + 1 0 , 2 2 + κ ϕ θ , h n + 1 0 , 2 2 + γ 0 · ϕ u , h n + 1 0 , 2 2 ) C ( τ h 2 + τ h + h 2 + τ 2 ) .
Finally, applying the triangle inequality yields the desired results. □

6. Numerical Experiment

In this section, we give two numerical experiments to illustrate the reliability of the thermally coupled MHD problem. One aspect is to verify the predicted stability and convergence rates of the previous section, another is to consider the flexibility of large Reynolds number and grad-div stabilization parameters. In the following tests, we use the finite-element pair ( P 1 b , P 1 , P 1 , P 1 ) for the velocity/pressure/magnetic/temperature, respectively.

6.1. An Exact Solution Problem

First, we consider an exact solution problem to verify the stability and the convergence rates of Algorithm 1 for problems (1). Let the domain Ω = [ 0 , 1 ] × [ 0 , 1 ] R 2 and the mesh is obtained by dividing Ω into squares and drawing a diagonal in each square. Therefore, the exact solution ( u , p , B , θ ) is given by
u 1 ( x , y , t ) = x 2 ( x 1 ) 2 y ( y 1 ) ( 2 y 1 ) cos ( t ) , u 2 ( x , y , t ) = x ( x 1 ) ( 2 x 1 ) y 2 ( y 1 ) 2 cos ( t ) , B 1 ( x , y , t ) = sin ( π x ) cos ( π y ) cos ( t ) , B 2 ( x , y , t ) = sin ( π y ) cos ( π x ) cos ( t ) , p ( x , y , t ) = ( 2 x 1 ) ( 2 y 1 ) cos ( t ) , θ ( x , y , t ) = u 1 + u 2 ,
then, the external force terms f 1 and f 2 , boundary conditions, and initial values in Equations (1) are selected to correspond to the exact solution. The parameters κ = S = R m = 1 , end time T = 1 .
In Table 1, we set β 0 = 0.2 , γ 0 = 1 , ν = 1 for convergence rates and vary the mesh size 1 / h between 4, 8, 16, 32, 64. The expected accuracy is consistent with theoretical results. In addition, we can get the H 1 ( Ω ) -norm convergence rates of velocity, magnetic, and temperature fields to be O ( h ) , the L 2 ( Ω ) -norm convergence rates of velocity magnetic, and temperature fields are O ( h 2 ) .
Next, our test is for R e increasing. We fix τ = h , h = 1 / 32 and set β 0 = 0.2 , γ 0 = 1 . In Table 2, errors for velocity and pressure with increasing R e of the method without grad-div and modular grad-div stabilization method are compared. The corresponding solutions are no-Stab and Modular. We observe that the error of the proposed algorithm hardly increases. However, the approximate solutions generated by the no-Stab method is getting worse and worse, especially for gradient and divergence results of velocity.
Finally, we fix R e = 1 , τ = h , h = 1 / 32 , vary the grad-div parameters 0.1 β 0 10 5 and 0.1 γ 0 10 5 . The results are presented in Table 3. We observe that the result of velocity divergence errors of our method becomes small as γ 0 increases, but β 0 has not much impact on them.

6.2. Thermally Driven Cavity Flow Problem

In this experiment, we consider thermal driven cavity flow [36] in 2 D to verify the efficiency of the proposed algorithm with high Reynolds number. The computation domain is Ω = [ 0 , 1 ] × [0,1] and we set the external force terms f 1 = 0 , f 2 = 0 . The initial conditions are given by B 0 = 0 , u 0 = 0 and θ 0 = 0 . Moreover, the boundary conditions are given as follows:
u = 0 on Ω , B × n = ( 1 , 0 ) × n on Ω , θ n = 0 on the top and bottom wall , θ = 1 on the left wall and θ = 0 on the right wall .
Here, we set h = 1 / 64 , τ = 0.01 , S = R m = κ = β 0 = γ 0 = 1 . As shown in Figure 1 and Figure 2, we plot streamlines of velocity and magnetic, isotherms of temperature of methods no-Stab and our proposed method at different times when the Reynolds number is R e = 1 . We can observe that the results of our proposed method are consistent with no-Stab method, which verifies its correctness.
Moreover, in Figure 3, we show streamlines of velocity and magnetic, isotherms of temperature of our method at different times when the Reynolds number is R e = 10 6 . As time goes on, the vortex of the velocity streamline gradually moves from left to right, the streamline of the magnetic field gradually becomes curved in Figure 3 ( R e = 10 6 ). At the same time, due to the temperature difference between the left and right walls, the isotherm also gradually becomes curved. However, these results do not change significantly when R e = 1 , as can be seen from Figure 1 and Figure 2. It is worth noting that the no-Stab method is divergent with R e = 10 6 when T = 3 s, but the modular grad-div stabilization method is still convergent in this case. So, we can find that the proposed method is efficient for the thermally driven cavity flow problem with relatively large Reynolds numbers.

7. Conclusions

We developed a first-order fully discrete modular grad-div stabilization algorithm for time-dependent thermally coupled MHD equations. The advantages of this scheme is to keep the conservation of mass as much as possible and its effectiveness with high Reynolds number and large grad-div stabilization parameters. Then, the scheme is proven to be stable and convergent. When compared without grad-div stabilization solutions, our algorithm exhibits a smaller divergence error of the velocity and shows how β 0 and γ 0 influence this effect. Moreover, we also confirm that the scheme still maintains the advantage with high R e and grad-div stabilization parameters. In the future, we will consider high-order schemes with modular grad-div stabilization.

Author Contributions

Conceptualization, H.S.; methodology, H.S. and X.L.; software, X.L.; validation, H.S.; formal analysis, H.S. and X.L.; investigation, H.S. and X.L.; resources, H.S.; data curation, X.L.; writing—original draft preparation, X.L.; writing—review and editing, H.S. and X.L.; visualization, X.L.; supervision, H.S.; project administration, H.S.; funding acquisition, H.S. All authors have read and agreed to the published version of the manuscript.

Funding

This work is partly supported by the NSF of China (No. 12061076, 12126361, 11701493), Scientific Research Plan of Universities in the Autonomous Region (No. XJEDU2020I 001), Key Laboratory Open Project of Xinjiang Province (No. 2020D04002).

Data Availability Statement

Not applicable.

Acknowledgments

The authors would like to thank the editor and referees for their valuable comments and suggestions, which helped us to improve the results of this paper.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Davidson, P.A. Book review: An Introduction to Magnetohydrodynamics. Phys. Today 2002, 55, 56–57. [Google Scholar]
  2. Lifschitz, A.E. Magnetohydrodynamics and Spectral Theory; Springer: Dordrecht, The Netherlands, 1989. [Google Scholar]
  3. Moreau, R.J. Magnetohydrodynamics (Fluid Mechanics and Its Applications); Translated from the French by A. F. Wright; Kluwer Academic Publishers Group: Dordrecht, The Netherlands, 1990. [Google Scholar]
  4. Su, H.; Xu, J.; Feng, X. Optimal convergence analysis of two-level nonconforming finite element iterative methods for 2D/3D MHD equations. Entropy 2022, 24, 587. [Google Scholar] [CrossRef] [PubMed]
  5. Ding, Q.; Long, X.; Mao, S. Convergence analysis of Crank-Nicolson extrapolated fully discrete scheme for thermally coupled incompressible magnetohydrodynamic system. Appl. Numer. Math. 2020, 157, 522–543. [Google Scholar]
  6. Meir, A.J. Thermally coupled magnetohydrodynamics flow. Appl. Math. Comput. 1994, 65, 79–94. [Google Scholar] [CrossRef]
  7. Meir, A.J. Thermally coupled, stationary, incompressible MHD flow; existence, uniqueness, and finite element approximation. Numer. Meth. Part. Differ. Equ. 2010, 11, 311–337. [Google Scholar] [CrossRef]
  8. Codina, R.; Hern<i>a</i>´ndez, N. Approximation of the thermally coupled MHD problem using a stabilized finite element method. J. Comput. Phys. 2011, 230, 1281–1303. [Google Scholar] [CrossRef]
  9. Ravindran, S.S. A decoupled Crank-Nicolson time-stepping scheme for thermally coupled magneto-hydrodynamic system. Int. J. Optim. Control. Theor. Appl. (IJOCTA) 2017, 8, 43. [Google Scholar]
  10. Ravindran, S.S. Partitioned time-stepping scheme for an MHD system with temperature-dependent coefficients. IMA J. Numer. Anal. 2018, 39, 1860–1887. [Google Scholar]
  11. Yang, J.; Zhang, T. Stability and convergence of iterative finite element methods for the thermally coupled incompressible MHD flow. Int. J. Numer. Method. Heat 2020, 30, 5103–5141. [Google Scholar] [CrossRef]
  12. Ding, Q.; Long, X.; Mao, S. Convergence analysis of a fully discrete finite element method for thermally coupled incompressible MHD problems with temperature-dependent coefficients. ESAIM Math. Model. Numer. 2022, 56, 969–1005. [Google Scholar]
  13. Si, Z.; Lu, J.; Wang, Y. Unconditional stability and error estimates of the modified characteristics FEMs for the time-dependent thermally coupled incompressible MHD equations. Comput. Fluids 2022, 240, 105427. [Google Scholar] [CrossRef]
  14. Si, Z.; Wang, M.; Wang, Y. A projection method for the non-stationary incompressible MHD coupled with the heat equations. Appl. Math. Comput. 2022, 428, 127217. [Google Scholar] [CrossRef]
  15. Tang, Z.; An, R. Error analysis of the second-order BDF finite element scheme for the thermally coupled incompressible magnetohydrodynamic system. Comput. Math. Appl. 2022, 118, 110–119. [Google Scholar] [CrossRef]
  16. Zhang, Z.; Su, H.; Feng, X. Linear full decoupling, velocity correction method for unsteady thermally coupled incompressible magneto-hydrodynamic equations. Entropy 2022, 24, 1159. [Google Scholar] [CrossRef] [PubMed]
  17. Franca, L.P.; Hughes, T.J. Two classes of mixed finite element methods. Comput. Methods Appl. Mech. Eng. 1988, 69, 89–129. [Google Scholar] [CrossRef]
  18. Olshanskii, M.; Reusken, A. Grad-div stablilization for stokes equations. Math. Comput. 2004, 73, 1699–1718. [Google Scholar] [CrossRef]
  19. Olshanskii, M.; Lube, G.; Heister, T.; Löwe, J. Grad-div stabilization and subgrid pressure models for the incompressible Navier-Stokes equations. Comput. Methods Appl. Mech. Eng. 2009, 198, 3975–3988. [Google Scholar] [CrossRef]
  20. Qin, Y.; Hou, Y.; Huang, P.; Wang, Y. Numerical analysis of two grad-div stabilization methods for the time-dependent Stokes/Darcy model. Comput. Math. Appl. 2020, 79, 817–832. [Google Scholar]
  21. Zeng, Y.; Huang, P. A grad-div stabilized projection finite element method for a double-diffusive natural convection model. Numer. Heat Transf. B-Fund. 2020, 78, 110–123. [Google Scholar] [CrossRef]
  22. Jenkins, E.W.; John, V.; Linke, A.; Rebholz, L.G. On the parameter choice in grad-div stabilization for the Stokes equations. Adv. Comput. Math. 2014, 40, 491–516. [Google Scholar] [CrossRef]
  23. Linke, A.; Rebholz, L.G.; Wilson, N.E. On the convergence rate of grad-div stabilized Taylor-Hood to Scott-Vogelius solutions for incompressible flow problems. J. Math. Anal. Appl. 2011, 381, 612–626. [Google Scholar] [CrossRef]
  24. Le Borne, S.; Rebholz, L.G. Preconditioning sparse grad-div/augmented Lagrangian stabilized saddle point systems. Comput. Visual. Sci. 2013, 16, 259–269. [Google Scholar] [CrossRef]
  25. Glowinski, R.; Le Tallec, P. Augmented Lagrangian and Operator-Splitting Methods in Nonlinear Mechanics; Society for Industrial and Applied Mathematics: Philadelphia, PA, USA, 1989. [Google Scholar]
  26. Fiordilino, J.A.; Layton, W.; Rong, Y. An efficient and modular grad-div stabilization. Comput. Methods Appl. Mech. Eng. 2018, 335, 327–346. [Google Scholar] [CrossRef]
  27. Rong, Y.; Fiordilino, J.A. Numerical analysis of a BDF2 modular grad-div stabilization method for the Navier-Stokes equations. J. Sci. Comput. 2020, 82, 66. [Google Scholar] [CrossRef]
  28. Lu, X.; Huang, P. A modular grad-div stabilization for the 2D/3D nonstationary incompressible magnetohydrodynamic equations. J. Sci. Comput. 2020, 82, 3. [Google Scholar] [CrossRef]
  29. Akbas, M.; Rebholz, L.G. Modular grad-div stabilization for the incompressible nonisothermal fluid flows. Appl. Math. Comput. 2021, 393, 125748. [Google Scholar]
  30. Li, W.; Fang, J.; Qin, Y.; Huang, P. Rotational pressure-correction method for the Stokes/Darcy model based on the modular grad-div stabilization. Appl. Numer. Math. 2021, 160, 451–465. [Google Scholar] [CrossRef]
  31. John, V.; Linke, A.; Medron, C.; Neilan, M.; Rebholz, L.G. On the divergence constraint in mixed finite element methods for incompressible flows. SIAM Rev. 2017, 59, 492–544. [Google Scholar] [CrossRef]
  32. He, Y.; Li, J. Convergence of three iterative methods based on the finite element discretization for the stationary Navier-Stokes equations. Comput. Methods Appl. Mech. Eng. 2009, 198, 1351–1359. [Google Scholar] [CrossRef]
  33. Layton, W. Introduction to the Numerical Analysis of Incompressible Viscous Flows; Society for Industrial and Applied Mathematics: Philadelphia, PA, USA, 2008. [Google Scholar]
  34. He, Y. Unconditional convergence of the Euler semi-implicit scheme for the three-dimensional incompressible MHD equations. IMA J. Numer. Anal. 2015, 35, 767–801. [Google Scholar] [CrossRef]
  35. Dong, X.; He, Y. Optimal convergence analysis of Crank-Nicolson extrapolation scheme for the three-dimensional incompressible magnetohydrodynamics. Comput. Math. Appl. 2018, 76, 2678–2700. [Google Scholar] [CrossRef]
  36. Wu, J.; Feng, X.; Liu, F. Pressure-correction projection FEM for time-dependent natural convection problem. Commun. Comput. Phys. 2017, 21, 1090–1117. [Google Scholar] [CrossRef]
Figure 1. No-Stab method: streamlines of velocity and magnetic, isotherms of temperature for T = 0.1 s (a), 0.5 s (b), 1 s (c) with Reynolds number R e = 1 .
Figure 1. No-Stab method: streamlines of velocity and magnetic, isotherms of temperature for T = 0.1 s (a), 0.5 s (b), 1 s (c) with Reynolds number R e = 1 .
Entropy 24 01336 g001
Figure 2. Modular grad-div stabilization method: streamlines of velocity and magnetic, isotherms of temperature for T = 0.1 s (a), 0.5 s (b), 1 s (c) with Reynolds number R e = 1 .
Figure 2. Modular grad-div stabilization method: streamlines of velocity and magnetic, isotherms of temperature for T = 0.1 s (a), 0.5 s (b), 1 s (c) with Reynolds number R e = 1 .
Entropy 24 01336 g002
Figure 3. Modular grad-div stabilization method: streamlines of velocity and magnetic, isotherms of temperature for T = 0.1 s (a), 1 s (b), 6 s (c) with Reynolds number R e = 10 6 .
Figure 3. Modular grad-div stabilization method: streamlines of velocity and magnetic, isotherms of temperature for T = 0.1 s (a), 1 s (b), 6 s (c) with Reynolds number R e = 10 6 .
Entropy 24 01336 g003
Table 1. Errors and convergence rates of the considered scheme with τ = h 2 at T = 1 .
Table 1. Errors and convergence rates of the considered scheme with τ = h 2 at T = 1 .
1 / h ( u u h n + 1 ) 0 Rate u u h n + 1 0 Rate p p h n + 1 0 Rate ( B B h ) n + 1 0 , 2 Rate
4 1.06 × 10 2 - 1.22 × 10 3 - 1.43 × 10 2 - 6.49 × 10 1 -
8 5.36 × 10 3 0.98 3.62 × 10 4 1.75 4.35 × 10 3 1.72 3.31 × 10 1 0.97
16 2.66 × 10 3 1.01 8.65 × 10 5 2.06 1.34 × 10 3 1.69 1.66 × 10 1 0.99
32 1.33 × 10 3 1.00 2.09 × 10 5 2.05 4.23 × 10 4 1.66 8.33 × 10 2 1.00
64 6.67 × 10 3 1.01 5.25 × 10 6 2.01 1.88 × 10 4 1.55 4.17 × 10 2 1.00
1 / h B B h n + 1 0 Rate ( T T h n + 1 ) 0 Rate T T h n + 1 0 Rate
4 5.44 × 10 2 7.93 × 10 3 6.14 × 10 4
8 1.51 × 10 2 1.85 4.11 × 10 3 0.95 1.63 × 10 4 1.91
16 3.87 × 10 3 1.96 2.08 × 10 3 0.98 4.17 × 10 5 1.97
32 9.69 × 10 5 2.00 1.04 × 10 3 1.00 1.05 × 10 5 1.99
64 2.42 × 10 4 2.00 5.21 × 10 4 1.00 2.62 × 10 6 2.00
Table 2. Errors for velocity and pressure with increasing R e .
Table 2. Errors for velocity and pressure with increasing R e .
Parameter | u h u | , 0 - | · ( u h u ) | 0 , 2 - | ( u h u ) | 0 , 2 - | p h p | 0 , 2 -
1 / Re No-StabModularNo-StabModularNo-StabModularNo-StabModular
1 3.15 × 10 5 6.15 × 10 5 1.06 × 10 3 1.12 × 10 3 2.00 × 10 3 2.18 × 10 3 2.09 × 10 3 2.90 × 10 3
10 1 3.79 × 10 5 1.24 × 10 4 1.83 × 10 3 1.10 × 10 3 3.04 × 10 3 2.29 × 10 3 2.85 × 10 3 2.85 × 10 3
10 2 1.19 × 10 4 3.07 × 10 4 1.47 × 10 2 1.05 × 10 3 2.30 × 10 2 3.04 × 10 3 2.85 × 10 3 2.85 × 10 3
10 3 1.16 × 10 3 4.04 × 10 4 1.43 × 10 1 1.04 × 10 3 2.27 × 10 1 3.62 × 10 3 2.85 × 10 3 2.85 × 10 3
10 4 9.95 × 10 3 4.18 × 10 4 1.26 1.05 × 10 3 2.00 3.75 × 10 3 2.86 × 10 3 2.85 × 10 3
10 5 3.92 × 10 2 4.19 × 10 4 4.13 1.05 × 10 3 6.56 3.77 × 10 3 2.97 × 10 3 2.85 × 10 3
10 6 5.17e-02 4.20 × 10 4 5.02 1.05 × 10 3 7.98 3.77 × 10 3 3.04 × 10 3 2.85 × 10 3
Table 3. Velocity errors and divergence of the modular grad-div methods with different β 0 , γ 0 .
Table 3. Velocity errors and divergence of the modular grad-div methods with different β 0 , γ 0 .
β 0 γ 0 | ( u h u ) | 2 , 0 | · ( u h u ) | 2 , 0 · u h N 2 , 0 β 0 γ 0 | ( u h u ) | 2 , 0 | · ( u h u ) | 2 , 0 · u h N 2 , 0
00.1 2.10 × 10 3 1.00 × 10 3 6.40 × 10 4 0.11 2.15 × 10 3 1.05 × 10 3 6.30 × 10 4
01 2.16 × 10 3 9.85 × 10 4 6.28 × 10 4 11 2.63 × 10 3 1.55 × 10 3 9.33 × 10 4
010 3.28 × 10 3 8.79 × 10 4 5.59 × 10 4 101 3.55 × 10 3 2.07 × 10 3 1.89 × 10 3
0100 9.72 × 10 2 5.43 × 10 4 4.41 × 10 4 1001 5.07 × 10 3 2.18 × 10 3 2.12 × 10 3
01000 1.97 × 10 2 1.47 × 10 4 9.03 × 10 5 10001 6.79 × 10 3 2.21 × 10 3 2.20 × 10 3
010,000 2.36 × 10 2 1.85 × 10 5 1.12 × 10 5 10,0001 7.16 × 10 3 2.22 × 10 3 2.22 × 10 3
0100,000 2.41 × 10 2 1.90 × 10 6 1.15 × 10 6 100,0001 7.20 × 10 3 2.22 × 10 3 2.22 × 10 3
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Li, X.; Su, H. A Modular Grad-Div Stabilization Method for Time-Dependent Thermally Coupled MHD Equations. Entropy 2022, 24, 1336. https://doi.org/10.3390/e24101336

AMA Style

Li X, Su H. A Modular Grad-Div Stabilization Method for Time-Dependent Thermally Coupled MHD Equations. Entropy. 2022; 24(10):1336. https://doi.org/10.3390/e24101336

Chicago/Turabian Style

Li, Xianzhu, and Haiyan Su. 2022. "A Modular Grad-Div Stabilization Method for Time-Dependent Thermally Coupled MHD Equations" Entropy 24, no. 10: 1336. https://doi.org/10.3390/e24101336

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop