Next Article in Journal
Structural Equation Modeling-Based Multi-Group Analysis: Examining the Role of Gender in the Link between Entrepreneurship Orientation and Entrepreneurial Intention
Previous Article in Journal
Convergence of Uniformity Criteria and the Application in Numerical Integration
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

2D Newton Schwarz Legendre Collocation Method for a Convection Problem

Department of Mathematics, Faculty of Chemical Sciences and Technologies, University of Castilla-La Mancha, 13071 Ciudad Real, Spain
*
Author to whom correspondence should be addressed.
These authors contributed equally to this work.
Mathematics 2022, 10(19), 3718; https://doi.org/10.3390/math10193718
Submission received: 5 September 2022 / Revised: 5 October 2022 / Accepted: 7 October 2022 / Published: 10 October 2022

Abstract

:
In this work, an alternate Schwarz domain decomposition method is proposed to solve a Rayleigh–Bénard problem. The problem is modeled with the incompressible Navier–Stokes equations coupled with a heat equation in a rectangular domain. The Boussinesq approximation is considered. The nonlinearity is solved with Newton’s method. Each iteration of Newton’s method is discretized with an alternating Schwarz scheme, and each Schwarz problem is solved with a Legendre collocation method. The original domain is divided into several subdomains in both directions of the plane. Legendre collocation meshes are coarse, so the problem in each subdomain is well conditioned, and the size of the total mesh can grow by increasing the number of subdomains. In this way, the ill conditioning of Legendre collocation is overcome. The present work achieves an efficient alternating Schwarz algorithm such that the number of subdomains can be increased indefinitely in both directions of the plane. The method has been validated with a benchmark with numerical solutions obtained with other methods and with real experiments. Thanks to this domain decomposition method, the aspect ratio and Rayleigh number can be increased considerably by adding subdomains. Rayleigh values near to the turbulent regime can be reached. Namely, the great advantage of this method is that we obtain solutions close to turbulence, or in domains with large aspect ratios, by solving systems of linear equations with well-conditioned matrices of maximum size one thousand. This is an advantage over other methods that require solving systems with huge matrices of the order of several million, usually with conditioning problems. The computational cost is comparable to other methods, and the code is parallelizable.
PACS:
47.11.kb; 47.20.Bp
MSC:
35Q35; 65N35; 76E06

1. Introduction

Different scales, complex domains, and boundary layers are computational challenges for laminar and turbulent flow models [1,2,3,4,5,6,7,8,9]. One of these flows is Rayleigh–Bénard convection, in which a layer of fluid is heated from below. The first to systematically study this phenomenon was H. Bénard [10], who observed a pattern of hexagons when heating exceeded a threshold. Lord Rayleigh [11] explained this phenomenon by identifying the destabilizing mechanism as buoyancy. However, this explanation does not correspond to what happens in Bénard’s experiments. Pearson [12] discovered the second destabilizing mechanism, which is changes in surface tension. In this case, the problems are called Benard–Marangoni. This mechanism is relevant in crystal growth processes [13,14] or ferrofluids in a magnetic field [15]. If the heating is increased further, different states occur: stationary, periodic, or chaotic states, up to turbulence. Some of these phenomena have been studied in Refs. [16,17,18,19,20,21], and the monograph [22] provides detailed information about the understanding of this problem. If the mechanism is buoyancy, the problem is called Rayleigh–Bénard, which is the one we address in this work and is also addressed in Refs. [23,24,25,26,27]. The model equations are the incompressible Navier–Stokes equation and the heat equation under the Boussinesq approximation in a bounded domain [28]. Three parameters appear in the model governing the convective motion: the Rayleigh number R (ratio between the buoyancy and viscous force), the Prandtl number P r (ratio between the kinematic viscosity and thermal diffusivity), and the aspect ratio Γ (ratio between the length and the depth of the fluid layer). In geophysical contexts studying the interior of the stars and planets, P r is large and the convective flow is dominated by plumes [29,30]. This is context of this work.
In the case of order one aspect ratio, this problem has been numerically solved with different numerical techniques, mainly finite elements, spectral elements, and collocation methods [26,30]. The collocation methods are high-order methods that allow one to find precise numerical solutions for this problem with coarse meshes [31,32,33,34]. The resulting algebraic systems for these methods are ill conditioned when the mesh size [32,34] is increased. The condition number of the matrices resulting from the discretization is large. The maximum size of the mesh is restricted, and it is not possible to obtain solutions with many oscillations that appear in domains with a large aspect ratio or solutions with different scales that arise when the Rayleigh number increases until reaching turbulent states. The same problem can be found in other numerical techniques, i.e., finite differences, finite elements, or spectral elements for fine meshes. The linear systems that appear in the procedure are huge and usually poorly conditioned. One way to avoid this drawback is to use a domain decomposition strategy; examples of this procedure applied to some partial differential equations can be found in Refs. [2,35,36,37,38,39,40]. The domain is divided into several subdomains, and the problem is numerically solved in each subdomain with a coarse mesh. In this way, ill conditioning is avoided because the numerical method is used on a coarse mesh. Domain decomposition is widely used for fluid dynamics problems. Alternating Schwarz is the most common domain decomposition technique used to solve incompressible Navier–Stokes. The use of this technique for incompressible Navier–Stokes with different numerical methods can be found in Refs. [41,42,43,44,45,46,47,48,49,50]. Schwarz domain decomposition methods have been broadly used as a parallelization strategy of fluid flows [4,5,51,52,53]. The model equations are nonlinear. A way to deal with the nonlinearity is the use of a Newton method. Newton’s method is a powerful nonlinear solver used successfully in many engineering communities. Recent research has introduced improvements and variants on Newton’s method. In Ref. [54], inexact Newton–Krylov and quasi-Newton algorithms for nonlinear elasticity equations are presented. In Ref. [55], a spatial additive Schwarz preconditioned exact Newton method as nonlinear preconditioner for Newton’s method is applied to multiphase flows. In Ref. [56], the advanced Jacobian-Free Newton–Krylov method in a steam generator is studied. Refs. [57,58] modify the Newton increment to ensure global convergence. Newton’s method considered in this work is the standard method that also provides good results for this type of problems (see Refs. [59,60,61,62,63]).
A partial alternating Schwarz method for Navier–Stokes–Boussineq with aspect ratio one, low Prandtl number, and 4 × 4 subdomains solved with the method of approximate particular solutions can be found in Ref. [64]. In Ref. [30], this problem is solved with a spectral element method for the 3D and the 2D problem for different values of the parameters, showing that the 3D Rayleigh–Bénard problem is quasi two-dimensional for an infinite Prandtl number.
In this work we, achieve an efficient algorithm for the alternating Schwarz method to solve each step of the Newton scheme used to deal with the nonlinearity solved with a Legendre collocation method of a 2D Rayleigh–Bénard problem with infinite Prandtl number [63]. In Ref. [3], the convergence of this methodology was theoretically proven in an infinite domain when an overlap is considered for a linear approximation to the problem, and some numerical tests were included. The present work achieves an efficient algorithm to solve the fully nonlinear problem with an alternating Schwarz–Newton–Legendre collocation method. The number of subdomains can be indefinitely increased in both directions of the plane. The numerical solutions have been validated by comparing them with solutions obtained with other methods and with physical experiments [29]. Thanks to this domain decomposition, the aspect ratio and the Rayleigh number can be increased considerably by adding domains in any direction. Values of the Rayleigh number for near turbulent regimes can be reached and domains with large aspect ratio can be considered. The great advantage of this method is that we get solutions close to turbulence, or in domains with large aspect ratios, by solving systems of linear equations with well-conditioned matrices of maximum size one thousand. This is the main advantage over other methods that require solving systems with huge matrices of the order of several million, usually badly conditioned that require the use of preconditioners. The method is parallelizable, and, even without parallelizing, the computational cost is affordable.
The article is organized in the following manner. Section 2 provides the mathematical formulation of the Rayleigh–Bénard problem. The numerical method that includes the domain decomposition method is explained in Section 3. The numerical results and a discussion appear in Section 4. Finally, in Section 5, the conclusions are presented.

2. Formulation of the Problem

A two-dimensional (2D) fluid layer of depth d (z coordinate) lies between two parallel plates of length L (x coordinate). The upper plate is at temperature T 0 and the bottom plate is at T 1 such that T 1 > T 0 . A usual way to non-dimensionalize in Rayleigh–Bénard problems is the following: x = x / d , z = z / d , t = κ t / d 2 , u = d u / κ , p = d 2 p / ( ρ 0 κ ν ) , and θ = ( θ T 0 ) / Δ T , where the primes correspond to the quantities with their dimensions, x , z space coordinates, t time, p pressure, u velocity, and θ temperature, κ is the thermal diffusivity, ρ 0 is the mean density, ν is the viscosity, and Δ T = T 1 T 0 . The Rayleigh and Prandtl numbers are defined as R = d 3 δ g Δ T / ( ν κ ) and P r = ν / κ , where g is the gravity constant and δ is the thermal expansion coefficient. The domain becomes Ω = { ( x , z ) R : 0 < x < Γ , 0 < z < 1 } = ( 0 , 1 ) × ( 0 , Γ ) , where Γ = L / d is the aspect ratio.
The dimensionless forms of the momentum, mass, and energy balance equations that model the problem are [63]:
1 P r t u + u · u = Δ u p + R θ e z ,
· u = 0 ,
t θ + u · θ = Δ θ ,
where e z is the upwards vertical unit vector. The boundary conditions come from mantle convection related models [65,66]. They correspond to a rigid bottom wall, and free-slip, non-deformable surfaces at the top and lateral walls, the environment temperature is fixed at the upper plate, and the lateral walls are insulated, and at the bottom, a constant temperature is imposed,
u = 0 , on z = 0 ; z u x = u z = 0 , on z = 1 ; x u z = u x = 0 , on x = 0 , Γ ;
θ = 0 , on z = 1 ; x θ = 0 , on x = 0 , Γ ; θ = 1 , on z = 0 .
The boundary conditions for pressure are obtained using the normal component of the momentum equations on x = 0 , Γ and z = 1 , and the continuity equation at z = 0 (see [67,68]). The positivity of the inf-sup constant is guarantueed because these conditions eliminate the parasite modes for pressure [31].
The Prandlt number P r is infinite, as usual in mantle convection related problems [63,65,66,69]. We look for stationary solutions, therefore time dependence is not considered, and the problem is:
Δ u + p R θ e z = 0 in Ω ,
· u = 0 in Ω ,
Δ θ + u · θ = 0 in Ω ,
B u , θ , p = g on Ω ,
where B u , θ , p = g denotes the boundary conditions defined in (4) and (5).

3. Numerical Method

Problem (6)–(9) is nonlinear. The nonlinearity is solved with a Newton iteration [67]. Each step of the Newton method is a linear problem in which a Schwarz alternating domain decomposition method is introduced as explained below, and each Schwarz iteration at each subdomain is discretized with a Legendre collocation method [70].

3.1. Newton Iterative for the Nonlinearity

The nonlinearity is solved with an iterative Newton-like method. The iteration n satisfies ( u n , p n , θ n ) = ( u n 1 + u ˜ n , p n 1 + p ˜ n , θ n 1 + θ ˜ n ) , where ( u ˜ n , p ˜ n , θ ˜ n ) are the perturbation fields at the n iteration, and ( u 0 , p 0 , θ 0 ) is an initial guess approximated solution. Introducing these fields into Equations (6)–(9), the following system of equations for the perturbation fields is obtained (the tildes and the subscripts for the perturbations have been dropped):
Δ u + p R θ e z = Δ u n 1 p n 1 + R θ n 1 e z in Ω ,
· u = · u n 1 in Ω ,
Δ θ + u · θ n 1 + u n 1 · θ = Δ θ n 1 u n 1 θ n 1 in Ω ,
B u , θ , p = B u n 1 , θ n 1 , p n 1 + g on Ω .
This is the linear problem to be solved at each step of the Newton method. The numerical solution fields are then u n = u 0 + i = 1 n u ˜ i , p n = p 0 + i = 1 n p ˜ i , θ n = θ 0 + i = 1 n θ ˜ i .

3.2. Alternating Schwarz Domain Decomposition

In this section, we introduce an alternating Schwarz domain decomposition method to solve a step of the Newton method (10)–(13). The computational domain Ω is split into n p × m p subdomains of the same size, where m p is the number of vertical partitions and n p the number of horizontal partitions; Ω is a rectangle, and each subdomain is a rectangle of the same size. In Ref. [3], it is proven that two adjacent domains have to share an overlapping area for the algorithm to converge. Partitions marking the position of each subdomain are performed with double points to handle the overlap. A partition with 2 n p points on the horizontal interval of the domain, [ 0 , Γ ] , and another with 2 m p points on the vertical interval of the domain, [ 0 , 1 ] , are calculated. These partitions are denoted as { γ 1 x = 0 , γ 1 x , γ 2 x , , γ 2 ( n p 1 ) x , γ 2 n p x = Γ } and { γ 1 z = 0 , γ 1 z , γ 2 z , , γ 2 ( m p 1 ) z , γ 2 m p z = 1 } , respectively. Note that neither γ 0 x , nor γ 0 z , nor γ 2 n p 1 x , nor γ 2 m p 1 z are considered due to future calculations. These values depend not only on m p and n p , but also on the Legendre–Gauss–Lobatto (LGL) collocation points. Therefore, they will be calculated in the next section. Then, each subdomain Ω q , p is defined as Ω q , p = ( γ 2 p 3 x , γ 2 p x ) × ( γ 2 q 3 z , γ 2 q z ) , p = 1 , , n p , q = 1 , , m p . Each subdomain has length Γ x and height Γ z . An example of these partitions is shown in Figure 1 with m p = 2 and n p = 2 .
Now, the problem has to be adapted to each subdomain Ω q , p . The equations inside each subdomain are kept the same. The boundary conditions at the edges of the subdomain, which are also boundaries of the original domain, ( Ω q , p Ω ) , remain the same. The interfaces are the boundaries of the subdomains, which are inside the original domain ( Ω q , p Ω ) . The new interface conditions are given by the continuity of the fields u n , p n , and θ n . The previous values in the exact same point of the adjacent rectangle are considered. The following system of equations is solved at each subdomain and each step of the iterative Schwarz method:
Δ u q , p s + p q , p s R θ q , p s e z = p q , p n 1 + Δ u q , p n 1 + R θ q , p n 1 e z in Ω q , p ,
· u q , p s = · u q , p n 1 in Ω q , p ,
Δ θ q , p s + u q , p s · θ q , p n 1 + u q , p n 1 · θ q , p s = Δ θ q , p n 1 u q , p n 1 · θ q , p n 1 in Ω q , p ,
B u q , p s , θ q , p s , p q , p s = B u q , p n 1 , θ q , p n 1 , p q , p n 1 + g on Ω q , p Ω ,
IB u q , p s , θ q , p s , q q , p s = h on Ω q , p Ω .
The interface boundary conditions IB and h on Ω q , p Ω are:
u q , p s = u q , p s 1 + u q , p n 1 u q , p n 1 ,
θ q , p s = θ q , p s 1 + θ q , p n 1 θ q , p n 1 ,
p q , p s = p q , p s 1 + p q , p n 1 p q , p n 1 ,
where q = 1 , , m p , p = 1 , , n p , ( u q , p s , p q , p s , θ q , p s ) are the unknown fields at each subdomain Ω q , p , ( q , p ) are the subscripts of the adjacent subdomains, which contain the interface ( p = p 1 , p o r p + 1 and q = q 1 , q or q + 1 ) , s denotes the iteration index in the Schwarz algorithm, and n means the Newton iteration. Note that the continuity of the Newton iterations is considered at the interface, i.e., u q , p n = u q , p n , where u q , p n = u q , p n 1 + u q , p s and u q , p n = u q , p n 1 + u q , p s 1 , and similarly for the rest of the fields. These continuity conditions improve iteration errors.

3.3. Legendre Collocation

At each subdomain, the problem is numerically solved with a Legendre collocation method. The Legendre polynomials are defined on the interval 1 , 1 , therefore, for computational convenience, each subdomain Ω q , p is transformed into 1 , 1 × 1 , 1 through the following change of variables x = 1 Γ x ( 2 x γ 2 p x γ 2 p 3 x ) and z = 1 Γ z ( 2 x γ 2 q z γ 2 q 3 z ) . These changes of coordinates introduce the corresponding scaling factors in the equations and boundary conditions as follows: x = 2 Γ x x and z = 2 Γ z z . Then, the unknown fields in each subdomain Ω q , p are expanded in a truncated series of Legendre polynomials
f f N M = l = 0 N 1 k = 0 M 1 a l k f L l ( x ) L k ( z ) .
The corresponding expansions for the four different fields at the different subdomains are introduced into the equations, the boundary, and the interface conditions, and they are evaluated at the Legendre–Gauss–Lobatto collocation points ( x p l , z q k ) with l = 1 , 2 , , N and k = 1 , 2 , , M . The Schwarz method requires an overlap between adjacent subdomains. The values of N, M, and the number of o v e r l a p points are known a priori. With all these numbers we can calculate the partitions for the Schwarz method of the interval [ 0 , Γ ] , { γ 1 x = 0 , γ 1 x , γ 2 x , , γ 2 ( n p 1 ) x , γ 2 n p x = Γ } and the interval [ 0 , 1 ] , { γ 1 z = 0 , γ 1 z , γ 2 z , , γ 2 ( m p 1 ) z , γ 2 m p z = 1 } . Problem (14)–(17) is defined for each subdomain independently. The interface condition requires evaluating the fields at the exact same points in two different subdomains.
The symmetry of the LGL collocation points is very useful for this purpose. If we couple two sets of N LGL collocation points in such a way that the first point of one of them matches the ( N o v e r l a p ) th point of the other, it will occur that the ( 1 + o v e r l a p ) th point of the first set matches the last point of the other set, as shown in Figure 2. This process allows building subdomains with o v e r l a p shared points. With this information, the partition values can be calculated as follows: γ 1 x = Γ · x N o v e r l a p ( n p 1 ) x N o v e r l a p + 1 , Γ x = Γ ( n p 1 ) x N o v e r l a p + 1 , γ 1 z = x M o v e r l a p ( m p 1 ) x M o v e r l a p + 1 and Γ z = 1 ( m p 1 ) x M o v e r l a p + 1 , where x p is the pth LGL collocation point. Note that Γ x + ( n p 1 ) γ 1 x = Γ and Γ z + ( m p 1 ) γ 1 z = 1 , as it should be. The other partition values can be calculated recursively knowing these four values, as γ 2 p 1 x = p γ 1 x , γ 2 q 1 z = q γ 1 z , γ 2 ( p + 1 ) x = γ 2 p 1 x + Γ x and γ 2 ( q + 1 ) z = γ 2 q 1 z + Γ z for p = 0 , , n p 1 and q = 0 , , m p 1 . The solution strategy is mixed with the approximation method.

3.4. Algorithm

A pseudocode for the algorithm can be summarized as follows:
  • Define input parameters: R; Γ ; number of subdomains m p × n p ; size of the mesh at each subdomain N (x direction), M (z direction); number of points of overlap, o;
  • Introduce fixed parameters in this work: maximum number of Newton iterations, s t o p N = 40 ; maximum number of Schwarz iterations, s t o p S = 5 ;
  • Introduce the initial solution in the whole domain: u x 0 , u z 0 , t 0 , p 0 ;
  • Calculate the part of the solution at each subdomain;
  • Initialize the Newton iteration counter N c = 0 ;
  • while N c < s t o p N or e r r o r N > 10 7
    (a)
    N c = N c + 1
    (b)
    Initialize the Schwarz iteration counter S c = 0
    (c)
    While S c < s t o p S or e r r o r S > 10 7 :
    • S c = S c + 1 ;
    • For q = 1 : m p and p = 1 : n p ( ( q , p ) indicates the subdomain):
      • Introduce the corresponding Legendre expansions (22) into equations and boundary conditions (14)–(21), and evaluate at the Legendre–Gauss–Lobatto points, the result is a system of linear algebraic equations;
      • Solve the linear system of equations to get the Newton perturbations at each subdomain ( q , p ) : U x { q , p } , U z { q , p } , T { q , p } , P { q , p } ;
    • End;
    • Calculate the Schwarz errors, e r r o r S :
      e r r o r S u x = ( | | u x { 1 , 2 } ( : , 1 + o ) + U x { 1 , 2 } ( : , 1 + o ) u x { 1 , 1 } ( : , N ) U x { 1 , 1 } ( : , N ) | | + | | u x { 2 , 1 } ( 1 + o , : ) + U x { 2 , 1 } ( 1 + o , : ) u x { 1 , 1 } ( M , : ) U x { 1 , 1 } ( M , : ) | | + | | u x { 2 , 1 } ( 1 , : ) + U x { 2 , 1 } ( 1 , : ) u x { 1 , 1 } ( M o , : ) U x { 1 , 1 } ( M o , : ) | | + | | u x { 1 , 2 } ( : , 1 ) + U x { 1 , 2 } ( : , 1 ) u x { 1 , 1 } ( : , N o ) U x { 1 , 1 } ( : , N o ) | | ) / 4
      e r r o r S u z = ( | | u z { 1 , 2 } ( : , 1 + o ) + U z { 1 , 2 } ( : , 1 + o ) u z { 1 , 1 } ( : , N ) U z { 1 , 1 } ( : , N ) | | + | | u z { 2 , 1 } ( 1 + o , : ) + U z { 2 , 1 } ( 1 + o , : ) u z { 1 , 1 } ( M , : ) U z { 1 , 1 } ( M , : ) | | + | | u z { 2 , 1 } ( 1 , : ) + U z { 2 , 1 } ( 1 , : ) u z { 1 , 1 } ( M o , : ) U z { 1 , 1 } ( M o v , : ) | | + | | u z { 1 , 2 } ( : , 1 ) + U z { 1 , 2 } ( : , 1 ) u z { 1 , 1 } ( : , N o ) U z { 1 , 1 } ( : , N o ) | | ) / 4
      e r r o r S θ = ( | | θ { 1 , 2 } ( : , 1 + o ) + T { 1 , 2 } ( : , 1 + o ) θ { 1 , 1 } ( : , N ) T { 1 , 1 } ( : , N ) | | + | | θ { 2 , 1 } ( 1 + o , : ) + T { 2 , 1 } ( 1 + o , : ) θ { 1 , 1 } ( M , : ) T { 1 , 1 } ( M , : ) | | + | | θ { 2 , 1 } ( 1 , : ) + T { 2 , 1 } ( 1 , : ) θ { 1 , 1 } ( M o , : ) T { 1 , 1 } ( M o , : ) | | + | | θ { 1 , 2 } ( : , 1 ) + T { 1 , 2 } ( : , 1 ) θ { 1 , 1 } ( : , N o ) T { 1 , 1 } ( : , N o ) | | ) / 4
      e r r o r S p = ( | | p { 1 , 2 } ( : , 1 + o ) + P { 1 , 2 } ( : , 1 + o ) p { 1 , 1 } ( : , N ) P { 1 , 1 } ( : , N ) | | + | | p { 2 , 1 } ( 1 + o , : ) + P { 2 , 1 } ( 1 + o , : ) p { 1 , 1 } ( M , : ) P { 1 , 1 } ( M , : ) | | + | | p { 2 , 1 } ( 1 , : ) + P { 2 , 1 } ( 1 , : ) p { 1 , 1 } ( M o , : ) P { 1 , 1 } ( M o , : ) | | + | | p { 1 , 2 } ( : , 1 ) + P { 1 , 2 } ( : , 1 ) p { 1 , 1 } ( : , N o ) P { 1 , 1 } ( : , N o ) | | ) / 4
      e r r o r S = e r r o r S u x + e r r o r S u z + e r r o r S θ + e r r o r S p
    (d)
    End;
    (e)
    Update the solution at each subdomain ( q , p ) : u x 0 { q , p } = u x 0 { q , p } + U x { q , p } ; u z 0 { q , p } = u z 0 { q , p } + U z { q , p } ; t 0 { q , p } = t 0 { q , p } + T { q , p } ; p 0 { q , p } = p 0 { q , p } + P { q , p } ;
    (f)
    Calculate the Newton error: N e r r o r = | | U x | | + | | U z | | + | | T | | + | | P | | at iteration N c .
  • End;
  • Save the results.

4. Numerical Results

Different values of the overlap can be considered with similar results, therefore overlap is fixed to 4 points. Different mesh sizes, N and M, between 10 and 18, are considered. Different values of the maximum number of iterations can be taken for the Newton and Schwarz methods. A balance between computational cost and accuracy is obtained by considering a maximum of 40 iterations for Newton’s method and a maximum of 5 iterations for Schwarz’s method. The iterative initial value for Newton method is a numerical solution calculated with Legendre collocation with expansions 18 × 14 in a domain with aspect ratio Γ = 3.495 and R = 1300 adapted to the new multi-domain.

4.1. Validation

Legendre collocation is an ill conditioned method, and the maximum mesh size that can be used in a double precision calculation for parameter values in a laminar regime with a small aspect ratio is N × M = 50 × 50 . Some of these values of the parameters are R = 1300 and Γ = 3.495 . For this case, we have compared the numerical solutions obtained with Legendre collocation in a single domain with the maximum size of the expansion, N × M = 50 × 50 , with numerical solutions obtained with the Newton alternating Schwarz–Legendre collocation method with different numbers of subdomains and different sizes of the Legendre expansions. Table 1 shows the relative L 2 norm of the difference between the horizontal component of the velocity solution, u x , obtained with Legendre collocation with a mesh 50 × 50 in a single domain, and the solution obtained with the Newton–Schwarz method with different numbers of subdomains on the horizontal axis, n p , a single domain on the vertical axis, m p = 1 , and different Legendre collocation meshes, n. The optimal result, taking into account a balance between the coarsest mesh and the smallest error, is obtained with two subdomains on the horizontal axis, one subdomain on the vertical axis, and a Legendre mesh of size 10 × 10 . In this case, the total mesh contains only 200 nodes. Increasing the number of subdomains and/or the size of the mesh at each subdomain makes the solution worse. The same can be seen in Table 2 for two subdomains on the vertical axis, i.e., the relative L 2 norm of the difference between the horizontal component of the velocity solution, u x , obtained with Legendre collocation with a mesh 50 × 50 in a single domain, and the solution obtained with the Newton–Schwarz method with different numbers of subdomains on the horizontal axis, n p , two domains on the vertical axis, m p = 2 , and different Legendre collocation meshes n. Cases with a single domain on the horizontal axis and two subdomains on the vertical do not converge. All other errors are worse than for a single subdomain on the vertical axis. Table 1 shows the optimal result taking into account the size of the total mesh, i.e., two subdomains on the horizontal axis, one subdomain on the vertical axis, and a Legendre mesh of size 10 × 10 .
Numerical solutions for larger values of the aspect ratio or larger values of the Rayleigh number cannot be obtained with a single domain, even with the finest mesh. For those cases, the results of the domain decomposition method have been compared with the numerical solutions obtained by means of a finite elements method with a fine mesh with COMSOL. The solutions obtained with both methods can be seen in Figure 3, Figure 4, Figure 5, Figure 6, Figure 7, Figure 8, Figure 9 and Figure 10 for different values of the parameters. Figure 3 shows solutions obtained with finite elements for R = 1300 and Γ = 3.495 . In Figure 4, solutions for the same values of the parameters obtained with alternating Schwarz domain decomposition are presented. This solution has been calculated with two subdomains on the x axis, one subdomain on the z axis, and a collocation mesh of size N × M = 10 × 10 . Three rolls are observed in both cases. The difference of the maximum value of the temperature field between both solutions is 0.035.
Figure 5 shows solutions obtained with finite elements method for R = 1300 and Γ = 27.96 . In Figure 6, solutions for the same values of the parameters obtained with the Schwarz can be seen. This solution has been calculated with 14 subdomains on the horizontal direction, two subdomains on the vertical direction and a collocation mesh of size N × M = 16 × 10 . Twenty-five rolls are observed in both solutions. The difference of the maximum value for the temperature field between both solutions is 0.3.
In Figure 7, solutions obtained with finite elements for R = 5000 and Γ = 3.495 are shown. In Figure 8, solutions for the same values of the parameters obtained with the Schwarz method can be seen. This solution has been calculated with eight subdomains on the x axis, two subdomains on the z axis, and a collocation mesh of size N × M = 16 × 10 . Three rolls are obtained, and the isotherms are mushroom-shaped in both cases. The difference of the maximum value for the temperature field between both solutions is 0.7.
In Figure 9, solutions obtained with finite elements for R = 5000 and Γ = 27.96 can be seen. Figure 10 shows solutions for the same values of the parameters obtained with the Schwarz method. This solution has been calculated with 13 subdomains on the x direction, three subdomains on the z direction, and a collocation mesh of size N × M = 18 × 12 . Twenty-nine rolls are obtained in this case, and the isotherms are mushroom-shaped. The difference of the maximum value for the temperature field between both solutions is 0.6.
The same solutions are obtained with the two different numerical methods. There is an optimal value of the number of subdomains that coincides with the minimum number of subdomains.

4.2. Numerical Convergence

The error in the Newton iterations for each field is defined as the Newton perturbations, similarly to the Newton error in Section 3.4, for the first domain:
E r r o r F ( n ) = | | F n | | ,
where F refers to any of the fields. The error in the Schwarz iterations for each field is defined similarly to the Schwarz error in Section 3.4 for the first domain and adjacent ones:
E r r o r F ( s ) = ( | | f n 1 { 1 , 2 } ( : , 1 + 4 ) + F s { 1 , 2 } ( : , 1 + 4 ) f n 1 { 1 , 1 } ( : , N ) F s { 1 , 1 } ( : , N ) | | + | | f n 1 { 2 , 1 } ( 1 + 4 , : ) + F s { 2 , 1 } ( 1 + 4 , : ) f n 1 { 1 , 1 } ( M , : ) F s { 1 , 1 } ( M , : ) | | + | | f n 1 { 1 , 2 } ( : , 1 ) + F s { 1 , 2 } ( : , 1 ) f n 1 { 1 , 1 } ( : , N 4 ) F s { 1 , 1 } ( : , N 4 ) | | + | | f n 1 { 2 , 1 } ( 1 , : ) + F s { 2 , 1 } ( 1 , : ) f n 1 { 1 , 1 } ( M 4 , : ) F s { 1 , 1 } ( M 4 , : ) | | ) / 4 ,
where f n 1 refers to any of the field in the ( n 1 ) th Newton iteration, F s refers to any of the fields in the sth Schwarz iteration, and 4 = o v e r l a p . Note that f n = f n 1 + F s as it has been described in the Newton method, and the Schwarz solution F s is the perturbation. Therefore, these errors could be rewritten as
E r r o r F ( s ) = ( | | f n { 1 , 2 } ( : , 1 + 4 ) f n { 1 , 1 } ( : , N ) | | + | | f n { 2 , 1 } ( 1 + 4 , : ) f n { 1 , 1 } ( M , : ) | | + | | f n { 1 , 2 } ( : , 1 ) f n { 1 , 1 } ( : , N 4 ) | | + | | f n { 2 , 1 } ( 1 , : ) f n { 1 , 1 } ( M 4 , : ) | | ) / 4 .
We determine the convergence rate of the Schwarz alternating method as the limit of the ratio
E r r o r F ( s + 2 ) E r r o r F ( s + 1 ) E r r o r F ( s + 1 ) E r r o r F ( s ) .

4.2.1. Legendre Collocation

In Table 3 and Table 4, we have varied the mesh sizes for two different values of the parameters and a number of subdomains, and we observe that the errors decrease to a minimum and increase as the mesh size increases. The optimum in the case of R = 5000 and Γ = 3.495 with eight subdomains on the horizontal axis and 2 = two subdomains on the vertical axis, is N = 14 and M = 12 , which is of the same order as the one used in the figures N × M = 16 × 10 with the same number of subdomains. The optimum in the case of R = 1300 and Γ = 27.96 with 14 subdomains on the horizontal axis and two subdomains on the vertical axis, is N = 14 and M = 10 , which is of the same order as the one used in the figures N × M = 16 × 10 for the same number of subdomains. The optimal mesh size of the expansions is a coarse mesh of order 10 × 10 in each subdomain. Legendre collocation is a high-order method on a single domain, but the global multidomain method with Schwarz and Newton iterations loses this property.

4.2.2. Schwarz

In this section, we analyze the behavior of the Schwarz parts of the algorithm, the errors, convergence rate, number of subdomains, and influence of the parameters.
First, we look at the minimum number of subdomains necessary to obtain convergence depending on the parameters present in the problem. Two examples are shown in Table 5 and Table 6. In Table 6, the last error in the Newton iteration for the field u x , for R = 1300 and Γ = 27.96 , increases in the number of subdomains in the vertical and horizontal directions can be seen. A minimum number of subdomains is required to achieve convergence. The minimum number of subdomains to get convergence is m p = 2 and n p = 3 , or m p = 3 and n p = 3 . A single domain in the vertical direction or one or two subdomains in the horizontal direction never converges. In the case of R = 5000 and Γ = 3 , 495 , in Table 5, the minimum number of subdomains corresponds to m p = 1 and n p = 8 , or m p = 2 and n p = 6 , or m p = 3 and n p = 2 . The number of Schwarz subdomains required increases with R and Γ , i.e., one domain is enough for R = 10 3 , and around one hundred subdomains are required for R = 10 5 or Γ = 100 with the same size of the mesh at each subdomain.
Second, we study the influence of the parameters in the Schwarz errors. First, we vary the Rayleigh number. In Figure 11a, the decimal logarithm of the errors in the velocity, temperature, and pressure fields for the Schwarz iterations in the case R = 1300 , Γ = 3.495 , n p = 2 , m p = 1 , and N × M = 10 × 10 , can be seen. In that figure, we can check the convergence of Schwarz’s method for each Newton problem. The errors of the Schwarz solver reach values between 10 8 and 10 9 for all fields as Newton’s problems progress. Figure 11b shows the decimal logarithm of the errors in the four fields for the Schwarz iterations in the case R = 5000 , Γ = 3.495 , n p = 8 , m p = 2 , and N × M = 16 × 10 . The errors for the Schwarz iterations reach values between 10 5 and 10 6 for all the fields. In that figure, the convergence of Schwarz for each Newton problem can be seen. We have increased further the Rayleigh number for a fixed value of the aspect ratio, Γ = 3.495 . Figure 12 shows a solution for R = 10 4 obtained with 25 subdomains on the horizontal axis and two subdomains on the vertical axis for a collocation mesh of 12 × 10 . The three rolls with the mushroom shaped isotherms still remain. In Figure 13, a solution for R = 10 5 obtained with 25 subdomains on the horizontal axis and five subdomains on the vertical axis for a collocation mesh of 16 × 12 can be seen. Eleven rolls with plume shaped isotherms is a new solution in the near turbulent regime. Figure 14a, shows the decimal logarithm of the errors in the velocity, temperature, and pressure fields for the Schwarz iterations in the case of R = 10 4 and Γ = 3.495 . These errors take values between 10 4 and 10 3 . Figure 14b shows the decimal logarithm of the errors in the velocity, temperature, and pressure fields for the Schwarz iterations in the case of R = 10 5 and Γ = 3.495 . In that figure, the convergence of Schwarz for each Newton problem is tested. The errors for the Schwarz solver reach values between 10 5 and 10 4 . The increase in R needs an increase in the number of subdomains to reach convergence. There is a loss of accuracy of the method with R or with the increase in the number of subdomains.
Now we increase the values of the aspect ratio and the Rayleigh number. The decimal logarithm of the errors in the velocity, temperature, and pressure fields for the Schwarz iterations in the case of R = 1300 , Γ = 27.96 , n p = 14 , m p = 2 , and N × M = 16 × 10 , can be seen in Figure 15a. The convergence of the Schwarz method for each Newton problem is shown in this figure. The errors for the Schwarz solver reach values between 10 5 and 10 4 for all the fields. Figure 15b shows the decimal logarithm of the errors in the four fields for the Schwarz iterations in the case of R = 5000 , Γ = 27.96 , n p = 13 , m p = 3 , and N × M = 18 × 12 . These errors take values between 10 4 and 10 3 . If we compare with the previous results in the case of Γ = 3.495 , the increase in Γ needs an increase in the number of subdomains to reach convergence. There is a loss of accuracy of the method with Γ or with the increase in the number of subdomains.
We have increased further the aspect ratio for a fixed value of the Rayleigh number, R = 1300 . Figure 16 shows a solution for Γ = 50 obtained with 20 subdomains on the horizontal axis and two subdomains on the vertical axis for a collocation mesh of 16 × 10 . The number of rolls increases. Figure 17 shows a solution for Γ = 100 obtained with 35 subdomains on the horizontal axis and two subdomains on the vertical axis for a collocation mesh of 16 × 10 . The number of rolls doubles. The number of necessary subdomains increases with Γ in a nearly logarithmic way. A noteworthy aspect is that the values of the aspect ratio can be increased as much as required.
The convergence rate for the Schwarz iterations appears in Figure 18a,b. The convergence rate are 0.7 in the first case and 0.9 in the second case. There is a dependence of the convergence rate with the parameters; it increases with R and Γ , although it always remains less than 1.

4.2.3. Newton

In this section, we analyze the behavior of the Newton method, the errors, convergence rate, number of subdomains, and influence of the parameters.
First, we investigate the influence of the Raylegh number for a fixed value of the aspect ratio Γ = 3.495 . Figure 19a shows the decimal logarithm of the errors in the velocity, temperature, and pressure fields for the Newton iterations for R = 1300 , Γ = 3.495 , n p = 2 , and m p = 1 . Newton’s errors are 10 8 for the temperature field and 10 7 for both components of the velocity field and the pressure field. This figure shows the convergence of the nonlinear method. Figure 19b shows the decimal logarithm of the errors in the four fields for the Newton iterations for R = 5000 , Γ = 3.495 , n p = 8 , and m p = 2 . The Newton errors are around 10 3 for all the fields. Figure 20a shows the decimal logarithm of the errors for the Newton iterations for R = 10 4 and Γ = 3.495 . These errors are between 10 2 and 10 1 . The convergence of the nonlinear problem is shown in this figure. Figure 20b shows the decimal logarithm of the errors for the Newton iterations for R = 10 5 and Γ = 3.495 . The Newton errors are between 10 2 and 10 1 . The method is convergent. The increase in R needs an increase in the number of subdomains to reach convergence. There is a loss of accuracy of the method with R or with the increase in the number of subdomains.
Now we increase the Rayleigh number and the aspect ratio. The decimal logarithm of the errors in the velocity, temperature, and pressure fields for the Newton iterations for R = 1300 , Γ = 27.96 , n p = 14 , and m p = 2 are shown in Figure 21a. The Newton errors are around 10 2 . Convergence of the nonlinear problem is shown in this figure. In Figure 21b, the decimal logarithm of the errors in the fields for the Newton iterations for R = 5000 , Γ = 27.95 , n p = 13 , and m p = 3 can be seen. These errors are around 10 2 . The method is convergent. If we compare with the previous results in the case of Γ = 3.495 , the increase in Γ needs an increase in the number of subdomains to reach convergence. There is a loss of accuracy of the method with Γ or with the increase in the number of subdomains.
Newton’s method has a second-order local rate of convergence in the single-domain case. This has been shown in the case of the Legendre collocation in a single domain in Figure 22, where the numerical sequence | u x n + 2 u x n + 1 | | u x n + 1 u x n | 2 , n = 1 , 2 , for R = 1300 , Γ = 3.495 , n p = 1 , m p = 1 , N × M = 50 × 50 , has been plotted, and the tendency to 1 can be seen. For a single domain, the iterations are just Newton iterations. However, in the multi-domain case, Schwarz iterations are introduced at each Newton iteration, and the errors due to those iterations become relevant. In the multi-domain case with Schwarz iterations, Newton’s method becomes first order, as can be seen in Figure 23, where the numerical sequence | u x n + 2 u x n + 1 | | u x n + 1 u x n | , n = 1 , 2 , for the same case and two horizontal subdomains has been plotted, the tendency to 0.17 can be seen.

4.3. Computational Cost

Next, we study the computational cost. We approximate the number of operations considering only products. We name n = N × M , N t = 4 n , N S : number of iterations of the Schwarz solver, N N : number of iterations of the Newton procedure. Each Newton and Schwarz iteration solves a linear system of size N t with a computational cost O ( N t 2 ) ; then, to calculate the total computational cost, we multiply by the number of subdomains and the number of Newton and Schwarz iterations, then the total number of operations is N o = n p · m p · N S · N N · N t 2 . In the smallest case considered in this work, R = 1300 , Γ = 3.495 , N t = 4 × 10 × 10 , N S = 5 , N N = 12 , n p = 2 , m p = 1 , N o = 2 × 10 7 . In the case of large aspect ratio, Γ = 50 , n p = 25 , m p = 2 , N S = 5 , N N = 40 , then N o = 4 × 10 9 . In the case of large aspect ratio, Γ = 100 , n p = 50 , m p = 2 , N S = 5 , N N = 40 , then N o = 6 × 10 9 . The case of large Rayleigh number R = 10 5 , n p = 25 , m p = 5 , N S = 5 , N N = 40 , then N o = 10 10 . In a parallel computation, if we do not take into account the computational cost penalty due to parallelization, the calculation would run at the same time in each subdomain, then the number of subdomains would be saved, and the number of operations would be reduced to N o p = N S · N N · N t 2 .
Regarding computing time, the calculations have been performed with a 4 GHz Intel Core i7 microprocessor. For instance, in the case of R = 1300 , Γ = 100 , with 50 subdomains on the x axis and two subdomains on the z axis, with a Legendre mesh of N t = 4 × 16 × 10 , the computing time is 612 s. This time could be reduced the order of magnitude associated with the total number of subdomains in an ideal parallel computation. The order of reduction is n p · m p , and the time computing is N S × N N the time it takes to solve a linear system of size N t .

4.4. Discussion

This method includes several elements, validation, Legendre collocation method, Schwarz iterations, Newton iterations, turbulence, and computational cost.
From the point of view of validation, the equations have been solved with finite elements and with the present method. The same solutions are obtained with both methods. The same states of rolls and thermal plumes are observed in the real physical experiments [29].
We look now at the Legendre collocation method. The optimal mesh size of the expansions is a coarse mesh of order 10 × 10 in each subdomain. Legendre collocation is a high-order method in a single domain, but the global multi-domain method with the Schwarz and Newton iterations loses this property.
With respect to the Schwarz method, the Schwarz parts of the method converge, the errors are on the order of 10 4 or less, and the convergence rate is less than 1 for all the fields and values of the parameters present in the problem. There is a dependence of the convergence rate with the parameters; it increases with R and Γ , although it always remains less than 1. The minimum distribution of necessary subdomains to reach convergence depends on R and Γ ; it increases with both parameters with a logarithmic dependence.
In relation with the Newton method, it converges, and the final errors increase with the parameters R and Γ , varying from 10 8 for the lower values R = 1300 and Γ = 3.495 , to 10 2 for the larger values R = 5000 and Γ = 3.495 . Newton’s method has a second-order local rate of convergence in the single-domain case, but, in the multi-domain case that includes Schwarz iterations, Newton’s method becomes first order. There is a loss of accuracy with the number of subdomains that can be related with some lack of regularity at the interfaces for Schwarz.
In relation to turbulence, the model can be near turbulence for the convenient values of R, but it cannot be turbulent because it is stationary. In Ref. [29], the authors consider the maximum value R = 10 5 and plumes are observed in the experiments, but the flow is not yet turbulent. In other references, such as [71], a power-law relation between the Reynolds number and the Rayleigh number, R e = R 1 / 2 , was found. A flow starts to be turbulent at approximately R e = 2000 , following this power law; in our case, it corresponds to R = 4 × 10 6 , higher than our highest value R = 10 5 . Turbulence can be modeled with direct numerical simulation (DNS), which would be our model including time dependency. As we do not include the time dependency in this work, we only look for stationary solutions. Now, the highest value of R is 10 5 which is not yet turbulent. The time dependent model for turbulence can be easily implemented, and it will be addressed in future work. Because of this domain decomposition, the aspect ratio and the Rayleigh number can be increased considerably by adding subdomains in any direction. Then, values of the Rayleigh number for near turbulent regimes can be reached, and domains with large aspect ratio can be considered. Namely, the great advantage of this method is that we get solutions close to turbulence, or in domains with large aspect ratios, by solving systems of linear equations with well-conditioned matrices of maximum size one thousand. The main benefit of the developed method compared with finite differences, finite elements, spectral elements, continuous Galerkin, and discontinuous Galerkin is the small well-conditioned matrices that appear in this method. The maximum size of the matrix in the systems that are solved with this method is 10 3 in the case of a mesh grid 16 × 12 for a near turbulent flow with R = 10 5 . This is the main advantage over other methods that require solving systems with huge matrices of the order of several million, usually badly conditioned. In this case, ill conditioning is avoided and there is no need for preconditioners; even domain decomposition is used as preconditioner for those methods, as, for example, in Refs. [55,72].
Regarding the computational cost, the size of the collocation mesh is around 100 points, the problem has four unknowns, then the size of the matrices is 400 × 400 ; the linear solver needs this size squared operations, i.e., O ( 10 5 ) , the Schwarz and Newton iterations are fixed to 5 and 40, respectively. Then, the computational cost is around the number of subdomains times 10 7 . The computational cost is comparable to other methods. The method is parallelizable; the number of subdomains can be eliminated from the count in this case, but then the computational cost penalty due to parallelization should be included.

5. Conclusions

In this work, an alternating Schwarz domain decomposition method to solve a Rayleigh–Bénard problem is presented. The problem is modeled with the stationary version of incompressible Navier–Stokes equations and the heat equation in a rectangular domain under the Boussinesq approximation. The system of partial differential equations is nonlinear. The nonlinearity has been solved numerically with a Newton’s method. Each iteration of Newton’s method has been discretized with an alternating Schwarz scheme, and each Schwarz iteration is solved with a collocation Legendre method. The Legendre collocation method is ill conditioned; for this reason it is not possible in a single domain to increase the mesh size appropriately to obtain solutions with many oscillations or solutions with structure at different scales. These solutions appear for large domains or large values of the Rayleigh number in the turbulent regime. This difficulty has been overcome with the use of an alternating Schwarz domain decomposition method. The original domain has been divided into several subdomains in both directions of the plane. Each step of the Newton and Schwarz iteration problems in each subdomain has been solved by Legendre collocation with a coarse mesh, then the problem in each subdomain is well conditioned. The present work achieves an efficient alternating Schwarz algorithm such that the number of subdomains can be increased indefinitely in both directions of the plane. The method has been validated with a benchmark with numerical solutions obtained with other methods and with real experiments. Because of this domain decomposition method, the aspect ratio and Rayleigh number can be increased considerably by adding subdomains. Then Rayleigh values close to the turbulent regime can be reached. The great advantage of this method is that we obtain solutions close to turbulence, or in domains with large aspect ratios, by solving systems of linear equations with well-conditioned matrices of maximum size one thousand. This is an advantage over other methods that require solving systems with huge matrices on the order of several million, usually with conditioning problems. The computational cost is comparable to other methods, and the code is parallelizable.

Author Contributions

Investigation, D.M., H.H. and F.P.; Software, D.M., H.H. and F.P. All authors have read and agreed to the published version of the manuscript.

Funding

This work was partially supported by Research Grants PID2019-109652GB-I00 (Spanish Government) and 2021-GRIN-30985 (Universidad de Castilla-La Mancha), which include RDEF funds. D. Martínez has a predoctoral contract from the Universidad de Castilla-La Mancha, which includes ESF+ funds.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Boffetta, G.; Ecke, R. Two-Dimensional Turbulence. Annu. Rev. Fluid Mech. 2012, 44, 427–451. [Google Scholar] [CrossRef]
  2. Grinberg, L.; Karniadakis, G. A new domain decomposition method with overlapping patches for ultra-scale simulations: Application to biological flows. J. Comput. Phys. 2010, 229, 5541–5563. [Google Scholar] [CrossRef]
  3. Herrero, H.; Pla, F.; Ruiz-Ferrández, M. A Schwarz Method for a Rayleigh-Bénard Problem. J. Sci. Comput. 2019, 78, 376–392. [Google Scholar] [CrossRef]
  4. Keyes, D.E. Multiphysics simulations: Challenges and opportunities. Int. J. High Perform. Comput. Appl. 2012, 27, 4–86. [Google Scholar] [CrossRef] [Green Version]
  5. Kim, J.W.; Sandberg, R.D. Efficient parallel computing with a compact finite difference scheme. Comput. Fluids 2012, 58, 70–87. [Google Scholar] [CrossRef]
  6. Klinteberg, L.; Askham, T.; Kropinski, M.C. A fast integral equation method for the two-dimensional Navier-Stokes equations. J. Comput. Phys. 2020, 409, 109353. [Google Scholar] [CrossRef] [Green Version]
  7. Manna, M.; Benocci, C.; Simons, E. Large eddy simulation of turbulent flows via domain decomposition techniques. Part 1: Theory. Int. J. Numer. Methods Fluids 2005, 48, 367–395. [Google Scholar] [CrossRef]
  8. Mittal, K.; Dutta, S.; Fischer, P. Multirate timestepping for the incompressible Navier-Stokes equations in overlapping grids. J. Comput. Phys. 2021, 437, 110335. [Google Scholar] [CrossRef]
  9. Utyuzhnikov, S. Domain decomposition for near-wall turbulent flows. Comput. Fluids 2009, 38, 1710–1717. [Google Scholar] [CrossRef]
  10. Bénard, H. Les tourbillons cellulaires dans une nappe liquide. Rev. Gen. Sci. Pures Appl. 1900, 11, 1261–1271. [Google Scholar]
  11. Rayleigh, L. On the convective currents in a horizontal layer of fluid when the temperature is on the under side. Lond. Edinburg Dublin Philos. Mag. J. Sci. 1916, 32, 529–546. [Google Scholar] [CrossRef]
  12. Pearson, J.R.A. On convection cells induced by surface tension. J. Fluid Mech. 1958, 4, 489–500. [Google Scholar] [CrossRef]
  13. Kolesnikov, A.I.; Grechishkin, R.M.; Tret’yakov, A.A.; Gritsunova, O.V.; Vorontsova, E.Y. Taylor Vortices Formed in the Melt during Paratellurite Crystal Growth. Crystallogr. Rep. 2014, 53, 1203–1207. [Google Scholar] [CrossRef]
  14. Smirnov, Y.M.; Kaplunov, I.A.; Kolesnikov, A.I. Symmetry in the Crystal Growth Processes from the Melt. Acta Crystallogr. A Found. Adv. 2006, 62, S57. [Google Scholar] [CrossRef]
  15. Hennenberg, M.; Weysson, B.; Slavtechev, S.; Alexandrov, V.; Desaive, T.J. Rayleigh-Marangoni-Bénard instability of a ferrofluid layer in a vertical magnetic field. J. Magn. Magn. Mater. 2005, 289, 268–271. [Google Scholar] [CrossRef] [Green Version]
  16. Buffone, C.; Cecere, A.; Savino, R.; Rioboo, R.; De Conick, J.; Vaerenberg, S. Onset of Marangoni convection in low viscosity silicon oil inside a heated capillary tube. Int. J. Therm. Sci. 2014, 84, 158–163. [Google Scholar] [CrossRef] [Green Version]
  17. Hoyas, S.; Herrero, H.; Mancho, A.M. Thermocapillar and thermogravitatory waves in a convection problem. Theor. Comput. Fluid Dyn. 2004, 18, 309–322. [Google Scholar] [CrossRef]
  18. Normand, C.; Pomeau, Y.; Velarde, M.G. Convective instability: A physicist’s approach. Rev. Mod. Phys. 1977, 49, 581–624. [Google Scholar] [CrossRef]
  19. Schatz, M.F.; Neitzel, G.P. Experiments on thermocapillary instabilities. Annu. Rev. Fluid Mech. 2001, 33, 93–127. [Google Scholar] [CrossRef] [Green Version]
  20. Velarde, M.G.; Normand, C. Convection. Sci. Am. 1980, 243, 92–108. [Google Scholar]
  21. Velarde, M.G.; Nepomnyashchy, A.A.; Hennenberg, M. Onset of oscillatory interfacial instabilities and wave motions in Benard layers. Adv. Appl. Mech. 2001, 37, 167–238. [Google Scholar] [CrossRef]
  22. Colinet, P.; Legros, J.C.; Velarde, M.G. Nonlinear Dynamics of Surface Tension-Driven Instabilities; Wiley-VCH: New York, NY, USA, 2001. [Google Scholar]
  23. Chandrasekhar, S. Hydrodynamic and Hidromagnetic Stability; Dover: New York, NY, USA, 1981. [Google Scholar]
  24. Khallouf, H.; Gershuni, G.Z.; Mojtabi, A. Numerical study of 2-dimensional thermovibrational convection in rectangular cavities. Numer. Heat Transf. Part A Appl. 1995, 27, 297–305. [Google Scholar] [CrossRef]
  25. Koschmieder, E.L. Bénard Cells and Taylor Vortices; Cambridge University Press: Cambridge, UK, 1993. [Google Scholar]
  26. Pla, F.; Herrero, H.; Lafitte, O. Theoretical and numerical study of a thermal convection problem with temperature-dependent viscosity in an infinite layer. Physica D 2010, 239, 1108–1119. [Google Scholar] [CrossRef]
  27. Platten, J.K.; Legros, J.C. Dynamics of the Rayleigh-Bénard convection. J. Non-Equilib. Thermodyn. 1980, 5, 243–254. [Google Scholar] [CrossRef]
  28. Peyret, R. Spectral Methods for Incompressible Viscous Flow; Applied Mathematical Sciences 148; Springer: Berlin/Heidelberg, Germany, 2002. [Google Scholar]
  29. Lithgow-Bertollini, C.; Richards, M.A.; Conrad, C.P.; Griffiths, R.W. Plume generation in natural thermal convection at high Rayleigh and Prandtl numbers. J. Fluid Mech. 2001, 434, 1–21. [Google Scholar] [CrossRef] [Green Version]
  30. Pandey, A.; Verma, M.K.; Chatterjee, A.G.; Dutta, B. Similarities between 2D and 3D convection for large Prandtl number. Pramana 2016, 87, 1–10. [Google Scholar] [CrossRef] [Green Version]
  31. Bernardi, C.; Maday, Y. Approximations Spectrales des Problemes aux Limites Elliptiques; Springer: Berlin, Germany, 1992. [Google Scholar]
  32. Canuto, C.; Hussaini, M.; Quarteroni, A.; Zang, T. Spectral Methods in Fluid Dynamics; Springer: New York, NY, USA, 1988. [Google Scholar]
  33. Castaño, D.; Navarro, M.C.; Herrero, H. Thermoconvective vortices in a cylindrical annulus with varying inner radius. Chaos 2014, 24, 043116. [Google Scholar] [CrossRef]
  34. Herrero, H.; Mancho, A.M. Influence of aspect ratio in convection due to nonuniform heating. Phys. Rev. E 1998, 57, 7336–7339. [Google Scholar] [CrossRef] [Green Version]
  35. Cai, X.-C. Some Domain Decomposition Algorithms for Nonselfadjoint Elliptic and Parabolic Partial Differential Equations; Palala Press: Online, 2018. [Google Scholar]
  36. Mathew, T.P.A. Domain Decomposition Methods for the Numerical Solution of Partial Differential Equations; Springer: Berlin/Heidelberg, Germany, 2008. [Google Scholar]
  37. Quarteroni, A.; Valli, A. Domain Decomposition Methods for Partial Differential Equations; Oxford Science Publications: Oxford, UK, 1999. [Google Scholar]
  38. Smith, B.; Bjorstad, P.; Gropp, W. Domain Decomposition: Parallel Multilevel Methods for Elliptic Partial Differential Equations; Cambridge University Press: Cambridge, UK, 1996. [Google Scholar]
  39. Toselli, A.; Widlund, O. Domain Decomposition Methods-Algorithms and Theory; Springer: Berlin/Heidelberg, Germany, 2010. [Google Scholar]
  40. Wildlund, O.B.; Keyes, D.E. Domain Decomposition Methods in Science and Engineering XVI; Springer: Berlin/Heidelberg, Germany, 2007. [Google Scholar]
  41. Blayo, E.; Cherel, D.; Rousseau, A. Towards optimized Schwarz methods for the Navier-Stokes equations. J. Sci. Comput. 2016, 66, 275–295. [Google Scholar] [CrossRef] [Green Version]
  42. Brakkee, E.; Vuik, C.; Wesseling, P. Domain decomposition for the incompressible Navier-Stokes equations: Solving subdomains accurately and inaccurately. Int. J. Numer. Methods Fluids 1998, 26, 1217–1237. [Google Scholar] [CrossRef]
  43. Mittal, K.; Dutta, S.; Fischer, P. Nonconforming Schwarz-spectral element methods for incompressible flow. Comput. Fluids 2019, 191, 104237. [Google Scholar] [CrossRef] [Green Version]
  44. Muller, L.; Lube, G. A nonoverlap domain decomposition method for the nonstationary Navier-Stokes problem. ZAMM J. Appl. Math. Mech. 2001, 81, 725–726. [Google Scholar] [CrossRef]
  45. Ronquist, E.M. A domain decomposition solver for the steady Navier-Stokes equations. In Proceedings of the Third International Conference on Spectral and High Order Methods, Houston, TX, USA, 5–9 June 1995; pp. 469–485. [Google Scholar]
  46. Shang, Y. A parallel finite element variational multiscale method based on fully overlapping domain decomposition for incompressible flows. Numer. Methods Partial. Differ. Equ. 2015, 31, 856–875. [Google Scholar] [CrossRef]
  47. Strikwerda, J.; Scarbnick, C. A domain decomposition method for incompressible flow. SIAM J. Sci. Comput. 1993, 14, 49–67. [Google Scholar] [CrossRef] [Green Version]
  48. Tang, H.S.; Haynes, R.D.; Houzeaux, G. A Review of Domain Decomposition Methods for Simulation of Fluid Flows: Concepts, Algorithms, and Applications. Arch. Comput. Meth. Eng. 2021, 28, 841–873. [Google Scholar] [CrossRef]
  49. Xu, X.; Chow, C.; Lui, S. On nonoverlapping domain decomposition methods for the incompressible Navier-Stokes equations. ESAIM Math. Model. Numer. Anal. 2005, 39, 1251–1269. [Google Scholar] [CrossRef]
  50. Louchart, O.; Randriamampianina, A. A spectral iterative domain decomposition technique for the incompressible Navier-Stokes equations. Appl. Numer. Math. 2000, 33, 233–240. [Google Scholar] [CrossRef]
  51. Cai, X.C.; Keyes, D.E. Nonlinearly preconditioned inexact Newton algorithms. SIAM J. Comput. Sci. 2002, 24, 183–200. [Google Scholar] [CrossRef] [Green Version]
  52. Chien, H.; Mark, C.; Tchelepi, H.A.; Yardumian, H.E.; Chen, W.H. Scalable parallel multi-purpose reservoir simulator. SPE Symp. Reserv. Simul. 1997, 17–30. [Google Scholar] [CrossRef]
  53. Lacroix, S.; Vassilevski, Y.; Wheeler, J.; Wheeler, M.F. Iterative solution methods for modeling multiphase flow in porous media fully implicitly. SIAM J. Sci. Comput. 2003, 25, 905–926. [Google Scholar] [CrossRef]
  54. Barnafi, N.A.; Pavarino, L.F.; Scacchi, S. Parallel inexact Newton-Krylov and quasi-Newton solvers for nonlinear elasticity. arXiv 2022, arXiv:2203.05610. [Google Scholar] [CrossRef]
  55. Klemetsdal, O.; Moncorgé, A.; Moyner, O.; Lie, K.A. A numerical study of the additive Schwarz preconditioned exact Newton method (ASPEN) as a nonlinear preconditioner for immiscible and compositional porous media flow. Comput. Geosci. 2022, 26, 1045–1063. [Google Scholar] [CrossRef]
  56. Wu, Y.; Liu, B.; Zang, H.; Li, F. Accuracy and efficient solution of helical coiled once-through steam generator model using JFNK method. Ann. Nucl. Energy 2021, 159, 108290. [Google Scholar] [CrossRef]
  57. Klemetsdal, O.S.; Moyner, O.; Lie, K.-A. Robust nonlinear Newton solver with adaptive interface-localized trust regions. SPE J. 2019, 24, 1576–1594. [Google Scholar] [CrossRef]
  58. Moyner, O. Nonlinear solver for three-phase transport problems based on approximate trust regions. Comput. Geosci. 2017, 21, 999–1021. [Google Scholar] [CrossRef]
  59. Cortés, J.; Herrero, H.; Pla, F. A Galerkin/POD Reduced-Order Model from Eigenfunctions of Non-Converged Time Evolution Solutions in a Convection Problem. Mathematics 2022, 10, 905. [Google Scholar] [CrossRef]
  60. Herrero, H.; Maday, Y.; Pla, F. RB (Reduced Basis) applied to RB (Rayleigh-Bénard). Comput. Methods Appl. Mech. Eng. 2013, 261–262, 132–141. [Google Scholar] [CrossRef]
  61. Mercader, I.; Batiste, O.; Alonso, A. Continuation of travelling-wave solutions of the Navier-Stokes equations. Int. J. Numer. Methods Fluids 2006, 52, 707–721. [Google Scholar] [CrossRef] [Green Version]
  62. Navarro, M.C.; Castaño, D.; Herrero, H. Thermoconvective instabilities to explain the main characteristics of a dust devil-like vortex. Physica D 2015, 308, 109–115. [Google Scholar] [CrossRef]
  63. Pla, F.; Mancho, A.M.; Herrero, H. Bifurcation phenomena in a convection problem with temperature dependent viscosity at low aspect ratio. Physica D 2009, 238, 572–580. [Google Scholar] [CrossRef] [Green Version]
  64. Bustamante, C.A.; Power, H.; Florez, W.F. Schwarz alternating domain decomposition approach for the solution of mixed heat convection flow problems based on the method of approximate particular solutions. In Computational Methods for Coupled Problems in Science and Engineering V; Idelsohn, S., Papadrakakis, M., Schrefler, B., Eds.; UPCommons: Barcelona, Spain, 2013; pp. 1280–1291. [Google Scholar]
  65. Davies, G.F. Dynamic Earth. Plates, Plumes and Mantle Convection; Cambridge University Press: Cambridge, UK, 1999. [Google Scholar]
  66. Moresi, L.N.; Solomatov, V.S. Numerical investigation of 2D convection with extremely large viscosity variations. Phys. Fluids 1995, 7, 2154–2162. [Google Scholar] [CrossRef]
  67. Herrero, H.; Mancho, A.M. On presssure boundary conditions for thermoconvective problems. Int. J. Numer. Methods Fluids 2002, 39, 391–402. [Google Scholar] [CrossRef]
  68. Herrero, H.; Hoyas, S.; Donoso, A.; Mancho, A.M.; Chacón, J.M.; Portugués, R.F.; Yeste, B. Chebyshev collocation for a convective problem in primitive variable formulation. J. Sci. Comput. 2003, 8, 312–328. [Google Scholar]
  69. Ghias, S.R.; Jarvis, G.T. Mantle convetion models with temperature and depth-dependent thermal expansivity. J. Geophys. Res. Solid Earth 2008, 113, 1–15. [Google Scholar] [CrossRef]
  70. Mancho, A.M.; Herrero, H.; Burguete, J. Primary instabilities in convective cells due to non-uniform heating. Phys. Rev. E 1997, 56, 2916–2923. [Google Scholar] [CrossRef] [Green Version]
  71. Mazzino, A. Two-dimensional turbulence. Phys. Fluids 2017, 29, 111102. [Google Scholar] [CrossRef] [Green Version]
  72. Wu, B.T.; Wang, Z.D.; Wang, H.M. A GPU-Based Multilevel Additive Schwarz Preconditioner for Cloth and Deformable Body Simulation. AC Trans. Graph. 2022, 41, 1–14. [Google Scholar] [CrossRef]
Figure 1. Example of domain Ω split in four subdomains with overlap.
Figure 1. Example of domain Ω split in four subdomains with overlap.
Mathematics 10 03718 g001
Figure 2. Example of overlap between Legendre collocation nodes in adjacent domains; N = 16 , overlap = 4.
Figure 2. Example of overlap between Legendre collocation nodes in adjacent domains; N = 16 , overlap = 4.
Mathematics 10 03718 g002
Figure 3. Isotherms and velocity field of the numerical solution obtained with finite elements; R = 1300 and Γ = 3.495 .
Figure 3. Isotherms and velocity field of the numerical solution obtained with finite elements; R = 1300 and Γ = 3.495 .
Mathematics 10 03718 g003
Figure 4. Isotherms and velocity field of the numerical solution obtained with alternating Schwarz; R = 1300 and Γ = 3.495 .
Figure 4. Isotherms and velocity field of the numerical solution obtained with alternating Schwarz; R = 1300 and Γ = 3.495 .
Mathematics 10 03718 g004
Figure 5. Isotherms and velocity field of the numerical solution obtained with finite elements; R = 1300 and Γ = 27.96 .
Figure 5. Isotherms and velocity field of the numerical solution obtained with finite elements; R = 1300 and Γ = 27.96 .
Mathematics 10 03718 g005
Figure 6. Isotherms and velocity field of the numerical solution obtained with alternating Schwarz; R = 1300 and Γ = 27.96 .
Figure 6. Isotherms and velocity field of the numerical solution obtained with alternating Schwarz; R = 1300 and Γ = 27.96 .
Mathematics 10 03718 g006
Figure 7. Isotherms and velocity field of the numerical solution obtained with finite elements; R = 5000 and Γ = 3.495 .
Figure 7. Isotherms and velocity field of the numerical solution obtained with finite elements; R = 5000 and Γ = 3.495 .
Mathematics 10 03718 g007
Figure 8. Isotherms and velocity field of the numerical solution obtained with alternating Schwarz; R = 5000 and Γ = 3.495 .
Figure 8. Isotherms and velocity field of the numerical solution obtained with alternating Schwarz; R = 5000 and Γ = 3.495 .
Mathematics 10 03718 g008
Figure 9. Isotherms and velocity field of the numerical solution obtained with finite elements; R = 5000 and Γ = 27.96 .
Figure 9. Isotherms and velocity field of the numerical solution obtained with finite elements; R = 5000 and Γ = 27.96 .
Mathematics 10 03718 g009
Figure 10. Isotherms and velocity field of the numerical solution obtained with alternating Schwarz; R = 5000 and Γ = 27.96 .
Figure 10. Isotherms and velocity field of the numerical solution obtained with alternating Schwarz; R = 5000 and Γ = 27.96 .
Mathematics 10 03718 g010
Figure 11. Graph of the log 10 of the errors in the velocity, temperature, and pressure fields for the Schwarz iterations: (a) R = 1300 , Γ = 3.495 , n p = 2 , m p = 1 , N × M = 10 × 10 ; (b) R = 5000 , Γ = 3.495 , n p = 8 , m p = 2 , N × M = 16 × 10 .
Figure 11. Graph of the log 10 of the errors in the velocity, temperature, and pressure fields for the Schwarz iterations: (a) R = 1300 , Γ = 3.495 , n p = 2 , m p = 1 , N × M = 10 × 10 ; (b) R = 5000 , Γ = 3.495 , n p = 8 , m p = 2 , N × M = 16 × 10 .
Mathematics 10 03718 g011
Figure 12. Isotherms and velocity field of a numerical solution obtained with alternating Schwarz domain decomposition; R = 10 4 , Γ = 3.495 , n p = 25 , m p = 2 , N × M = 12 × 10 .
Figure 12. Isotherms and velocity field of a numerical solution obtained with alternating Schwarz domain decomposition; R = 10 4 , Γ = 3.495 , n p = 25 , m p = 2 , N × M = 12 × 10 .
Mathematics 10 03718 g012
Figure 13. Isotherms and velocity field of a numerical solution obtained with alternating Schwarz domain decomposition; R = 10 5 , Γ = 3.495 , n p = 25 , m p = 5 , N × M = 16 × 12 .
Figure 13. Isotherms and velocity field of a numerical solution obtained with alternating Schwarz domain decomposition; R = 10 5 , Γ = 3.495 , n p = 25 , m p = 5 , N × M = 16 × 12 .
Mathematics 10 03718 g013
Figure 14. Graph of the log 10 of the errors in the velocity, temperature, and pressure fields for the Schwarz iterations: (a) R = 10 4 , Γ = 3.495 , n p = 25 , m p = 2 , N × M = 12 × 10 ; (b) R = 10 5 , Γ = 3.495 , n p = 25 , m p = 5 , N × M = 16 × 12 .
Figure 14. Graph of the log 10 of the errors in the velocity, temperature, and pressure fields for the Schwarz iterations: (a) R = 10 4 , Γ = 3.495 , n p = 25 , m p = 2 , N × M = 12 × 10 ; (b) R = 10 5 , Γ = 3.495 , n p = 25 , m p = 5 , N × M = 16 × 12 .
Mathematics 10 03718 g014
Figure 15. Graph of the log 10 of the errors in the velocity, temperature, and pressure fields for the Schwarz iterations: (a) R = 1300 , Γ = 27.96 , n p = 14 , m p = 2 , N × M = 16 × 10 ; (b) R = 5000 , Γ = 27.96 , n p = 13 , m p = 3 , N × M = 18 × 12 .
Figure 15. Graph of the log 10 of the errors in the velocity, temperature, and pressure fields for the Schwarz iterations: (a) R = 1300 , Γ = 27.96 , n p = 14 , m p = 2 , N × M = 16 × 10 ; (b) R = 5000 , Γ = 27.96 , n p = 13 , m p = 3 , N × M = 18 × 12 .
Mathematics 10 03718 g015
Figure 16. Isotherms and velocity field of a numerical solution obtained with alternating Schwarz domain decomposition; R = 1300 , Γ = 50 , n p = 20 , m p = 2 , N × M = 16 × 10 .
Figure 16. Isotherms and velocity field of a numerical solution obtained with alternating Schwarz domain decomposition; R = 1300 , Γ = 50 , n p = 20 , m p = 2 , N × M = 16 × 10 .
Mathematics 10 03718 g016
Figure 17. Isotherms and velocity field of a numerical solution obtained with alternating Schwarz domain decomposition; R = 1300 , Γ = 100 , n p = 35 , m p = 2 , N × M = 16 × 10 .
Figure 17. Isotherms and velocity field of a numerical solution obtained with alternating Schwarz domain decomposition; R = 1300 , Γ = 100 , n p = 35 , m p = 2 , N × M = 16 × 10 .
Mathematics 10 03718 g017
Figure 18. (a) Convergence rate for the Schwarz iterations: R = 1300 , Γ = 3.495 ; (b) convergence rate for the Schwarz iterations: R = 5000 , Γ = 3.495 .
Figure 18. (a) Convergence rate for the Schwarz iterations: R = 1300 , Γ = 3.495 ; (b) convergence rate for the Schwarz iterations: R = 5000 , Γ = 3.495 .
Mathematics 10 03718 g018
Figure 19. Graph of the log 10 of the errors in the velocity, temperature, and pressure fields for the Newton iterations: (a) R = 1300 , Γ = 3.495 , n p = 2 , m p = 1 , N × M = 10 × 10 ; (b) R = 5000 , Γ = 3.495 , n p = 8 , m p = 2 , N × M = 16 × 10 .
Figure 19. Graph of the log 10 of the errors in the velocity, temperature, and pressure fields for the Newton iterations: (a) R = 1300 , Γ = 3.495 , n p = 2 , m p = 1 , N × M = 10 × 10 ; (b) R = 5000 , Γ = 3.495 , n p = 8 , m p = 2 , N × M = 16 × 10 .
Mathematics 10 03718 g019
Figure 20. Graph of the log 10 of the errors in the velocity, temperature, and pressure fields for the Newton iterations: (a) R = 10 4 , Γ = 3.495 , n p = 25 , m p = 2 , N × M = 12 × 10 ; (b) R = 10 5 , Γ = 3.495 , n p = 25 , m p = 5 , N × M = 16 × 12 .
Figure 20. Graph of the log 10 of the errors in the velocity, temperature, and pressure fields for the Newton iterations: (a) R = 10 4 , Γ = 3.495 , n p = 25 , m p = 2 , N × M = 12 × 10 ; (b) R = 10 5 , Γ = 3.495 , n p = 25 , m p = 5 , N × M = 16 × 12 .
Mathematics 10 03718 g020
Figure 21. Graph of the log 10 of the errors in the velocity, temperature, and pressure fields for the Newton iterations: (a) R = 1300 , Γ = 27.96 , n p = 14 , m p = 2 , N × M = 16 × 10 ; (b) R = 5000 , Γ = 27.96 , n p = 13 , m p = 3 , N × M = 18 × 12 .
Figure 21. Graph of the log 10 of the errors in the velocity, temperature, and pressure fields for the Newton iterations: (a) R = 1300 , Γ = 27.96 , n p = 14 , m p = 2 , N × M = 16 × 10 ; (b) R = 5000 , Γ = 27.96 , n p = 13 , m p = 3 , N × M = 18 × 12 .
Mathematics 10 03718 g021
Figure 22. Ratio of the convergence of the Newton’s method for R = 1300 , Γ = 3.495 , n p = 1 , m p = 1 , N × M = 50 × 50 .
Figure 22. Ratio of the convergence of the Newton’s method for R = 1300 , Γ = 3.495 , n p = 1 , m p = 1 , N × M = 50 × 50 .
Mathematics 10 03718 g022
Figure 23. Ratio of the convergence of the Newton’s method for R = 1300 , Γ = 3.495 , n p = 2 , m p = 1 , N × M = 16 × 10 .
Figure 23. Ratio of the convergence of the Newton’s method for R = 1300 , Γ = 3.495 , n p = 2 , m p = 1 , N × M = 16 × 10 .
Mathematics 10 03718 g023
Table 1. Relative L 2 norm of the difference between the horizontal component of the velocity solution, u x , obtained with Legendre collocation with a mesh 50 × 50 in a single domain and the solution obtained with different numbers of subdomains on the horizontal axis, n p , a single domain on the vertical axis, m p = 1 , and different Legendre collocation meshes N × M ; R = 1300 and Γ = 3.495 .
Table 1. Relative L 2 norm of the difference between the horizontal component of the velocity solution, u x , obtained with Legendre collocation with a mesh 50 × 50 in a single domain and the solution obtained with different numbers of subdomains on the horizontal axis, n p , a single domain on the vertical axis, m p = 1 , and different Legendre collocation meshes N × M ; R = 1300 and Γ = 3.495 .
np 10 × 10 14 × 10 16 × 16 28 × 20
11.25590.03240.01280.0001
20.00240.08610.07490.0305
30.03510.09480.13390.0525
40.07920.23410.23140.1968
50.13570.22670.18460.2793
60.20540.16680.10330.3871
70.23930.12740.04690.4302
80.22430.06140.15680.5125
90.18090.11110.23420.5476
100.18620.18820.28010.6124
Table 2. Relative L 2 norm of the difference between the horizontal component of the velocity solution, u x , obtained with Legendre collocation with a mesh 50 × 50 in a single domain and the solution obtained with different numbers of subdomains on the horizontal axis, n p , two subdomains on the vertical axis, m p = 2 , and different Legendre collocation meshes N × M ; R = 1300 and Γ = 3.495 .
Table 2. Relative L 2 norm of the difference between the horizontal component of the velocity solution, u x , obtained with Legendre collocation with a mesh 50 × 50 in a single domain and the solution obtained with different numbers of subdomains on the horizontal axis, n p , two subdomains on the vertical axis, m p = 2 , and different Legendre collocation meshes N × M ; R = 1300 and Γ = 3.495 .
np 10 × 10 14 × 10 16 × 16 28 × 20
20.11650.10360.08660.1591
30.10950.14930.10360.1680
40.17040.18610.52800.2427
50.20130.15060.09570.2887
60.19720.09390.13210.3614
70.17450.04750.18180.4108
80.13870.08690.22700.5032
90.12120.15300.26080.5427
100.12940.21030.28680.6093
Table 3. Newton errors of the last iteration for u x obtained with Legendre collocation with different meshes (N denotes the number of horizontal collocation points and M denotes the number of vertical collocation points); R a = 5000 , Γ = 3.495 , n p = 8 , and m p = 2 .
Table 3. Newton errors of the last iteration for u x obtained with Legendre collocation with different meshes (N denotes the number of horizontal collocation points and M denotes the number of vertical collocation points); R a = 5000 , Γ = 3.495 , n p = 8 , and m p = 2 .
M N 1012141618
100.00100.00170.00060.00100.0019
120.00100.00060.00050.00110.0022
140.00060.00060.00060.00130.0027
160.00070.00060.00060.00170.0034
180.00060.00060.00090.00220.0044
Table 4. Newton errors of the last iteration for u x obtained with Legendre collocation with different meshes (N denotes the number of horizontal collocation points and M denotes the number of vertical collocation points); R a = 1300 , Γ = 27.96 , n p = 14 , and m p = 2 .
Table 4. Newton errors of the last iteration for u x obtained with Legendre collocation with different meshes (N denotes the number of horizontal collocation points and M denotes the number of vertical collocation points); R a = 1300 , Γ = 27.96 , n p = 14 , and m p = 2 .
M N 1012141618
100.01190.00970.01010.01240.0202
120.10710.07800.06380.09140.0761
140.08860.08300.07810.09030.0748
160.07660.05230.05400.05310.0509
180.06420.03980.03410.03660.0376
Table 5. Newton errors of the last iteration for u x obtained with Legendre collocation with a mesh 16 × 10 varying the number of horizontal ( n p ) and vertical ( m p ) subdomains; R a = 5000 and Γ = 3.495 .
Table 5. Newton errors of the last iteration for u x obtained with Legendre collocation with a mesh 16 × 10 varying the number of horizontal ( n p ) and vertical ( m p ) subdomains; R a = 5000 and Γ = 3.495 .
np mp 123
1---
2--0.0006
3--0.0003
4--0.0002
5--0.0010
6-0.00280.0007
7-0.00070.0009
80.00080.00100.0014
90.00180.00200.0030
100.00630.00630.0074
Table 6. Newton errors of the last iteration for u x obtained with Legendre collocation with a mesh 16 × 10 varying the number of horizontal ( n p ) and vertical ( m p ) subdomains; R a = 1300 and Γ = 27.96 .
Table 6. Newton errors of the last iteration for u x obtained with Legendre collocation with a mesh 16 × 10 varying the number of horizontal ( n p ) and vertical ( m p ) subdomains; R a = 1300 and Γ = 27.96 .
np mp 123
1---
2---
3-0.01040.0632
4-0.05730.0694
5-0.02830.1036
6-0.07700.0702
7-0.00690.0730
8-0.01300.0778
9-0.02530.0753
10-0.00440.0727
11-0.01010.0777
12-0.02090.0708
13-0.04170.0605
14-0.01240.0981
15-0.03270.0994
16-0.06380.0971
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Martínez, D.; Herrero, H.; Pla, F. 2D Newton Schwarz Legendre Collocation Method for a Convection Problem. Mathematics 2022, 10, 3718. https://doi.org/10.3390/math10193718

AMA Style

Martínez D, Herrero H, Pla F. 2D Newton Schwarz Legendre Collocation Method for a Convection Problem. Mathematics. 2022; 10(19):3718. https://doi.org/10.3390/math10193718

Chicago/Turabian Style

Martínez, Darío, Henar Herrero, and Francisco Pla. 2022. "2D Newton Schwarz Legendre Collocation Method for a Convection Problem" Mathematics 10, no. 19: 3718. https://doi.org/10.3390/math10193718

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