Next Article in Journal
Application of Artificial Neural Networks for the Monitoring of Episodes of High Toxicity by DSP in Mussel Production Areas in Galicia
Previous Article in Journal
On the Effectiveness of Convolutional Autoencoders on Image-Based Personalized Recommender Systems
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Proceeding Paper

Numerical Simulation of a Nonlinear Problem Arising in Heat Transfer and Magnetostatics †

M2NICA Research Group, CITIC, Universidade da Coruña, 15071 A Coruña, Spain
*
Author to whom correspondence should be addressed.
Presented at the 3rd XoveTIC Conference, A Coruña, Spain, 8–9 October 2020.
Proceedings 2020, 54(1), 13; https://doi.org/10.3390/proceedings2020054013
Published: 19 August 2020
(This article belongs to the Proceedings of 3rd XoveTIC Conference)

Abstract

:
We present a numerical model that comprises a nonlinear partial differential equation. We apply an adaptive stabilised mixed finite element method based on an a posteriori error indicator derived for this particular problem. We describe the numerical algorithm and some numerical results.

1. Introduction

We consider the mathematical model from [1]. The model comprises a second order nonlinear elliptic partial differential equation over a bounded domain Ω in R 2 , provided with Dirichlet boundary conditions over the contour Γ :
· ( k ( · , | u | ) u ) = f in Ω , u = g on Γ .
The unknown u can be temperature, magnetic potential, etc., | · | denotes the Euclidean norm and ∇ and · denote, respectively, the usual gradient and divergence operators. The functions k, f and g are data, and we assume that k : Ω × [ 0 , + ) R satisfies the following bound, for two positive constants k 1 and k 2 : k 1 k ( x , s ) + s s k ( x , s ) k 2 , ( x , s ) Ω × [ 0 , + ) .
Problem (1) allows to predict a wide range of physical phenomena, such as magnetostatics and heat transfer. Due to the nonlinearity, we need to resort to numerical methods. We apply an adaptive stabilized mixed finite element method and present some results from our numerical experiments.

2. Adaptive Augmented Mixed Finite Element Method

We introduce two additional unknowns, t = u and σ = k ( · , | t | ) t , and define the function space X : = [ L 2 ( Ω ) ] 2 × H ( · , Ω ) × L 2 ( Ω ) , where L 2 ( Ω ) is the space of square integrable functions and H ( · , Ω ) : = { v [ L 2 ( Ω ) ] 2 ; · v L 2 ( Ω ) } . In order to approximate the triplet ( t , σ , u ) , the domain is divided into triangular cells that conform a mesh (see Figure 1a). In each of those cells an approximation of the unknowns is calculated. The corresponding function space is X h : = P 0 × RT 0 × P 1 , with P k being the space of polynomials of degree k and RT 0 is the lowest order Raviart Thomas space. We consider the following discrete problem: find ( t h , σ h , u h ) X h such that
A ( ( t h , σ h , u h ) , ( s h , τ h , v h ) ) = F ( s h , τ h , v h ) , ( s h , τ h , v h ) X h
where
A ( ( t , σ , u ) , ( s , τ , v ) ) : = Ω k ( · , | t | ) t · s Ω σ · s + Ω τ · t + Ω u · τ Ω v · σ + κ 1 Ω ( σ k ( · , | t | ) t ) · τ + κ 2 Ω · σ · τ + κ 3 Ω ( u t ) · ( v + s ) + κ 4 Γ u v
F ( s , τ , v ) : = Γ τ · n g + Ω f v κ 2 Ω f · τ + κ 4 Γ g v
with κ i being positive constants. The nonlinear form A ( · , · ) is strongly monotone, Lipschitz-continuous and bounded for appropriate values of the parameters κ i so that problem (2) has a unique solution.
We consider an adaptive algorithm, which estimates the local error in each cell, and refines the mesh over those regions with the highest error. On each triangle, we introduce the following novel error indicator, which is reliable and locally efficient [2]:
θ T 2 : = u h t h [ L 2 ( T ) ] 2 2 + f + · σ h L 2 ( T ) 2 + σ h k ( · , | t h | ) t h [ L 2 ( T ) ] 2 2 + e E ( T ) E ( Γ ) h e ( g u h L 2 ( e ) 2 + d d s ( g u h ) L 2 ( e ) 2 )
where E ( T ) denotes the set of edges of T and E ( Γ ) the set of edges in the boundary.

3. Results and Discussion

The adaptive algorithm was tested on a singular example over the unit square with a singularity in its upper right corner. The exact solution is u ( x , y ) = ( 2.1 x y ) 1 / 3 . In Figure 1b, we can see that the algorithm refines the mesh near the singularity. Figure 1c shows a graph that compares, for both uniform and adaptive refinements, the exact error and the defined indicator vs. degrees of freedom (dof). With the adaptive algorithm the total error is lower, and a good agreement between error and indicator is seen. In fact, the efficiency index, which is the quotient between indicator and total error, tends to one as the mesh size decreases.
These simulations were carried out in FreeFEM++, following the mesh refinement algorithm proposed in [3], and the nonlinear system was solved with Newton’s method with a tolerance of 10 9 , needing four iterations.

Author Contributions

Theoretical analysis, M.G.; numerical experiments, H.V. All authors have read and agreed to the published version of the manuscript.

Funding

The authors acknowledge the support of CITIC (FEDER Program and grant ED431G 2019/01). The research of M.G. is partially supported by the Spanish Ministerio de Economía y Competitividad Grant MTM2016-76497-R, and by Xunta de Galicia Grant GRC ED431C 2018-033. The research of H.V. is partially supported by Xunta de Galicia grant ED481A-2019/413170 and Ministerio de Educación grant FPU18/06125.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Gatica, G.N.; Heuer, N.; Meddahi, S. On the numerical analysis of nonlinear twofold saddle point problems. IMA J. Numer. Anal. 2003, 23, 301–330. [Google Scholar] [CrossRef]
  2. González, M.; Varela, H. A posteriori error analysis of an augmented dual-mixed method of a nonlinear Dirichlet problem. In preparation (2020).
  3. Hecht, F. New development in freefem++. J. Numer. Math. 2012, 20, 251–265. [Google Scholar] [CrossRef]
Figure 1. Some meshes, and error and indicator for the uniform and adaptive refinements vs. dof.
Figure 1. Some meshes, and error and indicator for the uniform and adaptive refinements vs. dof.
Proceedings 54 00013 g001
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

González, M.; Varela, H. Numerical Simulation of a Nonlinear Problem Arising in Heat Transfer and Magnetostatics. Proceedings 2020, 54, 13. https://doi.org/10.3390/proceedings2020054013

AMA Style

González M, Varela H. Numerical Simulation of a Nonlinear Problem Arising in Heat Transfer and Magnetostatics. Proceedings. 2020; 54(1):13. https://doi.org/10.3390/proceedings2020054013

Chicago/Turabian Style

González, María, and Hiram Varela. 2020. "Numerical Simulation of a Nonlinear Problem Arising in Heat Transfer and Magnetostatics" Proceedings 54, no. 1: 13. https://doi.org/10.3390/proceedings2020054013

Article Metrics

Back to TopTop