椭圆方程的最小二乘三角单元Legendre Galerkin数值积分法
Least Squares Triangular Legendre Galerkin with Numerical Integral Method for Elliptic Equations
DOI: 10.12677/AAM.2019.82027, PDF, HTML, XML, 下载: 1,219  浏览: 4,126  国家自然科学基金支持
作者: 严梓奇, 覃永辉, 宁小玲, 金夜明:桂林电子科技大学,广西 桂林
关键词: 椭圆型方程三角区域最小二乘Legendre Galerkin法Elliptic Equations Triangular Domain Least Squares Legendre Galerkin
摘要: 研究三角形域上椭圆型方程的最小二乘三角单元Legendre Galerkin数值积分法。该方法基于最小二乘原理,在离散时采用Legendre Galerkin数值积分处理,使得格式既有Legendre Galerkin数值积分实施方便的优势,同时又有对应的代数方程的系数矩阵具有的对称正定的特点。对变系数部分的计算,则用Legendre-Gauss-Lobatto (或Chebyshev-Gauss-Lobatto)配置点插值处理。给出数值算例验证格式的谱精度。
Abstract: The least squares triangular Legendre Galerkin with numerical integration method for elliptic equations is investigated. The method is based on least squares formulation, but Legendre Galerkin with numerical integration is applied to the discretization in time, which combines the advantages of the Legendre Galerkin with numerical integration with the symmetric and positive definite systems being obtained by our scheme. For the calculation of variable coefficients, the Legendre-Gauss-Lobatto (or Chebyshev-Gauss-Lobatto (CGL)) collocation points can be used. Some numerical examples are given to verify the spectral accuracy and effectiveness of the proposed method.
文章引用:严梓奇, 覃永辉, 宁小玲, 金夜明. 椭圆方程的最小二乘三角单元Legendre Galerkin数值积分法[J]. 应用数学进展, 2019, 8(2): 235-241. https://doi.org/10.12677/AAM.2019.82027

1. 引言

本文中考虑三角形区域上如下椭圆型方程

{ Δ p + b p + c p = f ( x , y ) , ( x , y ) Ω Δ , p = 0 , ( x , y ) Γ D , n p = 0 , ( x , y ) Γ N , (1.1)

其中 Ω Δ 为三角形区域, b = ( b 1 b 2 ) T ,以及 b i , c ( i = 1 , 2 ) f ( x , y ) 均为给定的光滑函数,n表示沿着边界的单位法向量。

近年来,最小二乘有限元由于其结合了混合有限元法的优点已经被应用于流体力学领域中,如Stokes方程和Navier-Stokes方程等的数值求解 [1] [2] 。该方法的优点是可以避免Ladyzhenskaya-Babuška Brezzi (LBB)稳定性条件,所以等阶的插值多项式可用于所有变量,且所离散得到代数方程的系数矩阵具有对称正定的特点 [3] 。在求解时便于利用合适的迭代方法,如共轭梯度法等。为了得到高阶精度方法,有部分学者发展偏微分方程的最小二乘谱方法。文 [4] 中提出了椭圆型边值问题的拟谱最小二乘法,但是对于Chebyshev情况误差估计受其权函数影响而得不到最优。文 [5] 则研究耦合Legendre与Chebyshev方法且数值分析中避免了Chebyshev权函数的影响从而得到最优的误差估计。最小二乘拟谱方法还被应用于流体力学领域中Stokes方程的数值求解 [6] 。

谱方法由于其对于光滑解的偏微分方程有高阶谱精度,因此它与有限元法和有限差分法等一起成为偏微分方程重要的数值解法 [2] 。近年来,谱方法和拟谱方法被广泛应用于各领域数理模型的计算,如Navier-Stokes方程 [7] 和Fokker-Planck方程 [8] 等等。为了克服经典谱方法对矩形区域的依赖,基于Duffy’s三角形映射,文 [9] [10] 中发展了三角单元谱方法。文 [11] 中通过引进新的三角形映射研究了问题(4.4)的三角谱方法。该映射提供均匀的网格点映照 [12] [13] ,基于该映射,在 [13] 中考虑了三角单元谱元法,并在 [12] 中研究了相应的逼近理论与构造椭圆方法的三角谱元法。近年来,文 [14] 研究了耦合三角单元和矩形元谱元法。文 [15] 发展了椭圆方程和Stokes方程的三角谱元法且推广到三棱柱谱方法 [16] 。本文中利用文 [11] 的三角形映射,我们研究椭圆方程(4.4)的最小二乘三角单元Legendre Galerkin数值积分(LST-LGNI)解法。

2. 记号与三角形映射

对于任意非负整数s,设 H s ( Ω ) 为经典的Sobolev空间,其中 s | | 分别表示范数和半范数。当 s = 0 时,则 L 2 ( Ω ) = H s ( Ω ) ,且 ( , ) Ω Ω 分别为它的内积与范数 L 2 ( Ω ) 。为了简单起见,记

Ω Δ : = { ( x , y ) : 0 < x , y , x + y < 1 } , Ω : = { ( x ^ , y ^ ) : 1 < x ^ , y ^ < 1 } .

对于任意的 ( x , y ) Ω Δ ,文 [11] 中给出了 Ω Δ Ω 的一个新型映射T:

x = 1 8 ( 1 + x ^ ) ( 3 y ^ ) , y = 1 8 ( 3 x ^ ) ( 1 + y ^ ) , ( x ^ , y ^ ) Ω . (2.1)

ω 0 = ( x y ) 2 + 4 ( 1 x y ) ,则T的逆映射 T 1

x ^ = 1 + x y ω 0 , y ^ = 1 + x y ω 0 .

如文 [11] 中得到Jcobian为: J : = det ( ( x , y ) / ( x ^ , y ^ ) ) = ( 2 x ^ y ^ ) / 16 = ω 0 / 8 。因此,可定义内积为:

( u , v ) Ω Δ = ( J u ^ , v ^ ) Ω 或者 ( u ^ , v ^ ) Ω = ( ω 0 1 u , v ) Ω Δ / 8 . (2.2)

文 [11] [13] 指出:由(2.2)得到若 u n | Γ N Ω Δ 的斜边中点 ( 1 2 , 1 2 ) 存在,则经过变换后有

( x ^ v ^ + y ^ v ^ ) | ( 1 , 1 ) = 0 , (2.3)

^ N = [ N ] 2 其中 N 表示 [ 1 , 1 ] 次数不超过N多项式空间。因此,有限维空间可定义为:

V ^ N : = { v ^ N : ( x ^ v ^ + y ^ v ^ ) | ( 1 , 1 ) = 0 } . (2.4)

γ N : = { ( i , j ) : 0 i , j N , ( i , j ) ( N , N ) } 和记 Ω Δ 上与 V ^ N 对应的有限维空间为 V N 。文 [11] [13] 定义拟插值 I N L : C ( Ω ¯ Δ ) V N

u N : = i , j = 0 N u i j ϕ i j ( x i , y j ) , ( i , j ) γ N , (2.5)

其中 u i j = u ( x i , y j ) = u ^ ( x ^ i , y ^ j ) ,但 u ^ N N 则由 ( x ^ u ^ N + y ^ u ^ N ) | ( 1 , 1 ) = 0 所确定和 { ( x i , y j ) } i , j = 0 N Ω Δ 在上与LGL配置点对应的点。

3. LST-LGNI格式

引进通量 u = p

× ( u ) | Γ N = 0 , γ τ u | Γ D = 0 ,

其中 γ τ u = n × u ,n和 γ τ 分别对应边界 Γ D 的单位法向量和单位切向量。如文 [1] 得到一阶方程组为

{ u p = 0 , in Ω Δ u + b u + c p = f ( x , y ) , in Ω Δ × u = 0 , in Ω Δ (3.1)

其中边界条件为

p | Γ D = 0 , n u | Γ N = 0 , γ τ u | Γ D = 0.

V : = { v H 1 ( Ω Δ ) : v | Γ D = 0 } ,

W : = { v [ H 1 ( Ω Δ ) ] 2 : n v | Γ D = 0 , τ v | Γ D = 0 } .

定义系统(3.1)在 L 2 范数下的最小二乘函数为:

F ( v , p ; f ) = f + v b v c q Ω Δ 2 + v q Ω Δ 2 + × v Ω Δ 2 , (3.2)

其中 ( v , q ) W × V 。即,对应的最小值问题为:求 ( u , p ) W × V 满足

F ( u , p ; f ) = inf ( v , q ) W × V F ( v , q ; f ) .

因此,上述对应的变分格式为:求 ( u , p ) W × V 满足

a ( u , p ; v , q ) = f ( v , q ) , ( v , q ) W × V , (3.3)

其中

a ( u , p ; v , q ) = ( u b u c p , v b v c p ) Ω Δ + ( u p , v q ) + ( × u , × v ) Ω Δ , f ( v , q ) = ( f , v b v c q ) Ω Δ .

N ( Ω Δ ) 为三角形区域 Ω Δ 上对应有限维空间 ^ N 的所有次数不超过N多项式的空间。设

W N = [ N ( Ω Δ ) ] 2 W , V N = N ( Ω Δ ) V . (3.4)

最小二乘函数(3.2)离散形式为:

F N ( v , q ; f ) = I N f + v I N ( b v + c q ) Ω Δ , N 2 + I N v q Ω Δ , N 2 + × I N v Ω Δ , N 2 ,

其中 ( v , q ) W N × V N I N 为Legendre-Gauss-Lobatto (LGL)插值算子,或者Chebyshev-Gauss-Lobatto (CGL)配插值算子。

类似地,得到离散的最小问题为:求 ( u N , p N ) W N × V N 使得

F N ( u N , p N ; f ) = inf ( v , q ) W N × V N F N ( v , q ; f ) . (3.5)

因此,最小二乘三角形Legendre Galerkin数值积(LST-LGNI)格式为:求 ( u N , p N ) W N × V N 使得

a N ( u N , p N ; v , q ) = f N ( v , q ) , ( v , q ) W N × V N , (3.6)

其中

a N ( u N , p N ; v , q ) = ( u N I N ( b u N + c p N ) , v I N ( b v + c q ) ) Ω Δ , N + ( u N p N , v q ) Ω Δ , N + ( × u N , × v ) Ω Δ , N ,

f N ( v , q ) = ( I N f , v I N ( b v + c q ) ) Ω Δ , N .

4. 数值算例

为了验证格式(3.6)的谱精度和有效性,本节给出一些数值算例且与一些三角单元谱方法进行比较。下面定义离散的 L 2 误差为:

E N = ( l , m = 0 N ( u N ( x l , y m ) u ( x l , y m ) ) 2 w l m ) 1 / 2 ,

其中 { ( x l , y m ) } l , m = 0 N { w l m } l , m = 0 N 分别为LGL节点和其对应的数值积分权函数。

例4.1:考虑问题(4.1), b = ( 0 , 0 ) ,以及 c = 0 。精确解为

p ( x , y ) = x y ( e ( x + y ) e ) , (4.1)

p ( x , y ) = x y ( 1 x y ) ( x + 1 / 10 ) ( y + 1 / 10 ) . (4.2)

文 [17] 中采用Chebyshev配置方法对该算例进行计算,这里则用LST-LGNI (3.6)计算。表1中分别给出了文 [18] 和我们的格式(3.6)的关于L2-范数的数值误差,其中误差的定义为 E ¯ N = E N N 以及 w l m = 1 。数值结果表明,该方法具有高阶谱精度且文 [18] 中给出的数值结果类差不多。

Table 1. Error in L2-norm for example 4.1

表1. 例4.1中的L2-范数误差

例4.2:考虑问题(4.4),其中 b = ( 0 , 0 ) , c = 1 。精确解分别为(4.1)和图1中给出了最大值点误差和离散的L2-误差且数值结果显示误差具有高阶谱精度。表2中给出数值表明该方法的谱精度优于 [19] 方法。

Figure 1. Maximum point error and L2-norm error; On the left hand side: Error of the exact solution (4.1), on the right hand side: Error of the exact solution (4.3), where α = 3.2 , β = 2

图1. 最大值点误差和L2-范数误差。左侧:精确解为(4.1)的误差情况;右侧:精确解(4.3)的误差情况,其中 α = 3.2 β = 2

例4.3:考虑问题 [11]

{ ( ( x + 2 ) p ) + b p + ( x + y ) p = f ( x , y ) , ( x , y ) Ω Δ , p = 0 , ( x , y ) Γ D , n p = 0 , ( x , y ) Γ N . (4.4)

精确解如文 [11] 中给出为

Table 2. Error in L2-norm for example 4.2

表2. 例4.2中的L2-范数误差

p ( x , y ) = e x + y 1 sin ( 3 y ( y 3 x 2 + 3 4 ) ) . (4.5)

为了验证我们的方法LST-LGNI (3.6)对变系数为多项式情况也是有效的。在该算例中将我们的数值结果与文 [11] 的三角形Legendre谱方法的进行比较。表3中分别给出文 [11] 中三角谱方法与LST-LGNI (3.6)的数值结果。由此注意到格式(3.6)谱精度比 [11] 中给出的要稍好一些。

Table 3. Error in L2-norm for example 4.3

表3. 例4.3中的L2-范数误差

5. 总结

本文研究了最小二乘Legendre Galerkin的数值积分的方法。该方法结合最小二乘,离散时采用Legendre Galerkin数值积分处理,使得格式计算方便且导出的代数方程系数具有对称正定的特点,求解时允许采用如共轭梯度法。数值实验验证该方法具有高阶谱精度。更有意义是考虑复杂区域上的微分方程的求解,类似文 [14] 进一步将结合三单元与矩形元发展高效的最小二乘谱元格式。

基金项目

国家自然科学基金资助项目(No.11701119),大学生创新训练资助项目(No.201710595033),广西自然科学基金资助项目(No.2017GXNSFBA198053),广西混杂计算与集成电路设计分析重点实验室开放课题资助(No.HCIC201607)。

参考文献

NOTES

*通讯作者

参考文献

[1] Bochev, P.B. and Gunzburger, M.D. (1998) Finite Element Methods of Least-Squares Type. Siam Review, 40, 789-837.
https://doi.org/10.1137/S0036144597321156
[2] Canuto, C., Hussaini, M.Y., Quarteroni, A. and Zang, T.A. (2006) Spectral Methods. Scientific Computation. In: Fundamentals in Single Domains, Springer-Verlag, Ber-lin.
[3] Bochev, P.B. and Gunzburger, M.D. (2009) Least-Squares Finite Element Methods. Applied Mathematical Sciences, 166.
[4] Kim, S.D., Lee, H.-C. and Shin, B.C. (2003) Pseudospectral Least-Squares Method for the Se-cond-Order Elliptic Boundary Value Problem. SIAM Journal on Numerical Analysis, 41, 1370-1387.
https://doi.org/10.1137/S0036142901398234
[5] Qin, Y.H., Li, J.L. and Ma, H.P. (2016) The Legendre Ga-lerkin Chebyshev Collocation Least Squares for the Elliptic Problem. Numerical Methods for Partial Differential Equations, 32, 1689-1703.
https://doi.org/10.1002/num.22069
[6] Shin, B.-C. and Hessari, P. (2016) Least-Squares Spectral Method for Velocityvorticity-Pressure Form of the Stokes Equations. Numerical Methods for Partial Differential Equations, 32, 661-680.
https://doi.org/10.1002/num.22028
[7] Yu, X.-H. and Guo, B.-Y. (2017) Spectral Method for Vorticity-Stream Function Form of Navier Stokes Equations in an Infinite Channel with Slip Boundary Conditions. Journal of Scientific Computing, 73, 283-302.
https://doi.org/10.1007/s10915-017-0413-z
[8] Chai, G. and Wang, T.J. (2018) Mixed Generalized Her-mite-Fourier Spectral Method for Fokker-Planck Equation of Periodic Field. Applied Numerical Mathematics, 133, 25-40.
https://doi.org/10.1016/j.apnum.2017.10.006
[9] Chen, L.Z., Shen, J. and Xu, C.J. (2011) A Triangular Spectral Method for the Stokes Equations. Numerical Mathematics Theory Methods and Applications, 4, 158-179.
[10] Li, H.Y. and Shen, J. (2010) Optimal Error Estimates in Jacobi-Weighted Sobolev Spaces for Polynomial Approximations on the Triangle. Mathematics of Computation, 79, 1621-1646.
https://doi.org/10.1090/S0025-5718-09-02308-4
[11] Wang, L.L., Li, H.Y., Li, Y.Y. and Ma, H.P. (2011) A New Spectral Method on Triangle. In Spectral and High Order Methods for Partial Differential Equations, Volume 76 of Lect. Notes Comput. Sci. Eng., Springer, Heidelberg, 237-246.
[12] Samson, M.D., Li, H.Y. and Wang, L.-L. (2013) A New Triangular Spectral Element Method I: Implementation and Analysis on a Triangle. Numerical Algorithms, 64, 519-547.
https://doi.org/10.1002/num.22069
[13] Zhang, S.Y., Ma, H.P. and Wang, L.L. (2012) Legendre Triangle Spectral Element Method for an Elliptic Equation. Journal of Shanghai University Natural Science, 18, 256-260.
[14] Li, J.L., Ma, H.P., Wang, L.-L. and Wu, H. (2018) Spectral Element Methods on Hybrid Triangular and Quadrilateral Meshes. International Journal of Numerical Analysis & Modeling, 15, 111-133.
[15] Li, J.L., Ma, H.P. and Li, H.Y. (2018) A Triangular Spectral Element Method for Elliptic and Stokes Problems. Applied Mathematics and Computation, 321, 195-208.
https://doi.org/10.1016/j.amc.2017.10.025
[16] Li, J.L., Ma, H.P., Qin, Y.H. and Zhang, S.Y. (2018) A Spectral Method for Triangular Prism. Applied Numerical Mathematics, 129, 26-38.
https://doi.org/10.1016/j.apnum.2018.02.009
[17] Ji, Y.-Y., Wu, H., Ma, H.-P. and Guo, B.Y. (2011) Mul-tidomain Pseudospectral Methods for Nonlinear Convection-Diffusion Equations. Applied Mathematics and Mechanics, 32, 1255-1268.
https://doi.org/10.1007/s10483-011-1498-9
[18] Heinrichs, W. and Loch, B.I. (2001) Spectral Schemes on Tri-angular Elements. Journal of Computational Physics, 173, 279-301.
https://doi.org/10.1006/jcph.2001.6876
[19] Shen, J., Wang, L.-L. and Li, H.Y. (2009) A Triangular Spectral Element Method Using Fully Tensorial Rational Basis Functions. SIAM Journal on Numerical Analysis, 47, 1619-1650.