(7.3 Third example: Heterogeneity and anisotropy)
 
(41 intermediate revisions by the same user not shown)
Line 25: Line 25:
 
* Guided by the local formulation, we deduce a natural way to approximate the flux/gradient-vector of a discretized function, as well as the anisotropic flux vector. We carry out a comparison of the formulas defining the flux in both DEC and Finite Element Method with linear interpolation functions (FEML).
 
* Guided by the local formulation, we deduce a natural way to approximate the flux/gradient-vector of a discretized function, as well as the anisotropic flux vector. We carry out a comparison of the formulas defining the flux in both DEC and Finite Element Method with linear interpolation functions (FEML).
  
* In order to understand how to discretize the anisotropic Poisson equation, we develop the discretization of the pull-back operator of 1-forms under an arbitrary linear trasformation or tensor. The pull-back operator is one of the basic ingredients in Exterior Differential Calculus in the smooth setting and is essential in all of its applications  in Topology [bott-Tu].  We discretize the ''pullback operator on primal 1-forms induced by an arbitrary tensor'' using Whitney interpolation (the Whitney map). The Whitney interpolation forms were introduced by Hassler Whitney in 1957 (see <span id='citeF-12'></span>[[#cite-12|[12]]] p. 139) and  Bossavit <span id='citeF-1'></span>[[#cite-1|[1]]] explained their relevance in “mixed methods” of finite elements.  To our knowledge, this is the first time that the discrete version of this operator is presented in the DEC literature.  This has allowed us to discretize, in a principled manner, the anisotropic heat equation.
+
* In order to understand how to discretize the anisotropic Poisson equation, we develop the discretization of the pull-back operator of 1-forms under an arbitrary linear trasformation or tensor. The pull-back operator is one of the basic ingredients in Exterior Differential Calculus in the smooth setting and is essential in all of its applications  in Topology [bott-Tu].  We discretize the ''pullback operator on primal 1-forms induced by an arbitrary tensor'' using Whitney interpolation (the Whitney map). The Whitney interpolation forms were introduced by Hassler Whitney in 1957 <span id='citeF-12'></span>[[#cite-12|[12]]] and  Bossavit <span id='citeF-1'></span>[[#cite-1|[1]]] explained their relevance in “mixed methods” of finite elements.  To our knowledge, this is the first time that the discrete version of this operator is presented in the DEC literature.  This has allowed us to discretize, in a principled manner, the anisotropic heat equation.
  
 
*  We carry out an analytic comparison of the DEC and FEML local formulations of the anisotropic Poisson equation.
 
*  We carry out an analytic comparison of the DEC and FEML local formulations of the anisotropic Poisson equation.
Line 41: Line 41:
 
In this section, we will recall the basic operators of Dicrete Exterior Calculus  restricting ourselves to a mesh made up of one simplex/triangle. The local results we derive in the  paper can be assembled, just as in the Finite elemnt Method,  due to the additivity of both differentiation and integration.
 
In this section, we will recall the basic operators of Dicrete Exterior Calculus  restricting ourselves to a mesh made up of one simplex/triangle. The local results we derive in the  paper can be assembled, just as in the Finite elemnt Method,  due to the additivity of both differentiation and integration.
  
Let us consider a primal mesh made up of a single (positively oriented) triangle with vertices <math display="inline">v_1,v_2,v_3</math>.
+
Let us consider a primal mesh made up of a single (positively oriented) triangle with vertices <math display="inline">v_1,v_2,v_3</math> ([[#img-1|Figure 1]]).
  
 
<div id='img-1'></div>
 
<div id='img-1'></div>
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: auto;"
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: auto;"
 
|-
 
|-
|style="padding:10px;"|[[Image:Esqueda_et_al_2020a-Triangle01.png|228px|Triangle ]]
+
|style="padding:10px;"|[[Image:Esqueda_et_al_2020a-Triangle01.png|328px|Triangle ]]
 
|- style="text-align: center; font-size: 75%;"
 
|- style="text-align: center; font-size: 75%;"
| colspan="1" style="padding-bottom:10px;"| '''Figure 1'''. Triangle  
+
| colspan="1" style="padding-bottom:10px;"| '''Figure 1'''. Triangle <math display="inline">v_1,v_2,v_3</math>
 
|}
 
|}
  
Line 149: Line 149:
 
===2.2 Discrete derivative===
 
===2.2 Discrete derivative===
  
It has been argued that the DEC discretization of the differential of a function is given by the transpose of the matrix of the  boundary operator on edges (see <span id='citeF-8'></span><span id='citeF-6'></span>[[#cite-8|[8,6]]]). More precisely, suppose we have a function discretized by its values at the vertices
+
It has been argued that the DEC discretization of the differential of a function is given by the transpose of the matrix of the  boundary operator on edges <span id='citeF-8'></span><span id='citeF-6'></span>[[#cite-8|[6,8]]]. More precisely, suppose we have a function discretized by its values at the vertices
  
 
{| class="formulaSCP" style="width: 100%; text-align: left;"  
 
{| class="formulaSCP" style="width: 100%; text-align: left;"  
Line 173: Line 173:
 
|}
 
|}
  
Indeed, such differences are rough approximations of the directional derivatives of <math display="inline">f</math> along the oriented edges.  For instance, <math display="inline">f_2-f_1</math> is a rough approximation of the directional derivative of <math display="inline">f</math> at <math display="inline">v_1</math> in the direction of the vector <math display="inline">v_2-v_1</math>, i.e.
+
Indeed, such differences are rough approximations of the directional derivatives of <math display="inline">f</math> along the oriented edges.  For instance, <math display="inline">f_2-f_1</math> is a rough approximation of the directional derivative of <math display="inline">f</math> at <math display="inline">v_1</math> in the direction of the vector <math display="inline">v_2-v_1</math>, i.e.,
  
 
{| class="formulaSCP" style="width: 100%; text-align: left;"  
 
{| class="formulaSCP" style="width: 100%; text-align: left;"  
Line 205: Line 205:
 
The dual mesh of the primal mesh consisting of a single triangle is constructured as follows:
 
The dual mesh of the primal mesh consisting of a single triangle is constructured as follows:
  
* To the 2-dimensional triangular face <math display="inline">[v_1,v_2,v_3]</math> will correspond the 0-dimensional point given by the circumcenter <math display="inline">c</math> of the triangle.
+
* To the 2-dimensional triangular face <math display="inline">[v_1,v_2,v_3]</math> will correspond the 0-dimensional point given by the circumcenter <math display="inline">c</math> of the triangle ([[#img-2|Figure 2]]).
  
 
<div id='img-2'></div>
 
<div id='img-2'></div>
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: auto;"
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: auto;"
 
|-
 
|-
|style="padding:10px;"|[[Image:Esqueda_et_al_2020a-Triangle02.png|240px|Circumcenter ]]
+
|style="padding:10px;"|[[Image:Esqueda_et_al_2020a-Triangle02.png|340px|Circumcenter ]]
 
|- style="text-align: center; font-size: 75%;"
 
|- style="text-align: center; font-size: 75%;"
| colspan="1" style="padding-bottom:10px;"| '''Figure 2'''. Circumcenter  
+
| colspan="1" style="padding-bottom:10px;"| '''Figure 2'''. Circumcenter <math display="inline">c</math> of the triangle <math display="inline">[v_1,v_2,v_3]</math>
 
|}
 
|}
  
* To the 1-dimensional edge <math display="inline">[v_1,v_2]</math> will correspond the 1-dimensional straight line segment <math display="inline">[p_1,c]</math> joining the midpoint <math display="inline">p_1</math> of the edge <math display="inline">[v_1,v_2]</math> to the circumcenter <math display="inline">c</math>.  Similarly for the other edges.
+
* To the 1-dimensional edge <math display="inline">[v_1,v_2]</math> will correspond the 1-dimensional straight line segment <math display="inline">[p_1,c]</math> joining the midpoint <math display="inline">p_1</math> of the edge <math display="inline">[v_1,v_2]</math> to the circumcenter <math display="inline">c</math> ([[#img-3|Figure 3]]).  Similarly for the other edges.
  
 
<div id='img-3'></div>
 
<div id='img-3'></div>
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: auto;"
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: auto;"
 
|-
 
|-
|style="padding:10px;"|[[Image:Esqueda_et_al_2020a-Triangle03.png|240px|Dual segment ]]
+
|style="padding:10px;"|[[Image:Esqueda_et_al_2020a-Triangle03.png|340px|Dual segment ]]
 
|- style="text-align: center; font-size: 75%;"
 
|- style="text-align: center; font-size: 75%;"
| colspan="1" style="padding-bottom:10px;"| '''Figure 3'''. Dual segment  
+
| colspan="1" style="padding-bottom:10px;"| '''Figure 3'''. Dual segment <math display="inline">[p_1,c]</math> of the edge <math display="inline">[v_1,v_2]</math>
 
|}
 
|}
  
* To the 0-dimensional vertex/node <math display="inline">[v_1]</math> will correspond the oriented <math display="inline">2</math>-dimensional quadrilateral <math display="inline">[v_1,p_1,c,p_3]</math>.
+
* To the 0-dimensional vertex/node <math display="inline">[v_1]</math> will correspond the oriented <math display="inline">2</math>-dimensional quadrilateral <math display="inline">[v_1,p_1,c,p_3]</math> ([[#img-4|Figure 4]]).
  
 
<div id='img-4'></div>
 
<div id='img-4'></div>
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: bottom;"
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: bottom;"
 
|-
 
|-
|style="padding:10px;"|[[Image:Esqueda_et_al_2020a-Triangle04.png|240px|Dual quadrilateral  ]]
+
|style="padding:10px;"|[[Image:Esqueda_et_al_2020a-Triangle04.png|340px|Dual quadrilateral  ]]
 
|- style="text-align: center; font-size: 75%;"
 
|- style="text-align: center; font-size: 75%;"
| colspan="1" style="padding-bottom:10px;"| '''Figure 4'''. Dual quadrilateral   
+
| colspan="1" style="padding-bottom:10px;"| '''Figure 4'''. Dual quadrilateral <math display="inline">[v_1,p_1,c,p_3]</math> of the vertex <math display="inline">[v_1]</math>
 
|}
 
|}
  
Line 396: Line 396:
 
{| style="text-align: left; margin:auto;width: 100%;"  
 
{| style="text-align: left; margin:auto;width: 100%;"  
 
|-
 
|-
| style="text-align: center;" | <math>S(X(p))\cdot Y    =X(p)\cdot S^T Y </math>
+
| style="text-align: center;" | <math>S(X(p))\cdot Y    =X(p)\cdot S^T Y =\alpha (p, S^T Y)    =(S^T)^*\alpha (p, Y),  </math>
|-
+
| style="text-align: center;" | <math>    =\alpha (p, S^T Y) </math>
+
|-
+
| style="text-align: center;" | <math>   =(S^T)^*\alpha (p, Y),  </math>
+
 
|}
 
|}
 
|}
 
|}
Line 684: Line 680:
 
|}
 
|}
  
As in subsection [[#2.2 Discrete derivative|2.2]], the rough approximations to directional derivatives of a function <math display="inline">f</math> in the directions of the (oriented) edges are given as follows
+
As in Subsection [[#2.2 Discrete derivative|2.2]], the rough approximations to directional derivatives of a function <math display="inline">f</math> in the directions of the (oriented) edges are given as follows
  
 
{| class="formulaSCP" style="width: 100%; text-align: left;"  
 
{| class="formulaSCP" style="width: 100%; text-align: left;"  
Line 764: Line 760:
 
{| style="text-align: left; margin:auto;width: 100%;"  
 
{| style="text-align: left; margin:auto;width: 100%;"  
 
|-
 
|-
| style="text-align: center;" | <math>f_3-f_1 = W_1\cdot (v_3-v_1) </math>
+
| style="text-align: center;" | <math>f_3-f_1 = W_1\cdot (v_3-v_1) = W_1\cdot (v_3-v_2+v_2-v_1)</math>
 
|-
 
|-
| style="text-align: center;" | <math> = W_1\cdot (v_3-v_2+v_2-v_1)</math>
+
| style="text-align: center;" | <math> = W_1\cdot (v_3-v_2)+W_1\cdot (v_2-v_1)= W_1\cdot (v_3-v_2)+f_2-f_1, </math>
|-
+
| style="text-align: center;" | <math> = W_1\cdot (v_3-v_2)+W_1\cdot (v_2-v_1)</math>
+
|-
+
| style="text-align: center;" | <math> = W_1\cdot (v_3-v_2)+f_2-f_1, </math>
+
 
|}
 
|}
 
|}
 
|}
Line 987: Line 979:
 
====4.2.1 <span id='lb-4.2.1'></span>Geometric interpretation of the entries of <math>K^{DEC}</math>====
 
====4.2.1 <span id='lb-4.2.1'></span>Geometric interpretation of the entries of <math>K^{DEC}</math>====
  
Consider the following figure, where <math display="inline">J</math> denotes the <math display="inline">90^\circ </math> anti-clockwise rotation
+
Consider the [[#img-5|Figure 5]], where <math display="inline">J</math> denotes the <math display="inline">90^\circ </math> anti-clockwise rotation
  
 
{| class="formulaSCP" style="width: 100%; text-align: left;"  
 
{| class="formulaSCP" style="width: 100%; text-align: left;"  
Line 1,001: Line 993:
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: auto;"
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: auto;"
 
|-
 
|-
|style="padding:10px;"|[[Image:Esqueda_et_al_2020a-DiscretizedAnisotropyOperator03-v2.png|360px|Geometric interpretation of the entries of the anisotropy tensor discretization ]]
+
|style="padding:10px;"|[[Image:Esqueda_et_al_2020a-DiscretizedAnisotropyOperator03-v2.png|420px|Geometric interpretation of the entries of the anisotropy tensor discretization ]]
 
|- style="text-align: center; font-size: 75%;"
 
|- style="text-align: center; font-size: 75%;"
| colspan="1" style="padding:10px;"| '''Figure 5'''. Geometric interpretation of the entries of the anisotropy tensor discretization  
+
| colspan="1" style="padding:10px;"| '''Figure 5'''. Geometric interpretation of the entries of the anisotropy tensor discretization <math>K^{DEC}</math>
 
|}
 
|}
  
Line 1,073: Line 1,065:
 
|}
 
|}
  
In order to simplify the notation, consider the lengths and areas defined in the Figure [[#img-6|6]].
+
In order to simplify the notation, consider the lengths and areas defined in [[#img-6|Figure 6]].
  
 
<div id='img-6'></div>
 
<div id='img-6'></div>
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: auto;"
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: auto;"
 
|-
 
|-
|style="padding:10px;"|[[Image:Esqueda_et_al_2020a-WellCenteredTriangle02-eps-converted-to.png|210px|Triangle ]]
+
|style="padding:10px;"|[[Image:Esqueda_et_al_2020a-WellCenteredTriangle02-eps-converted-to.png|310px|Triangle ]]
 
|- style="text-align: center; font-size: 75%;"
 
|- style="text-align: center; font-size: 75%;"
 
| colspan="1" style="padding-bottom:10px;"| '''Figure 6'''. Triangle  
 
| colspan="1" style="padding-bottom:10px;"| '''Figure 6'''. Triangle  
Line 1,176: Line 1,168:
 
===5.3 Comparison between local DEC and FEML discretizations===
 
===5.3 Comparison between local DEC and FEML discretizations===
  
For the sake of brevity,  we are only going to compare the entries of the first row and first column of each formulation. Consider the various lengths, areas and angles labeled in Figures [[#img-6|6]] and [[#img-7|7]].
+
For the sake of brevity,  we are only going to compare the entries of the first row and first column of each formulation. Consider the various lengths, areas and angles labeled in [[#img-6|Figures 6]] and [[#img-7|7]].
  
 
<div id='img-7'></div>
 
<div id='img-7'></div>
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: auto;"
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: auto;"
 
|-
 
|-
|style="padding:10px;"|[[Image:Esqueda_et_al_2020a-WellCenteredTriangle03-eps-converted-to.png|198px|Circumscribed triangle.]]
+
|style="padding:10px;"|[[Image:Esqueda_et_al_2020a-WellCenteredTriangle03-eps-converted-to.png|298px|Circumscribed triangle.]]
 
|- style="text-align: center; font-size: 75%;"
 
|- style="text-align: center; font-size: 75%;"
 
| colspan="1" style="padding-bottom:10px;"| '''Figure 7'''. Circumscribed triangle.
 
| colspan="1" style="padding-bottom:10px;"| '''Figure 7'''. Circumscribed triangle.
Line 1,246: Line 1,238:
 
{| style="text-align: left; margin:auto;width: 100%;"  
 
{| style="text-align: left; margin:auto;width: 100%;"  
 
|-
 
|-
| style="text-align: center;" | <math>\begin{array}{l} \displaystyle{1\over 4A}\left(\displaystyle{l_1(\eta ^K_{3,1}+\eta ^K_{2, 1}-\eta ^K_{1, 1})\over L_1}+\displaystyle{l_3(\eta ^K_{3, 2}+\eta ^K_{2,2}-\eta ^K_{1, 2})\over L_3}\right)    &=&   -\displaystyle{1 \over 2A }\left(\displaystyle{l_1\over L_1}J(v_3-v_2)\cdot K(v_2-v_1) +  \displaystyle{l_1\over L_1}J(v_3-v_2)\cdot K(v_3-v_1) \right)    \\    &=&     \displaystyle{J(v_3-v_2)\cdot K(v_1-v_3)\over 2A}{\tan (\alpha _3)\over 2}    -\displaystyle{J(v_3-v_2)\cdot K( v_2-v_1)\over 2A}\displaystyle{\tan (\alpha _1)\over 2}\\    &=&     \displaystyle{1\over 4A}J(v_3-v_2)\cdot K((v_1-v_3)\tan (\alpha _3)- (v_2-v_1)\tan (\alpha _1)). \end{array}</math>
+
| style="text-align: center;" | <math>\begin{array}{l} & \displaystyle{1\over 4A}\left(\displaystyle{l_1(\eta ^K_{3,1}+\eta ^K_{2, 1}-\eta ^K_{1, 1})\over L_1}+\displaystyle{l_3(\eta ^K_{3, 2}+\eta ^K_{2,2}-\eta ^K_{1, 2})\over L_3}\right)    =\\
 +
&\qquad = -\displaystyle{1 \over 2A }\left(\displaystyle{l_1\over L_1}J(v_3-v_2)\cdot K(v_2-v_1) +  \displaystyle{l_1\over L_1}J(v_3-v_2)\cdot K(v_3-v_1) \right)    \\     
 +
&\qquad =    \displaystyle{J(v_3-v_2)\cdot K(v_1-v_3)\over 2A}{\tan (\alpha _3)\over 2}    -\displaystyle{J(v_3-v_2)\cdot K( v_2-v_1)\over 2A}\displaystyle{\tan (\alpha _1)\over 2}\\     
 +
&\qquad =    \displaystyle{1\over 4A}J(v_3-v_2)\cdot K((v_1-v_3)\tan (\alpha _3)- (v_2-v_1)\tan (\alpha _1)). \end{array}</math>
 
|}
 
|}
 
|}
 
|}
Line 1,374: Line 1,369:
 
|}
 
|}
  
These expressions are valid regardless of the location of the circumcenter and can, indeed, take negative values. The angles that are measured in the scheme can be negative as in the obtuse triangle of Figure [[#img-8|8]].
+
These expressions are valid regardless of the location of the circumcenter and can, indeed, take negative values. The angles that are measured in the scheme can be negative as in the obtuse triangle of [[#img-8|Figure 8]].
  
 
<div id='img-8'></div>
 
<div id='img-8'></div>
Line 1,380: Line 1,375:
 
|-
 
|-
 
|style="padding:10px;"|[[Image:Esqueda_et_al_2020a-NonWellCenteredTriangle01a-eps-converted-to.png|180px|]]
 
|style="padding:10px;"|[[Image:Esqueda_et_al_2020a-NonWellCenteredTriangle01a-eps-converted-to.png|180px|]]
|-
 
 
|style="padding:10px;"|[[Image:Esqueda_et_al_2020a-NegativeAngles01-eps-converted-to.png|180px|Negative (exterior) angles measured in an obtuse triangle.]]
 
|style="padding:10px;"|[[Image:Esqueda_et_al_2020a-NegativeAngles01-eps-converted-to.png|180px|Negative (exterior) angles measured in an obtuse triangle.]]
 
|- style="text-align: center; font-size: 75%;"
 
|- style="text-align: center; font-size: 75%;"
| colspan="1" style="padding:10px;"| '''Figure 8'''. Negative (exterior) angles measured in an obtuse triangle.
+
| colspan="2" style="padding:10px;"| '''Figure 8'''. Negative (exterior) angles measured in an obtuse triangle
 
|}
 
|}
  
Line 1,410: Line 1,404:
 
===6.2 Area weights assigned to vertices===
 
===6.2 Area weights assigned to vertices===
  
In order to understand how local DEC assigns area weights to vertices differently from FEML, let us consider the obtuse triangle shown in Figure [[#img-8|8]]. Let <math display="inline">p_1,p_2,p_3</math> be the middle points of the segments <math display="inline">[v_1,v_2],[v_1,v_3],[v_2,v_3]</math> respectively.    As shown in Figure [[#img-9|9]], the triangle <math display="inline">[v_1,p_3,c]</math> lies completely outside of the triangle <math display="inline">[v_1,v_2,v_3]</math>. Geometrically,  this implies that its area must be assigned a negative sign, which is confirmed  by the determinant formulas of Subsection [[#6.1 The discrete Hodge star quantities revisited|6.1]]. On the other hand, the triangle <math display="inline">[v_1,p_1,c]</math> will have positive area.  Thus, their sum gives us the area <math display="inline">A_1</math> in Figure [[#img-9|9]].
+
In order to understand how local DEC assigns area weights to vertices differently from FEML, let us consider the obtuse triangle shown in [[#img-8|Figure 8]]. Let <math display="inline">p_1,p_2,p_3</math> be the middle points of the segments <math display="inline">[v_1,v_2],[v_1,v_3],[v_2,v_3]</math> respectively.    As shown in [[#img-9|Figure 9]], the triangle <math display="inline">[v_1,p_3,c]</math> lies completely outside of the triangle <math display="inline">[v_1,v_2,v_3]</math>. Geometrically,  this implies that its area must be assigned a negative sign, which is confirmed  by the determinant formulas of Subsection [[#6.1 The discrete Hodge star quantities revisited|6.1]]. On the other hand, the triangle <math display="inline">[v_1,p_1,c]</math> will have positive area.  Thus, their sum gives us the area <math display="inline">A_1</math> in [[#img-9|Figure 9]].
  
 
<div id='img-9'></div>
 
<div id='img-9'></div>
Line 1,416: Line 1,410:
 
|-
 
|-
 
|style="padding:10px;"|[[Image:Esqueda_et_al_2020a-NonWellCenteredTriangle03a-eps-converted-to.png|200px|]]
 
|style="padding:10px;"|[[Image:Esqueda_et_al_2020a-NonWellCenteredTriangle03a-eps-converted-to.png|200px|]]
|-
 
 
|style="padding:10px;"|[[Image:Esqueda_et_al_2020a-NonWellCenteredTriangle04a-eps-converted-to.png|200px|]]
 
|style="padding:10px;"|[[Image:Esqueda_et_al_2020a-NonWellCenteredTriangle04a-eps-converted-to.png|200px|]]
|-
 
 
|style="padding:10px;"|[[Image:Esqueda_et_al_2020a-NonWellCenteredTriangle05a-eps-converted-to.png|200px|Area weight assigned to ]]
 
|style="padding:10px;"|[[Image:Esqueda_et_al_2020a-NonWellCenteredTriangle05a-eps-converted-to.png|200px|Area weight assigned to ]]
 
|- style="text-align: center; font-size: 75%;"
 
|- style="text-align: center; font-size: 75%;"
| colspan="1" style="padding-bottom:10px;"| '''Figure 9:''' Area weight assigned to  
+
| colspan="3" style="padding-bottom:10px;"| '''Figure 9'''. Area weight assigned to <math display="inline">v_1</math>
 
|}
 
|}
  
  
The area <math display="inline">A_3</math> is computed similarly, where the triangle <math display="inline">[p_3,v_3,c]</math> is assigned negative area (see Figure [[#img-10|10]]).
+
The area <math display="inline">A_3</math> is computed similarly, where the triangle <math display="inline">[p_3,v_3,c]</math> is assigned negative area ([[#img-10|Figure 10]]).
  
 
<div id='img-10'></div>
 
<div id='img-10'></div>
Line 1,431: Line 1,423:
 
|-
 
|-
 
|style="padding:10px;"|[[Image:Esqueda_et_al_2020a-NonWellCenteredTriangle06a-eps-converted-to.png|200px|]]
 
|style="padding:10px;"|[[Image:Esqueda_et_al_2020a-NonWellCenteredTriangle06a-eps-converted-to.png|200px|]]
|-
 
 
|style="padding:10px;"|[[Image:Esqueda_et_al_2020a-NonWellCenteredTriangle07a-eps-converted-to.png|200px|]]
 
|style="padding:10px;"|[[Image:Esqueda_et_al_2020a-NonWellCenteredTriangle07a-eps-converted-to.png|200px|]]
|-
 
 
|style="padding:10px;"|[[Image:Esqueda_et_al_2020a-NonWellCenteredTriangle08a-eps-converted-to.png|200px|]]
 
|style="padding:10px;"|[[Image:Esqueda_et_al_2020a-NonWellCenteredTriangle08a-eps-converted-to.png|200px|]]
 
|- style="text-align: center; font-size: 75%;"
 
|- style="text-align: center; font-size: 75%;"
| colspan="1" style="padding-bottom:10px;"| '''Figure 10:''' Area weight assigned to  
+
| colspan="3" style="padding-bottom:10px;"| '''Figure 10'''. Area weight assigned to <math display="inline">v_3</math>
 
|}
 
|}
  
Note that for <math display="inline">A_2</math>, the two triangles <math display="inline">[p_1,v_2,c]</math> and <math display="inline">[v_2,p_2,c]</math> both have positive areas (Figure [[#img-11|11]]).
+
Note that for <math display="inline">A_2</math>, the two triangles <math display="inline">[p_1,v_2,c]</math> and <math display="inline">[v_2,p_2,c]</math> both have positive areas ([[#img-11|Figure 11]]).
  
 
<div id='img-11'></div>
 
<div id='img-11'></div>
Line 1,445: Line 1,435:
 
|-
 
|-
 
|style="padding:10px;"|[[Image:Esqueda_et_al_2020a-NonWellCenteredTriangle09a-eps-converted-to.png|200px|]]
 
|style="padding:10px;"|[[Image:Esqueda_et_al_2020a-NonWellCenteredTriangle09a-eps-converted-to.png|200px|]]
|-
 
 
|style="padding:10px;"|[[Image:Esqueda_et_al_2020a-NonWellCenteredTriangle10a-eps-converted-to.png|200px|]]
 
|style="padding:10px;"|[[Image:Esqueda_et_al_2020a-NonWellCenteredTriangle10a-eps-converted-to.png|200px|]]
|-
 
 
|style="padding:10px;"|[[Image:Esqueda_et_al_2020a-NonWellCenteredTriangle11a-eps-converted-to.png|200px|Area weight assigned to ]]
 
|style="padding:10px;"|[[Image:Esqueda_et_al_2020a-NonWellCenteredTriangle11a-eps-converted-to.png|200px|Area weight assigned to ]]
 
|- style="text-align: center; font-size: 75%;"
 
|- style="text-align: center; font-size: 75%;"
| colspan="1" style="padding-bottom:10px;"| '''Figure 11:''' Area weight assigned to  
+
| colspan="3" style="padding-bottom:10px;"| '''Figure 11'''. Area weight assigned to <math display="inline">v_2</math>
 
|}
 
|}
  
 
==7. Numerical examples==
 
==7. Numerical examples==
  
In this section, we present three numerical examples in order to illustrate the performance of DEC resulting from the local formulation and its implementation.  In all cases, we solve the anisotropic Poisson equation. The FEML methodology that we have used in the comparison can be consulted <span id='citeF-11'></span><span id='citeF-13'></span><span id='citeF-2'></span>[[#cite-11|[11,13,2]]].
+
In this section, we present three numerical examples in order to illustrate the performance of DEC resulting from the local formulation and its implementation.  In all cases, we solve the anisotropic Poisson equation. The FEML methodology that we have used in the comparison can be consulted <span id='citeF-11'></span><span id='citeF-13'></span><span id='citeF-2'></span>[[#cite-11|[2,11,13]]].
  
 
===7.1 First example: Heterogeneity===
 
===7.1 First example: Heterogeneity===
  
This example is intended to highlight how Local DEC deals effectively with heterogeneous materials.  Consider the region in the plane given in Figure [[#img-12|12]].  
+
This example is intended to highlight how Local DEC deals effectively with heterogeneous materials.  Consider the region in the plane given in [[#img-12|Figure 12]].  
  
 
<div id='img-12'></div>
 
<div id='img-12'></div>
Line 1,473: Line 1,461:
  
  
The meshes used in this example are shown in Figure [[#img-14|14]] and vary from coarse to very fine.  
+
The meshes used in this example are shown in [[#img-13|Figure 13]] and vary from coarse to very fine.  
  
<div id='img-13'></div>
+
<div id='img-13a'></div>
<div id='img-13'></div>
+
<div id='img-13b'></div>
 
<div id='img-13c'></div>
 
<div id='img-13c'></div>
 +
<div id='img-13d'></div>
 +
<div id='img-13e'></div>
 +
<div id='img-13f'></div>
 
<div id='img-13'></div>
 
<div id='img-13'></div>
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: auto;"
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: auto;"
Line 1,485: Line 1,476:
 
|style="padding:10px;"|[[Image:Esqueda_et_al_2020a-Fig_13_Square_m3.png|144px|]]
 
|style="padding:10px;"|[[Image:Esqueda_et_al_2020a-Fig_13_Square_m3.png|144px|]]
 
|- style="text-align: center; font-size: 75%;"
 
|- style="text-align: center; font-size: 75%;"
| (a)  
+
| (a)  
 
| (b)  
 
| (b)  
 
| (c)  
 
| (c)  
|- style="text-align: center; font-size: 75%;"
 
| colspan="3" style="padding:10px;"| '''Figure 13'''
 
|}
 
 
<div id='img-14a'></div>
 
<div id='img-14b'></div>
 
<div id='img-14c'></div>
 
<div id='img-14'></div>
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: auto;"
 
 
|-
 
|-
 
|style="padding:10px;"|[[Image:Esqueda_et_al_2020a-Fig_13_Square_m4.png|150px|]]
 
|style="padding:10px;"|[[Image:Esqueda_et_al_2020a-Fig_13_Square_m4.png|150px|]]
Line 1,502: Line 1,484:
 
|style="padding:10px;"|[[Image:Esqueda_et_al_2020a-Fig_13_Square_m6.png|150px|]]
 
|style="padding:10px;"|[[Image:Esqueda_et_al_2020a-Fig_13_Square_m6.png|150px|]]
 
|- style="text-align: center; font-size: 75%;"
 
|- style="text-align: center; font-size: 75%;"
| (a)  
+
| (d)  
| (b)  
+
| (e)  
| (c)  
+
| (f)  
 
|- style="text-align: center; font-size: 75%;"
 
|- style="text-align: center; font-size: 75%;"
| colspan="3" style="padding:10px;"| '''Figure 14'''. Six of the meshes used in the first example
+
| colspan="3" style="padding:10px;"| '''Figure 13'''. Six of the meshes used in the first example
 
|}
 
|}
  
The numerical results for the maximum temperature value are exemplified in Table [[#7.1 First example: Heterogeneity|7.1]].
+
The numerical results for the maximum temperature value are exemplified in [[#table-1|Table 1]].
  
<div class="center" style="font-size: 75%;">Numerical simulation results of the first example</div>
+
<div id='table-1'></div>
 +
<div class="center" style="font-size: 75%;">'''Table 1'''. Numerical simulation results of the first example</div>
  
{| class="floating_tableSCP wikitable" style="text-align: center; margin: 1em auto;min-width:50%;font-size:85%;"
+
<div id='tab-1'></div>
|- style="border-top: 2px solid;border-bottom: 2px solid;"
+
{| class="wikitable" style="margin: 1em auto 0.1em auto;border-collapse: collapse;font-size:85%;width:auto;"  
| rowspan='2' style="border-left: 2px solid;border-right: 2px solid;" | Mesh
+
|-style="text-align:center"
| rowspan='2' style="border-left: 2px solid;border-right: 2px solid;" nodes
+
rowspan='2' | Mesh !!  rowspan='2' |  Nodes !!  rowspan='2' | Elements !!  colspan='2' | Max. Temp. Value !!  colspan='2' | Max. Flux Magnitude
| rowspan='2' style="border-left: 2px solid;border-right: 2px solid;" | elements
+
|-style="text-align:center"
| colspan='2' style="border-right: 2px solid;border-left: 2px solid;border-right: 2px solid;" | Max. Temp. Value
+
! DEC  !!  FEML !!  DEC  !!  FEML   
| colspan='2' style="border-right: 2px solid;border-left: 2px solid;border-right: 2px solid;" | Max. Flux Magnitude
+
|- style="text-align:center"
|-style="border-top: 2px solid;border-bottom: 2px solid;"
+
| [[#img-13|Figure 13]](a)  
| style="border-left: 2px solid;border-right: 1px solid;" | DEC   
+
| 49  
| style="border-left: 1px solid;border-right: 1px solid;" | FEML
+
| 80  
| style="border-left: 1px solid;border-right: 1px solid;" | DEC   
+
| 5.51836  
| style="border-left: 1px solid;border-right: 2px solid;" | FEML   
+
| 5.53345  
|- style="border-top: 2px solid;"
+
| 13.837  
| style="border-left: 2px solid;border-right: 1px solid;" |    Figure [[#img-14|14]](a)  
+
| 13.453  
| style="border-left: 1px solid;border-right: 1px solid;" | 49  
+
|-style="text-align:center"
| style="border-left: 1px solid;border-right: 1px solid;" | 80  
+
| [[#img-13|Figure 13]](b)  
| style="border-left: 1px solid;border-right: 1px solid;" | 5.51836  
+
| 98  
| style="border-left: 1px solid;border-right: 1px solid;" | 5.53345  
+
| 162  
| style="border-left: 1px solid;border-right: 1px solid;" | 13.837  
+
| 5.65826  
| style="border-left: 1px solid;border-right: 2px solid;" | 13.453  
+
| 5.66648  
|-
+
| 14.137  
| style="border-left: 2px solid;border-right: 1px solid;" | Figure [[#img-14|14]](b)  
+
| 14.024  
| style="border-left: 1px solid;border-right: 1px solid;" | 98  
+
|-style="text-align:center"
| style="border-left: 1px solid;border-right: 1px solid;" | 162  
+
| [[#img-13|Figure 13]](c)  
| style="border-left: 1px solid;border-right: 1px solid;" | 5.65826  
+
| 258  
| style="border-left: 1px solid;border-right: 1px solid;" | 5.66648  
+
| 466  
| style="border-left: 1px solid;border-right: 1px solid;" | 14.137  
+
| 5.70585  
| style="border-left: 1px solid;border-right: 2px solid;" | 14.024  
+
| 5.71709  
|-
+
| 14.858  
| style="border-left: 2px solid;border-right: 1px solid;" | Figure [[#img-14|14]](c)  
+
| 14.770  
| style="border-left: 1px solid;border-right: 1px solid;" | 258  
+
|-style="text-align:center"
| style="border-left: 1px solid;border-right: 1px solid;" | 466  
+
| [[#img-13|Figure 13]](d)  
| style="border-left: 1px solid;border-right: 1px solid;" | 5.70585  
+
| 1,010  
| style="border-left: 1px solid;border-right: 1px solid;" | 5.71709  
+
| 1,914  
| style="border-left: 1px solid;border-right: 1px solid;" | 14.858  
+
| 5.72103  
| style="border-left: 1px solid;border-right: 2px solid;" | 14.770  
+
| 5.72280  
|-
+
| 15.008  
| style="border-left: 2px solid;border-right: 1px solid;" | Figure [[#img-14|14]](d)  
+
| 15.006  
| style="border-left: 1px solid;border-right: 1px solid;" | 1,010  
+
|-style="text-align:center"
| style="border-left: 1px solid;border-right: 1px solid;" | 1,914  
+
| [[#img-13|Figure 13]](e)  
| style="border-left: 1px solid;border-right: 1px solid;" | 5.72103  
+
| 3,813  
| style="border-left: 1px solid;border-right: 1px solid;" | 5.72280  
+
| 7,424  
| style="border-left: 1px solid;border-right: 1px solid;" | 15.008  
+
| 5.72725  
| style="border-left: 1px solid;border-right: 2px solid;" | 15.006  
+
| 5.72725  
|-
+
| 15.229  
| style="border-left: 2px solid;border-right: 1px solid;" | Figure [[#img-14|14]](e)  
+
| 15.228  
| style="border-left: 1px solid;border-right: 1px solid;" | 3,813  
+
|-style="text-align:center"
| style="border-left: 1px solid;border-right: 1px solid;" | 7,424  
+
| [[#img-13|Figure 13]](f)  
| style="border-left: 1px solid;border-right: 1px solid;" | 5.72725  
+
| 13,911  
| style="border-left: 1px solid;border-right: 1px solid;" | 5.72725  
+
| 27,420  
| style="border-left: 1px solid;border-right: 1px solid;" | 15.229  
+
| 5.72821  
| style="border-left: 1px solid;border-right: 2px solid;" | 15.228  
+
| 5.72826  
|-
+
| 15.342  
| style="border-left: 2px solid;border-right: 1px solid;" | Figure [[#img-14|14]](f)  
+
| 15.337  
| style="border-left: 1px solid;border-right: 1px solid;" | 13,911  
+
|-style="text-align:center"
| style="border-left: 1px solid;border-right: 1px solid;" | 27,420  
+
|  
| style="border-left: 1px solid;border-right: 1px solid;" | 5.72821  
+
| 50,950  
| style="border-left: 1px solid;border-right: 1px solid;" | 5.72826  
+
| 101,098  
| style="border-left: 1px solid;border-right: 1px solid;" | 15.342  
+
| 5.72841  
| style="border-left: 1px solid;border-right: 2px solid;" | 15.337  
+
| 5.72842  
|-
+
| 15.395  
| style="border-left: 2px solid;border-right: 1px solid;" |  
+
| 15.396  
| style="border-left: 1px solid;border-right: 1px solid;" | 50,950  
+
|-style="text-align:center"
| style="border-left: 1px solid;border-right: 1px solid;" | 101,098  
+
|  
| style="border-left: 1px solid;border-right: 1px solid;" | 5.72841  
+
| 135,519  
| style="border-left: 1px solid;border-right: 1px solid;" | 5.72842  
+
| 269,700  
| style="border-left: 1px solid;border-right: 1px solid;" | 15.395  
+
| 5.72845  
| style="border-left: 1px solid;border-right: 2px solid;" | 15.396  
+
| 5.72845  
|-
+
| 15.420  
| style="border-left: 2px solid;border-right: 1px solid;" |  
+
| 15.417  
| style="border-left: 1px solid;border-right: 1px solid;" | 135,519  
+
|-style="text-align:center"
| style="border-left: 1px solid;border-right: 1px solid;" | 269,700  
+
|  
| style="border-left: 1px solid;border-right: 1px solid;" | 5.72845  
+
| 298,299  
| style="border-left: 1px solid;border-right: 1px solid;" | 5.72845  
+
| 594,596  
| style="border-left: 1px solid;border-right: 1px solid;" | 15.420  
+
| 5.72848  
| style="border-left: 1px solid;border-right: 2px solid;" | 15.417  
+
| 5.72848  
|-
+
| 15.430  
| style="border-left: 2px solid;border-right: 1px solid;" |  
+
| 15.429  
| style="border-left: 1px solid;border-right: 1px solid;" | 298,299  
+
|-style="text-align:center"
| style="border-left: 1px solid;border-right: 1px solid;" | 594,596  
+
|  
| style="border-left: 1px solid;border-right: 1px solid;" | 5.72848  
+
| 600,594  
| style="border-left: 1px solid;border-right: 1px solid;" | 5.72848  
+
| 1,198,330  
| style="border-left: 1px solid;border-right: 1px solid;" | 15.430  
+
| 5.72848  
| style="border-left: 1px solid;border-right: 2px solid;" | 15.429  
+
| 5.72848  
|-
+
| 15.433  
| style="border-left: 2px solid;border-right: 1px solid;" |  
+
| 15.433  
| style="border-left: 1px solid;border-right: 1px solid;" | 600,594  
+
|- style="text-align:center"
| style="border-left: 1px solid;border-right: 1px solid;" | 1,198,330  
+
|  
| style="border-left: 1px solid;border-right: 1px solid;" | 5.72848  
+
| 1,175,238  
| style="border-left: 1px solid;border-right: 1px solid;" | 5.72848  
+
| 2,346,474  
| style="border-left: 1px solid;border-right: 1px solid;" | 15.433  
+
| 5.72849  
| style="border-left: 1px solid;border-right: 2px solid;" | 15.433  
+
| 5.72849  
|- style="border-bottom: 2px solid;"
+
| 15.43724  
| style="border-left: 2px solid;border-right: 1px solid;" |  
+
| 15.43724  
| style="border-left: 1px solid;border-right: 1px solid;" | 1,175,238  
+
| style="border-left: 1px solid;border-right: 1px solid;" | 2,346,474  
+
| style="border-left: 1px solid;border-right: 1px solid;" | 5.72849  
+
| style="border-left: 1px solid;border-right: 1px solid;" | 5.72849  
+
| style="border-left: 1px solid;border-right: 1px solid;" | 15.43724  
+
| style="border-left: 1px solid;border-right: 2px solid;" | 15.43724  
+
 
|}
 
|}
  
  
The temperature and flux-magnitude distribution fields are shown in Figure [[#img-15|15]].     
+
The temperature and flux-magnitude distribution fields are shown in [[#img-14| Figure 14]].     
  
<div id='img-15a'></div>
+
<div id='img-14a'></div>
<div id='img-15b'></div>
+
<div id='img-14b'></div>
<div id='img-15'></div>
+
<div id='img-14'></div>
 
{| style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: auto;max-width: auto;"
 
{| style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: auto;max-width: auto;"
 
|-
 
|-
Line 1,629: Line 1,606:
 
|  style="text-align: center;font-size: 75%;"|(b) Contour fill of flux vectors on Elems
 
|  style="text-align: center;font-size: 75%;"|(b) Contour fill of flux vectors on Elems
 
|- style="text-align: center; font-size: 75%;"
 
|- style="text-align: center; font-size: 75%;"
| colspan="2" style="padding:10px;"| '''Figure 15'''. Temperature and flux-magnitude distribution fields of the first example
+
| colspan="2" style="padding:10px;"| '''Figure 14'''. Temperature and flux-magnitude distribution fields of the first example
 
|}
 
|}
  
  
Figure [[#img-16|16]] shows the graphs of the temperature and the flux-magnitude along a horizontal line crossing the inner circle for the first two meshes.  
+
[[#img-15|Figure 15]] shows the graphs of the temperature and the flux-magnitude along a horizontal line crossing the inner circle for the first two meshes.  
  
<div id='img-16a'></div>
+
<div id='img-15a'></div>
<div id='img-16b'></div>
+
<div id='img-15b'></div>
<div id='img-16c'></div>
+
<div id='img-15c'></div>
<div id='img-16d'></div>
+
<div id='img-15d'></div>
<div id='img-16e'></div>
+
<div id='img-15e'></div>
<div id='img-16f'></div>
+
<div id='img-15f'></div>
<div id='img-16'></div>
+
<div id='img-15'></div>
 
{| style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: auto;max-width: auto;"
 
{| style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: auto;max-width: auto;"
 
|-
 
|-
Line 1,662: Line 1,639:
 
| style="text-align: center;font-size: 75%;"|(f)  
 
| style="text-align: center;font-size: 75%;"|(f)  
 
|- style="text-align: center; font-size: 75%;"
 
|- style="text-align: center; font-size: 75%;"
| colspan="2" style="padding:10px;"| '''Figure 16'''. Temperature and Flux magnitude graphs of the first example along a cross-section of the domain for different meshes
+
| colspan="2" style="padding:10px;"| '''Figure 15'''. Temperature and Flux magnitude graphs of the first example along a cross-section of the domain for different meshes
 
|}
 
|}
  
  
In Table [[#table-1|1]], we show some global error metrics for different meshes. Figure [[#img-17|17]] shows the error evolution in <math display="inline">L^2</math> norm for this example.
+
[[#table-2|Table 2]] shows some global error metrics for different meshes. [[#img-16|Figure 16]] shows the error evolution in <math display="inline">L^2</math> norm for this example.
  
<div class="center" style="font-size: 75%;">'''Table 1'''. tableDEC <math>L^2</math> errors in the first example</div>
+
<div id='table-2'></div>
 +
<div class="center" style="font-size: 75%;">'''Table 2'''. DEC <math>L^2</math> errors in the first example</div>
  
{| class="floating_tableSCP wikitable" style="text-align: center; margin: 1em auto;min-width:50%;font-size:85%;"
+
{| class="wikitable" style="margin: 1em auto 0.1em auto;border-collapse: collapse;font-size:85%;width:auto;"  
|- style="border-top: 2px solid;"
+
|-style="text-align:center"
| style="border-left: 2px solid;border-right: 2px solid;" |    '''Mesh'''
+
! Mesh !! Nodes !!  <math>    \sum (u-u_i)^2 \over nodes    </math> !! <math>L^2</math> norm
| style="border-left: 2px solid;border-right: 2px solid;" | '''Nodes'''
+
|- style="text-align:center"
| style="border-left: 2px solid;border-right: 2px solid;" | '''<math>    \sum (u-u_i)^2 \over nodes    </math>'''
+
|    1  
| style="border-left: 2px solid;border-right: 2px solid;" | '''<math>L^2</math> norm'''
+
| 49  
|- style="border-top: 2px solid;"
+
| 1.0537e-02  
| style="border-left: 2px solid;border-right: 1px solid;" |    1  
+
| 1.4438e-01  
| style="border-left: 1px solid;border-right: 1px solid;" | 49  
+
|- style="text-align:center"
| style="border-left: 1px solid;border-right: 1px solid;" | 1.0537e-02  
+
|    2  
| style="border-left: 1px solid;border-right: 2px solid;" | 1.4438e-01  
+
| 98  
|-  
+
| 4.2447e-03  
| style="border-left: 2px solid;border-right: 1px solid;" |    2  
+
| 4.8558e-02  
| style="border-left: 1px solid;border-right: 1px solid;" | 98  
+
|- style="text-align:center"
| style="border-left: 1px solid;border-right: 1px solid;" | 4.2447e-03  
+
|    3  
| style="border-left: 1px solid;border-right: 2px solid;" | 4.8558e-02  
+
| 258  
|-  
+
| 6.9781e-04  
| style="border-left: 2px solid;border-right: 1px solid;" |    3  
+
| 3.0390e-03  
| style="border-left: 1px solid;border-right: 1px solid;" | 258  
+
|- style="text-align:center"
| style="border-left: 1px solid;border-right: 1px solid;" | 6.9781e-04  
+
|    4  
| style="border-left: 1px solid;border-right: 2px solid;" | 3.0390e-03  
+
| 1,010  
|-  
+
| 8.8386e-05  
| style="border-left: 2px solid;border-right: 1px solid;" |    4  
+
| 1.4877e-04  
| style="border-left: 1px solid;border-right: 1px solid;" | 1,010  
+
|- style="text-align:center"
| style="border-left: 1px solid;border-right: 1px solid;" | 8.8386e-05  
+
|    5  
| style="border-left: 1px solid;border-right: 2px solid;" | 1.4877e-04  
+
| 3,813  
|-  
+
| 1.0736e-05  
| style="border-left: 2px solid;border-right: 1px solid;" |    5  
+
| 7.7369e-06  
| style="border-left: 1px solid;border-right: 1px solid;" | 3,813  
+
|- style="text-align:center"
| style="border-left: 1px solid;border-right: 1px solid;" | 1.0736e-05  
+
|    6  
| style="border-left: 1px solid;border-right: 2px solid;" | 7.7369e-06  
+
| 13,911  
|-  
+
| 1.4422e-06  
| style="border-left: 2px solid;border-right: 1px solid;" |    6  
+
| 4.9791e-07  
| style="border-left: 1px solid;border-right: 1px solid;" | 13,911  
+
|- style="text-align:center"
| style="border-left: 1px solid;border-right: 1px solid;" | 1.4422e-06  
+
|    7  
| style="border-left: 1px solid;border-right: 2px solid;" | 4.9791e-07  
+
| 50,950  
|-  
+
| 1.7582e-07  
| style="border-left: 2px solid;border-right: 1px solid;" |    7  
+
| 2.9608e-08  
| style="border-left: 1px solid;border-right: 1px solid;" | 50,950  
+
|- style="text-align:center"
| style="border-left: 1px solid;border-right: 1px solid;" | 1.7582e-07  
+
|    8  
| style="border-left: 1px solid;border-right: 2px solid;" | 2.9608e-08  
+
| 135,518  
|-  
+
| 3.2621e-08  
| style="border-left: 2px solid;border-right: 1px solid;" |    8  
+
| 2.9233e-09  
| style="border-left: 1px solid;border-right: 1px solid;" | 135,518  
+
|- style="text-align:center"
| style="border-left: 1px solid;border-right: 1px solid;" | 3.2621e-08  
+
|    9  
| style="border-left: 1px solid;border-right: 2px solid;" | 2.9233e-09  
+
| 298,299  
|-  
+
| 7.3566e-09  
| style="border-left: 2px solid;border-right: 1px solid;" |    9  
+
| 3.3610e-10  
| style="border-left: 1px solid;border-right: 1px solid;" | 298,299  
+
|- style="text-align:center"
| style="border-left: 1px solid;border-right: 1px solid;" | 7.3566e-09  
+
|    10  
| style="border-left: 1px solid;border-right: 2px solid;" | 3.3610e-10  
+
| 603,440  
|- style="border-top: 1px solid;border-bottom: 2px solid;"
+
| 1.8577e-09  
| style="border-left: 2px solid;border-right: 1px solid;" |    10  
+
| 4.9496e-11  
| style="border-left: 1px solid;border-right: 1px solid;" | 603,440  
+
| style="border-left: 1px solid;border-right: 1px solid;" | 1.8577e-09  
+
| style="border-left: 1px solid;border-right: 2px solid;" | 4.9496e-11  
+
 
|}
 
|}
  
  
<div id='img-17'></div>
+
<div id='img-16'></div>
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: auto;"
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: auto;"
 
|-
 
|-
 
|style="padding:10px;"|[[Image:Esqueda_et_al_2020a-DEC_Error_Graph_Square_Circle.png|430px|DEC ]]
 
|style="padding:10px;"|[[Image:Esqueda_et_al_2020a-DEC_Error_Graph_Square_Circle.png|430px|DEC ]]
 
|- style="text-align: center; font-size: 75%;"
 
|- style="text-align: center; font-size: 75%;"
| colspan="1" style="padding-bottom:10px;"| '''Figure 17'''. DEC  
+
| colspan="1" style="padding-bottom:10px;"| '''Figure 16'''. DEC <math>L^2</math> error in the first example
 
|}
 
|}
  
 
===7.2 Second example: Anisotropy===
 
===7.2 Second example: Anisotropy===
  
Let us solve the Poisson equation in a circle of radius one centered at the origin <math display="inline">(0,0)</math> under the following conditions (see Figure [[#img-18|18]]):
+
Let us solve the Poisson equation in a circle of radius one centered at the origin <math display="inline">(0,0)</math> under the following conditions ([[#img-17|Figure 17]]):
  
 
* heat anisotropic diffusion constants <math display="inline">K_x = 1.5, K_y=1.0</math>;
 
* heat anisotropic diffusion constants <math display="inline">K_x = 1.5, K_y=1.0</math>;
Line 1,751: Line 1,726:
 
|style="padding:10px;"|[[Image:Esqueda_et_al_2020a-Fig_16_CircleWithConditions.png|180px|Disk of radius one.]]
 
|style="padding:10px;"|[[Image:Esqueda_et_al_2020a-Fig_16_CircleWithConditions.png|180px|Disk of radius one.]]
 
|- style="text-align: center; font-size: 75%;"
 
|- style="text-align: center; font-size: 75%;"
| colspan="1" style="padding-bottom:10px;"| '''Figure 18'''. Disk of radius one.
+
| colspan="1" style="padding-bottom:10px;"| '''Figure 17'''. Disk of radius one
 
|}
 
|}
  
  
The meshes used in this example are shown in Figure [[#img-19|19]] and vary from very coarse to very fine.  
+
The meshes used in this example are shown in [[#img-18|Figure 18]] and vary from very coarse to very fine.  
  
<div id='img-19a'></div>
+
<div id='img-18a'></div>
<div id='img-19b'></div>
+
<div id='img-18b'></div>
<div id='img-19c'></div>
+
<div id='img-18c'></div>
<div id='img-19d'></div>
+
<div id='img-18d'></div>
<div id='img-19e'></div>
+
<div id='img-18e'></div>
<div id='img-19f'></div>
+
<div id='img-18f'></div>
<div id='img-19'></div>
+
<div id='img-18'></div>
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: auto;"
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: auto;"
 
|-
 
|-
Line 1,782: Line 1,757:
 
| colspan="1" style="text-align: center;font-size: 75%;"|(f)  
 
| colspan="1" style="text-align: center;font-size: 75%;"|(f)  
 
|- style="text-align: center; font-size: 75%;"
 
|- style="text-align: center; font-size: 75%;"
| colspan="3" style="padding:10px;" | '''Figure 19'''. First six meshes used for unit disk.
+
| colspan="3" style="padding:10px;" | '''Figure 18'''. First six meshes used for unit disk
 
|}
 
|}
The numerical results for the maximum temperature value (<math display="inline">u(0,0)=10.2</math>) are exemplified in Table [[#7.2 Second example: Anisotropy|7.2]] where  a comparison with the Finite Element Method with linear interpolation functions (FEML) is also shown.
 
  
<div style="text-align: center; font-size: 75%; ">Temperature value at the point </div> 
 
  
{|  class="floating_tableSCP wikitable" style="text-align: center; margin: 1em auto;min-width:50%;font-size:85%;"
+
The numerical results for the maximum temperature value (<math display="inline">u(0,0)=10.2</math>) are exemplified in  [[#table-3|Table 3]] where  a comparison with the Finite Element Method with linear interpolation functions (FEML) is also shown.
|- style="border-top: 2px solid;border-bottom: 2px solid;"
+
 
| rowspan='2' style="border-left: 2px solid;border-right: 2px solid;" | Mesh
+
<div id='table-3'></div>
| rowspan='2' style="border-left: 2px solid;border-right: 2px solid;" | Nodes
+
<div style="text-align: center; font-size: 75%; ">'''Table 3'''. Temperature value at the point (0,0) and Flux magnitude value at the point (-1, 0) of the numerical simulations for the second example</div> 
| rowspan='2' style="border-left: 2px solid;border-right: 2px solid;" | Elements
+
 
| colspan='2' style="border-right: 2px solid;border-left: 2px solid;border-right: 2px solid;" | Temp. Value at <math>(0,0)</math>
+
{| class="wikitable" style="margin: 1em auto 0.1em auto;border-collapse: collapse;font-size:85%;width:auto;"  
| colspan='2' style="border-right: 2px solid;border-left: 2px solid;border-right: 2px solid;" | Flux Magnitude at <math>(-1,0)</math>
+
|-style="text-align:center"
|-style="border-top: 2px solid;border-bottom: 2px solid;"
+
rowspan='2' | Mesh !!  rowspan='2' | Nodes !!  rowspan='2' | Elements !!  colspan='2' | Temp. Value at <math>(0,0)</math> !!  colspan='2' | Flux Magnitude at <math>(-1,0)</math>
| style="border-left: 2px solid;border-right: 1px solid;" | DEC   
+
|-style="text-align:center"
| style="border-left: 1px solid;border-right: 1px solid;" | FEML
+
! DEC  !!  FEML !!  DEC  !!  FEML   
| style="border-left: 1px solid;border-right: 1px solid;" | DEC   
+
|- style="text-align:center"
| style="border-left: 1px solid;border-right: 2px solid;" | FEML   
+
| [[#img-18|Figure 18]](a)
|-  
+
| 17  
| style="border-left: 2px solid;border-right: 1px solid;" |   Figure [[#img-19|19]](a)
+
| 20   
| style="border-left: 1px solid;border-right: 1px solid;" | 17  
+
| 10.20014
| style="border-left: 1px solid;border-right: 1px solid;" | 20   
+
| 10.19002   
| style="border-left: 1px solid;border-right: 1px solid;" | 10.20014
+
| 0.42133  
| style="border-left: 1px solid;border-right: 1px solid;" | 10.19002   
+
| 0.43865
| style="border-left: 1px solid;border-right: 1px solid;" | 0.42133  
+
|-style="text-align:center"
| style="border-left: 1px solid;border-right: 2px solid;" | 0.43865
+
| [[#img-18|Figure 18]](b)
|-
+
| 41  
| style="border-left: 2px solid;border-right: 1px solid;" | Figure [[#img-19|19]](b)
+
| 56   
| style="border-left: 1px solid;border-right: 1px solid;" | 41  
+
| 10.20007
| style="border-left: 1px solid;border-right: 1px solid;" | 56   
+
| 10.19678   
| style="border-left: 1px solid;border-right: 1px solid;" | 10.20007
+
| 0.48544  
| style="border-left: 1px solid;border-right: 1px solid;" | 10.19678   
+
| 0.49387
| style="border-left: 1px solid;border-right: 1px solid;" | 0.48544  
+
|-style="text-align:center"
| style="border-left: 1px solid;border-right: 2px solid;" | 0.49387
+
| [[#img-18|Figure 18]](c)
|-
+
| 201  
| style="border-left: 2px solid;border-right: 1px solid;" | Figure [[#img-19|19]](c)
+
| 344   
| style="border-left: 1px solid;border-right: 1px solid;" | 201  
+
| 10.20012
| style="border-left: 1px solid;border-right: 1px solid;" | 344   
+
| 10.20158   
| style="border-left: 1px solid;border-right: 1px solid;" | 10.20012
+
| 0.52470  
| style="border-left: 1px solid;border-right: 1px solid;" | 10.20158   
+
| 0.52428
| style="border-left: 1px solid;border-right: 1px solid;" | 0.52470  
+
|-style="text-align:center"
| style="border-left: 1px solid;border-right: 2px solid;" | 0.52428
+
| [[#img-18|Figure 18]](d)
|-
+
| 713  
| style="border-left: 2px solid;border-right: 1px solid;" | Figure [[#img-19|19]](d)
+
| 1304  
| style="border-left: 1px solid;border-right: 1px solid;" | 713  
+
| 10.20000
| style="border-left: 1px solid;border-right: 1px solid;" | 1304  
+
| 10.19969   
| style="border-left: 1px solid;border-right: 1px solid;" | 10.20000
+
| 0.54143  
| style="border-left: 1px solid;border-right: 1px solid;" | 10.19969   
+
| 0.54224
| style="border-left: 1px solid;border-right: 1px solid;" | 0.54143  
+
|-style="text-align:center"
| style="border-left: 1px solid;border-right: 2px solid;" | 0.54224
+
| [[#img-18|Figure 18]](e)
|-
+
| 2455
| style="border-left: 2px solid;border-right: 1px solid;" | Figure [[#img-19|19]](e)
+
| 4660  
| style="border-left: 1px solid;border-right: 1px solid;" | 2455
+
| 10.20000
| style="border-left: 1px solid;border-right: 1px solid;" | 4660  
+
| 10.19990   
| style="border-left: 1px solid;border-right: 1px solid;" | 10.20000
+
| 0.54971  
| style="border-left: 1px solid;border-right: 1px solid;" | 10.19990   
+
| 0.55138
| style="border-left: 1px solid;border-right: 1px solid;" | 0.54971  
+
|-style="text-align:center"
| style="border-left: 1px solid;border-right: 2px solid;" | 0.55138
+
| [[#img-18|Figure 18]](f)
|-
+
| 8180
| style="border-left: 2px solid;border-right: 1px solid;" | Figure [[#img-19|19]](f)
+
| 15862  
| style="border-left: 1px solid;border-right: 1px solid;" | 8180
+
| 10.20000
| style="border-left: 1px solid;border-right: 1px solid;" | 15862  
+
| 10.20002   
| style="border-left: 1px solid;border-right: 1px solid;" | 10.20000
+
| 0.55326  
| style="border-left: 1px solid;border-right: 1px solid;" | 10.20002   
+
| 0.55409
| style="border-left: 1px solid;border-right: 1px solid;" | 0.55326  
+
|-style="text-align:center"
| style="border-left: 1px solid;border-right: 2px solid;" | 0.55409
+
|  
|-
+
| 20016  
| style="border-left: 2px solid;border-right: 1px solid;" |  
+
| 39198  
| style="border-left: 1px solid;border-right: 1px solid;" | 20016  
+
| 10.20000
| style="border-left: 1px solid;border-right: 1px solid;" | 39198  
+
| 10.19999   
| style="border-left: 1px solid;border-right: 1px solid;" | 10.20000
+
| 0.55470  
| style="border-left: 1px solid;border-right: 1px solid;" | 10.19999   
+
| 0.55520
| style="border-left: 1px solid;border-right: 1px solid;" | 0.55470  
+
|- style="text-align:center"
| style="border-left: 1px solid;border-right: 2px solid;" | 0.55520
+
|  
|- style="border-bottom: 2px solid;"
+
| 42306  
| style="border-left: 2px solid;border-right: 1px solid;" |  
+
| 83362  
| style="border-left: 1px solid;border-right: 1px solid;" | 42306  
+
| 10.20000
| style="border-left: 1px solid;border-right: 1px solid;" | 83362  
+
| 10.20000   
| style="border-left: 1px solid;border-right: 1px solid;" | 10.20000
+
| 0.55540  
| style="border-left: 1px solid;border-right: 1px solid;" | 10.20000   
+
| 0.55572
| style="border-left: 1px solid;border-right: 1px solid;" | 0.55540  
+
| style="border-left: 1px solid;border-right: 2px solid;" | 0.55572
+
 
|}
 
|}
  
  
The temperature distribution and Flux magnitude fields for the finest mesh are shown in Figure [[#img-20|20]].  
+
The temperature distribution and Flux magnitude fields for the finest mesh are shown in [[#img-19|Figure 19]].  
  
<div id='img-20a'></div>
+
<div id='img-19a'></div>
<div id='img-20b'></div>
+
<div id='img-19b'></div>
<div id='img-20'></div>
+
<div id='img-19'></div>
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: auto;"
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: auto;"
 
|-
 
|-
Line 1,880: Line 1,851:
 
| (b) Contour Fill of Flux vectors on Elems
 
| (b) Contour Fill of Flux vectors on Elems
 
|- style="text-align: center; font-size: 75%;"
 
|- style="text-align: center; font-size: 75%;"
| colspan="2" style="padding:10px;"| '''Figure 20'''. Temperature distribution and Flux magnitude fields for the finest mesh of the second example.
+
| colspan="2" style="padding:10px;"| '''Figure 19'''. Temperature distribution and Flux magnitude fields for the finest mesh of the second example
 
|}
 
|}
  
Figures [[#img-21|21]](a), [[#img-21|21]](b)  and [[#img-21|21]](c)  show the graphs of the temperature and flux magnitude values along a diameter of the circle for the different meshes of Figures [[#img-19|19]](a), [[#img-19|19]](b) and [[#img-19|19]](c) respectively.
 
  
<div id='img-21a'></div>
+
[[#img-20|Figures 20]](a), (b) and (c)  show the graphs of the temperature and flux magnitude values along a diameter of the circle for the different meshes of  [[#img-18|Figures 18]](a), (b) and (c), respectively.
<div id='img-21b'></div>
+
 
<div id='img-21c'></div>
+
<div id='img-20a'></div>
<div id='img-21d'></div>
+
<div id='img-20b'></div>
<div id='img-21e'></div>
+
<div id='img-20c'></div>
<div id='img-21f'></div>
+
<div id='img-20d'></div>
<div id='img-21'></div>
+
<div id='img-20e'></div>
 +
<div id='img-20f'></div>
 +
<div id='img-20'></div>
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: auto;"
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: auto;"
 
|-
 
|-
Line 1,912: Line 1,884:
 
| (f)  
 
| (f)  
 
|- style="text-align: center; font-size: 75%;"
 
|- style="text-align: center; font-size: 75%;"
| colspan="2" style="padding:10px;"| '''Figure 21'''. Temperature and Flux magnitude graphs of the second example along a diameter of the circle for different meshes:   mesh in Figure  
+
| colspan="2" style="padding:10px;"| '''Figure 20'''. Temperature and Flux magnitude graphs of the second example along a diameter of the circle for different meshes: mesh in [[#img-18|Figure 18]](a), a-Temperature, b-Flux; mesh in  [[#img-18|Figure 18]](b), c-Temperature, d-Flux; mesh in  [[#img-18|Figure  18]](c), e-Temperature, f-Flux
 
|}
 
|}
  
In Table [[#table-2|2]], we show some global error metrics for different meshes.  Figure [[#img-22|22]] shows the  error evolution in <math display="inline">L^2</math> norm for this example.
 
  
<div class="center" style="font-size: 75%;">'''Table 2'''. tableDEC errors in the second example</div>
+
[[#table-4|Table 4]] shows some global error metrics for different meshes.  [[#img-21|Figure 21]] shows the  error evolution in <math display="inline">L^2</math> norm for this example.
 +
 
 +
<div id='table-4'></div>
 +
<div class="center" style="font-size: 75%;">'''Table 4'''. DEC errors in the second example</div>
  
{| class="floating_tableSCP wikitable" style="text-align: center; margin: 1em auto;min-width:50%;font-size:85%;"
+
{| class="wikitable" style="margin: 1em auto 0.1em auto;border-collapse: collapse;font-size:85%;width:auto;"  
|- style="border-top: 2px solid;"
+
|-style="text-align:center"
| style="border-left: 2px solid;border-right: 2px solid;" |    '''Mesh'''
+
! Mesh !! Nodes !!  <math>    \sum (u-u_i)^2 \over nodes    </math> !! <math>L^2</math> norm
| style="border-left: 2px solid;border-right: 2px solid;" | '''Nodes'''
+
|- style="text-align:center"
| style="border-left: 2px solid;border-right: 2px solid;" | '''<math>    \sum (u-u_i)^2 \over nodes    </math>'''
+
|    1  
| style="border-left: 2px solid;border-right: 2px solid;" | '''<math>L^2</math> norm'''
+
| 17  
|- style="border-top: 2px solid;"
+
| 1.5818e-04  
| style="border-left: 2px solid;border-right: 1px solid;" |    1  
+
| 2.3555e-06  
| style="border-left: 1px solid;border-right: 1px solid;" | 17  
+
|- style="text-align:center"
| style="border-left: 1px solid;border-right: 1px solid;" | 1.5818e-04  
+
|    2  
| style="border-left: 1px solid;border-right: 2px solid;" | 2.3555e-06  
+
| 51  
|- style="border-top: 1px solid;"
+
| 2.5395e-05  
| style="border-left: 2px solid;border-right: 1px solid;" |    2  
+
| 1.5639e-07  
| style="border-left: 1px solid;border-right: 1px solid;" | 51  
+
|- style="text-align:center"
| style="border-left: 1px solid;border-right: 1px solid;" | 2.5395e-05  
+
|    3  
| style="border-left: 1px solid;border-right: 2px solid;" | 1.5639e-07  
+
| 201  
|- style="border-top: 1px solid;"
+
| 3.3643e-06  
| style="border-left: 2px solid;border-right: 1px solid;" |    3  
+
| 1.0517e-08  
| style="border-left: 1px solid;border-right: 1px solid;" | 201  
+
|- style="text-align:center"
| style="border-left: 1px solid;border-right: 1px solid;" | 3.3643e-06  
+
|    4  
| style="border-left: 1px solid;border-right: 2px solid;" | 1.0517e-08  
+
| 713  
|- style="border-top: 1px solid;"
+
| 5.1563e-07  
| style="border-left: 2px solid;border-right: 1px solid;" |    4  
+
| 8.3543e-10  
| style="border-left: 1px solid;border-right: 1px solid;" | 713  
+
|- style="text-align:center"
| style="border-left: 1px solid;border-right: 1px solid;" | 5.1563e-07  
+
|    5  
| style="border-left: 1px solid;border-right: 2px solid;" | 8.3543e-10  
+
| 2,455  
|- style="border-top: 1px solid;"
+
| 8.9235e-08  
| style="border-left: 2px solid;border-right: 1px solid;" |    5  
+
| 7.6073e-11  
| style="border-left: 1px solid;border-right: 1px solid;" | 2,455  
+
|- style="text-align:center"
| style="border-left: 1px solid;border-right: 1px solid;" | 8.9235e-08  
+
|    6  
| style="border-left: 1px solid;border-right: 2px solid;" | 7.6073e-11  
+
| 8,180  
|- style="border-top: 1px solid;"
+
| 3.1731e-08  
| style="border-left: 2px solid;border-right: 1px solid;" |    6  
+
| 2.9858e-11  
| style="border-left: 1px solid;border-right: 1px solid;" | 8,180  
+
|- style="text-align:center"
| style="border-left: 1px solid;border-right: 1px solid;" | 3.1731e-08  
+
|    7  
| style="border-left: 1px solid;border-right: 2px solid;" | 2.9858e-11  
+
| 20,016  
|- style="border-top: 1px solid;"
+
| 2.0217e-08  
| style="border-left: 2px solid;border-right: 1px solid;" |    7  
+
| 2.6580e-11  
| style="border-left: 1px solid;border-right: 1px solid;" | 20,016  
+
|- style="text-align:center"
| style="border-left: 1px solid;border-right: 1px solid;" | 2.0217e-08  
+
|    8  
| style="border-left: 1px solid;border-right: 2px solid;" | 2.6580e-11  
+
| 42,306  
|- style="border-top: 1px solid;"
+
| 1.4421e-08  
| style="border-left: 2px solid;border-right: 1px solid;" |    8  
+
| 2.7062e-11  
| style="border-left: 1px solid;border-right: 1px solid;" | 42,306  
+
|- style="text-align:center"
| style="border-left: 1px solid;border-right: 1px solid;" | 1.4421e-08  
+
|    9  
| style="border-left: 1px solid;border-right: 2px solid;" | 2.7062e-11  
+
| 82,722  
|- style="border-top: 1px solid;"
+
| 9.8533e-09  
| style="border-left: 2px solid;border-right: 1px solid;" |    9  
+
| 2.6164e-11  
| style="border-left: 1px solid;border-right: 1px solid;" | 82,722  
+
|- style="text-align:center"
| style="border-left: 1px solid;border-right: 1px solid;" | 9.8533e-09  
+
|    10  
| style="border-left: 1px solid;border-right: 2px solid;" | 2.6164e-11  
+
| 156,274  
|- style="border-top: 1px solid;"
+
| 7.1352e-09  
| style="border-left: 2px solid;border-right: 1px solid;" |    10  
+
| 2.5954e-11  
| style="border-left: 1px solid;border-right: 1px solid;" | 156,274  
+
|- style="text-align:center"
| style="border-left: 1px solid;border-right: 1px solid;" | 7.1352e-09  
+
|    11  
| style="border-left: 1px solid;border-right: 2px solid;" | 2.5954e-11  
+
| 420,013  
|- style="border-top: 1px solid;"
+
| 4.4277e-09  
| style="border-left: 2px solid;border-right: 1px solid;" |    11  
+
| 2.6151e-11  
| style="border-left: 1px solid;border-right: 1px solid;" | 420,013  
+
|- style="text-align:center"
| style="border-left: 1px solid;border-right: 1px solid;" | 4.4277e-09  
+
|    12  
| style="border-left: 1px solid;border-right: 2px solid;" | 2.6151e-11  
+
| 935,016  
|- style="border-top: 1px solid;border-bottom: 2px solid;"
+
| 2.9635e-09  
| style="border-left: 2px solid;border-right: 1px solid;" |    12  
+
| 2.6003e-11  
| style="border-left: 1px solid;border-right: 1px solid;" | 935,016  
+
| style="border-left: 1px solid;border-right: 1px solid;" | 2.9635e-09  
+
| style="border-left: 1px solid;border-right: 2px solid;" | 2.6003e-11  
+
 
|}
 
|}
  
  
<div id='img-22'></div>
+
<div id='img-21'></div>
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: auto;"
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: auto;"
 
|-
 
|-
 
|style="padding:10px;"|[[Image:Esqueda_et_al_2020a-DEC_Error_Graph_Circle.png|430px|DEC ]]
 
|style="padding:10px;"|[[Image:Esqueda_et_al_2020a-DEC_Error_Graph_Circle.png|430px|DEC ]]
 
|- style="text-align: center; font-size: 75%;"
 
|- style="text-align: center; font-size: 75%;"
| colspan="1" style="padding-bottom:10px;"| '''Figure 22'''. DEC  
+
| colspan="1" style="padding-bottom:10px;"| '''Figure 21'''. DEC <math>L^2</math> error evolution in the second example
 
|}
 
|}
  
 
===7.3 Third example: Heterogeneity and anisotropy===
 
===7.3 Third example: Heterogeneity and anisotropy===
  
Let us solve the Poisson equation in a circle of radius on the following domain (Figure [[#img-23|23]]) with various material properties. The geometry of the domain is defined by segments of ellipses passing through the given points which have centers at the origin <math display="inline">(0,0)</math>.   
+
Let us solve the Poisson equation in a circle of radius on the following domain ([[#img-22|Figure 22]]) with various material properties. The geometry of the domain is defined by segments of ellipses passing through the given points which have centers at the origin <math display="inline">(0,0)</math>.   
  
 
<div id='img-23'></div>
 
<div id='img-23'></div>
Line 2,005: Line 1,976:
 
|style="padding:10px;"|[[Image:Esqueda_et_al_2020a-Fig_20_HuevoGeometry.png|340px|Egg-like domain with different materials.]]
 
|style="padding:10px;"|[[Image:Esqueda_et_al_2020a-Fig_20_HuevoGeometry.png|340px|Egg-like domain with different materials.]]
 
|- style="text-align: center; font-size: 75%;"
 
|- style="text-align: center; font-size: 75%;"
| colspan="1" style="padding:10px;"| '''Figure 23'''. Egg-like domain with different materials
+
| colspan="1" style="padding:10px;"| '''Figure 22'''. Egg-like domain with different materials
 
|}
 
|}
  
  
{| class="floating_tableSCP wikitable" style="text-align: center; margin: 1em auto;min-width:40%;font-size:85%;"
+
{| class="wikitable" style="margin: 1em auto 0.1em auto;border-collapse: collapse;font-size:85%;width:auto;"  
|- style="border-top: 2px solid;"
+
|-style="text-align:center"
| style="border-left: 2px solid;border-right: 2px solid;" |    Point  
+
Point !!  <math>x</math> !!  <math>y</math> !!  Point !!  <math>x</math> !! <math>y</math>
| style="border-left: 2px solid;border-right: 2px solid;" | <math>x</math>
+
|- style="text-align:center"
| style="border-left: 2px solid;border-right: 2px solid;" | <math>y</math>
+
|    a  
| style="border-left: 2px solid;border-right: 2px solid;" | Point  
+
| -5  
| style="border-left: 2px solid;border-right: 2px solid;" | <math>x</math>
+
| 0  
| style="border-left: 2px solid;border-right: 2px solid;" | <math>y</math>
+
| A  
|- style="border-top: 2px solid;"
+
| 0  
| style="border-left: 2px solid;border-right: 1px solid;" |    a  
+
| -4  
| style="border-left: 1px solid;border-right: 1px solid;" | -5  
+
|-style="text-align:center"
| style="border-left: 1px solid;border-right: 1px solid;" | 0  
+
| b  
| style="border-left: 1px solid;border-right: 1px solid;" | A  
+
| -4  
| style="border-left: 1px solid;border-right: 1px solid;" | 0  
+
| 0  
| style="border-left: 1px solid;border-right: 2px solid;" | -4  
+
| B  
|-
+
| 0  
| style="border-left: 2px solid;border-right: 1px solid;" | b  
+
| -3  
| style="border-left: 1px solid;border-right: 1px solid;" | -4  
+
|-style="text-align:center"
| style="border-left: 1px solid;border-right: 1px solid;" | 0  
+
| c  
| style="border-left: 1px solid;border-right: 1px solid;" | B  
+
| -3  
| style="border-left: 1px solid;border-right: 1px solid;" | 0  
+
| 0  
| style="border-left: 1px solid;border-right: 2px solid;" | -3  
+
| C  
|-
+
| 0  
| style="border-left: 2px solid;border-right: 1px solid;" | c  
+
| -2  
| style="border-left: 1px solid;border-right: 1px solid;" | -3  
+
|-style="text-align:center"
| style="border-left: 1px solid;border-right: 1px solid;" | 0  
+
| d  
| style="border-left: 1px solid;border-right: 1px solid;" | C  
+
| -1  
| style="border-left: 1px solid;border-right: 1px solid;" | 0  
+
| 0  
| style="border-left: 1px solid;border-right: 2px solid;" | -2  
+
| D  
|-
+
| 0  
| style="border-left: 2px solid;border-right: 1px solid;" | d  
+
| -1  
| style="border-left: 1px solid;border-right: 1px solid;" | -1  
+
|-style="text-align:center"
| style="border-left: 1px solid;border-right: 1px solid;" | 0  
+
| e  
| style="border-left: 1px solid;border-right: 1px solid;" | D  
+
| 1  
| style="border-left: 1px solid;border-right: 1px solid;" | 0  
+
| 0  
| style="border-left: 1px solid;border-right: 2px solid;" | -1  
+
| E  
|-
+
| 0  
| style="border-left: 2px solid;border-right: 1px solid;" | e  
+
| 1  
| style="border-left: 1px solid;border-right: 1px solid;" | 1  
+
|-style="text-align:center"
| style="border-left: 1px solid;border-right: 1px solid;" | 0  
+
| f  
| style="border-left: 1px solid;border-right: 1px solid;" | E  
+
| 6  
| style="border-left: 1px solid;border-right: 1px solid;" | 0  
+
| 0  
| style="border-left: 1px solid;border-right: 2px solid;" | 1  
+
| F  
|-
+
| 0  
| style="border-left: 2px solid;border-right: 1px solid;" | f  
+
| 2  
| style="border-left: 1px solid;border-right: 1px solid;" | 6  
+
|-style="text-align:center"
| style="border-left: 1px solid;border-right: 1px solid;" | 0  
+
| g  
| style="border-left: 1px solid;border-right: 1px solid;" | F  
+
| 7  
| style="border-left: 1px solid;border-right: 1px solid;" | 0  
+
| 0  
| style="border-left: 1px solid;border-right: 2px solid;" | 2  
+
| G  
|-
+
| 0  
| style="border-left: 2px solid;border-right: 1px solid;" | g  
+
| 3  
| style="border-left: 1px solid;border-right: 1px solid;" | 7  
+
|- style="text-align:center"
| style="border-left: 1px solid;border-right: 1px solid;" | 0  
+
| h  
| style="border-left: 1px solid;border-right: 1px solid;" | G  
+
| 8  
| style="border-left: 1px solid;border-right: 1px solid;" | 0  
+
| 0  
| style="border-left: 1px solid;border-right: 2px solid;" | 3  
+
| H  
|- style="border-bottom: 2px solid;"
+
| 0  
| style="border-left: 2px solid;border-right: 1px solid;" | h  
+
| 4  
| style="border-left: 1px solid;border-right: 1px solid;" | 8  
+
| style="border-left: 1px solid;border-right: 1px solid;" | 0  
+
| style="border-left: 1px solid;border-right: 1px solid;" | H  
+
| style="border-left: 1px solid;border-right: 1px solid;" | 0  
+
| style="border-left: 1px solid;border-right: 2px solid;" | 4  
+
 
|}
 
|}
  
  
* The Dirichlet boundary condition is <math display="inline">u=10</math> and material properties (anisotropic heat diffusion constants, material angles and source terms) are given according to Figure [[#img-24|24]] and the table below.   
+
* The Dirichlet boundary condition is <math display="inline">u=10</math> and material properties (anisotropic heat diffusion constants, material angles and source terms) are given according to [[#img-23|Figure 23]] and the table below.   
  
 
<div id='img-24'></div>
 
<div id='img-24'></div>
Line 2,083: Line 2,049:
 
|style="padding:10px;"|[[Image:Esqueda_et_al_2020a-Fig_21_HuevoWithConditions.png|300px|Dirichlet condition.]]
 
|style="padding:10px;"|[[Image:Esqueda_et_al_2020a-Fig_21_HuevoWithConditions.png|300px|Dirichlet condition.]]
 
|- style="text-align: center; font-size: 75%;"
 
|- style="text-align: center; font-size: 75%;"
| colspan="1" style="padding:10px;"| '''Figure 24'''. Dirichlet condition
+
| colspan="1" style="padding:10px;"| '''Figure 23'''. Dirichlet condition
 
|}
 
|}
  
  
{| class="floating_tableSCP wikitable" style="text-align: center; margin: 1em auto;min-width:40%;font-size:85%;"
+
{| class="wikitable" style="margin: 1em auto 0.1em auto;border-collapse: collapse;font-size:85%;width:auto;"  
|- style="border-top: 2px solid;"
+
|-style="text-align:center"
| style="text-align: left;border-left: 2px solid;border-right: 2px solid;" |   
+
! !!  <math>K_x</math> !! <math>K_y</math> !! Angle !!  <math>q</math>
| style="border-left: 2px solid;border-right: 2px solid;" | <math>K_x</math>
+
|- style="text-align:center"
| style="border-left: 2px solid;border-right: 2px solid;" | <math>K_y</math>
+
| Domain mat1
| style="border-left: 2px solid;border-right: 2px solid;" | Angle
+
| 5  
| style="border-left: 2px solid;border-right: 2px solid;" | <math>q</math>
+
| 25  
|- style="border-top: 2px solid;"
+
| 30  
| style="text-align: left;border-left: 2px solid;border-right: 1px solid;" |     Domain mat1
+
| 15
| style="border-left: 1px solid;border-right: 1px solid;" | 5  
+
|- style="text-align:center"
| style="border-left: 1px solid;border-right: 1px solid;" | 25  
+
| style="text-align: left;" |    Domain mat2
| style="border-left: 1px solid;border-right: 1px solid;" | 30  
+
| 25  
| style="border-left: 1px solid;border-right: 2px solid;" | 15
+
| 5  
|- style="border-top: 1px solid;"
+
| 0  
| style="text-align: left;border-left: 2px solid;border-right: 1px solid;" |    Domain mat2
+
| 5
| style="border-left: 1px solid;border-right: 1px solid;" | 25  
+
|- style="text-align:center"
| style="border-left: 1px solid;border-right: 1px solid;" | 5  
+
| style="text-align: left;" |    Domain mat3
| style="border-left: 1px solid;border-right: 1px solid;" | 0  
+
| 50  
| style="border-left: 1px solid;border-right: 2px solid;" | 5
+
| 12
|- style="border-top: 1px solid;"
+
| 45
| style="text-align: left;border-left: 2px solid;border-right: 1px solid;" |    Domain mat3
+
| 5
| style="border-left: 1px solid;border-right: 1px solid;" | 50  
+
|- style="text-align:center"
| style="border-left: 1px solid;border-right: 1px solid;" | 12
+
| style="text-align: left;" |    Domain mat4
| style="border-left: 1px solid;border-right: 1px solid;" | 45
+
| 10  
| style="border-left: 1px solid;border-right: 2px solid;" | 5
+
| 35  
|- style="border-top: 1px solid;border-bottom: 2px solid;"
+
| 0  
| style="text-align: left;border-left: 2px solid;border-right: 1px solid;" |    Domain mat4
+
| 5
| style="border-left: 1px solid;border-right: 1px solid;" | 10  
+
| style="border-left: 1px solid;border-right: 1px solid;" | 35  
+
| style="border-left: 1px solid;border-right: 1px solid;" | 0  
+
| style="border-left: 1px solid;border-right: 2px solid;" | 5
+
 
|}
 
|}
  
  
The meshes used in this example are shown in Figure [[#img-25|25]].  
+
The meshes used in this example are shown in [[#img-24|Figure 24]].  
  
<div id='img-25a'></div>
+
<div id='img-24a'></div>
<div id='img-25b'></div>
+
<div id='img-24b'></div>
<div id='img-25c'></div>
+
<div id='img-24c'></div>
<div id='img-25d'></div>
+
<div id='img-24d'></div>
<div id='img-25'></div>
+
<div id='img-24'></div>
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: auto;"
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: auto;"
 
|-
 
|-
Line 2,142: Line 2,104:
 
| (d)  
 
| (d)  
 
|- style="text-align: center; font-size: 75%;"
 
|- style="text-align: center; font-size: 75%;"
| colspan="3" style="padding:10px;"| '''Figure 25'''. Meshes for layered egg-like figure
+
| colspan="3" style="padding:10px;"| '''Figure 24'''. Meshes for layered egg-like figure
 
|}
 
|}
  
  
The numerical results for the maximum temperature value (<math display="inline">u(0,0)=10.2</math>) are exemplified in Table [[#7.3 Third example: Heterogeneity and anisotropy|7.3]] where  a comparison with the Finite Element Method with linear interpolation functions (FEML) is also shown.
+
The numerical results for the maximum temperature value (<math display="inline">u(0,0)=10.2</math>) are exemplified in [[#table-5|Table 5]] where  a comparison with the Finite Element Method with linear interpolation functions (FEML) is also shown.
  
<div style="text-align: center; font-size: 75%; ">Maximum temperature and Flux magnitude values in the numerical simulations of the third example</div>   
+
<div id='table-5'></div>
 +
<div style="text-align: center; font-size: 75%; ">'''Table 5'''. Maximum temperature and Flux magnitude values in the numerical simulations of the third example</div>   
  
{| class="floating_tableSCP wikitable" style="text-align: center; margin: 1em auto;min-width:50%;font-size:85%;"
+
{| class="wikitable" style="margin: 1em auto 0.1em auto;border-collapse: collapse;font-size:85%;width:auto;"  
|- style="border-top: 2px solid;"
+
|-style="text-align:center"
| rowspan='2' style="border-left: 2px solid;border-right: 2px solid;" | Mesh
+
! rowspan='2' | Mesh !!  rowspan='2' | Nodes !!  rowspan='2' | Elements !!  colspan='2' | Max. Temp. Value !! colspan='2' | Max. Flux Magnitude
| rowspan='2' style="border-left: 2px solid;border-right: 2px solid;" | Nodes
+
|-style="text-align:center"
| rowspan='2' style="border-left: 2px solid;border-right: 2px solid;" | Elements
+
!  DEC  !!  FEML !!  DEC  !!  FEML 
| colspan='2' style="border-right: 2px solid;border-left: 2px solid;border-right: 2px solid;" | Max. Temp. Value
+
|- style="text-align:center"
| colspan='2' style="border-right: 2px solid;border-left: 2px solid;border-right: 2px solid;" | Max. Flux Magnitude
+
| [[#img-24|Figure 24]](a)
|-style="border-top: 2px solid;"
+
342
| style="border-left: 2px solid;border-right: 2px solid;" | DEC  
+
| 616
| style="border-left: 2px solid;border-right: 2px solid;" | FEML
+
| 2.79221
| style="border-left: 2px solid;border-right: 2px solid;" | DEC  
+
| 2.79854
| style="border-left: 2px solid;border-right: 2px solid;" | FEML  
+
18.41066
|- style="border-top: 2px solid;"
+
| 18.40573
| style="border-left: 2px solid;border-right: 1px solid;" |   Figure [[#img-25|25]](a)  
+
|-style="text-align:center"
| style="border-left: 1px solid;border-right: 1px solid;" | 342
+
[[#img-24|Figure 24]](b)
| style="border-left: 1px solid;border-right: 1px solid;" | 616
+
|  1,259
| style="border-left: 1px solid;border-right: 1px solid;" | 2.79221
+
|  2,384
| style="border-left: 1px solid;border-right: 1px solid;" | 2.79854
+
|  2.83929
| style="border-left: 1px solid;border-right: 1px solid;" | 18.41066
+
|  2.84727
| style="border-left: 1px solid;border-right: 2px solid;" | 18.40573
+
|  18.93838
 +
|  18.91532
 +
|-style="text-align:center"
 +
| [[#img-24|Figure 24]](c)
 +
|  4,467
 +
|  8,668
 +
|  2.85608
 +
|  2.85717
 +
|  19.13297
 +
|  19.13193
 +
|-style="text-align:center"
 +
| [[#img-24|Figure 24]](d)
 +
| 14,250 
 +
| 28,506
 +
| 2.85994
 +
|  2.86056
 +
|  19.20982
 +
|  19.20909
 +
|-style="text-align:center"
 +
|  
 +
| 20,493
 +
|  40,316
 +
|  2.86120
 +
|  2.86177
 +
|  19.23120
 +
|  19.23457
 +
|-style="text-align:center"
 +
|  
 +
|  60,380
 +
|  119,418
 +
2.86219
 +
| 2.86231
 +
|  19.26655
 +
|  19.26628
 +
|-style="text-align:center"
 +
|  
 +
|  142,702
 +
|  283,162
 +
2.86249
 +
| 2.86256
 +
|  19.28045
 +
|  19.28028
 +
|-style="text-align:center"
 +
|  
 +
|  291,363
 +
|  579,360
 +
|  2.86263
 +
| 2.86267
 +
|  19.28727
 +
|  19.28755
 +
|-style="text-align:center"
 +
|  
 +
|  495,607
 +
|  986,724
 +
|  2.86275
 +
|  2.86269
 +
|  19.29057
 +
|  19.29081
 
|-
 
|-
| style="border-left: 2px solid;border-right: 1px solid;" | Figure [[#img-25|25]](b)
+
|  
| style="border-left: 1px solid;border-right: 1px solid;" | 1,259
+
|  1,064,447  
| style="border-left: 1px solid;border-right: 1px solid;" | 2,384
+
| 2,122,160  
| style="border-left: 1px solid;border-right: 1px solid;" | 2.83929
+
| 2.86272  
| style="border-left: 1px solid;border-right: 1px solid;" | 2.84727
+
| 2.86273  
| style="border-left: 1px solid;border-right: 1px solid;" | 18.93838
+
| 19.29385  
| style="border-left: 1px solid;border-right: 2px solid;" | 18.91532
+
| 19.29389  
|-
+
|-style="text-align:center"
| style="border-left: 2px solid;border-right: 1px solid;" | Figure [[#img-25|25]](c)
+
|  
| style="border-left: 1px solid;border-right: 1px solid;" | 4,467
+
| 2,106,077  
| style="border-left: 1px solid;border-right: 1px solid;" | 8,668
+
| 4,202,536  
| style="border-left: 1px solid;border-right: 1px solid;" | 2.85608
+
| 2.86274  
| style="border-left: 1px solid;border-right: 1px solid;" | 2.85717
+
| 2.86274  
| style="border-left: 1px solid;border-right: 1px solid;" | 19.13297
+
| 19.29618  
| style="border-left: 1px solid;border-right: 2px solid;" | 19.13193
+
| 19.29615  
|-
+
|- style="text-align:center"
| style="border-left: 2px solid;border-right: 1px solid;" | Figure [[#img-25|25]](d)  
+
|  
| style="border-left: 1px solid;border-right: 1px solid;" | 14,250 
+
| 4,031,557  
| style="border-left: 1px solid;border-right: 1px solid;" | 28,506
+
| 8,049,644  
| style="border-left: 1px solid;border-right: 1px solid;" | 2.85994
+
| 2.86275  
| style="border-left: 1px solid;border-right: 1px solid;" | 2.86056
+
| 2.86275  
| style="border-left: 1px solid;border-right: 1px solid;" | 19.20982
+
| 19.29763  
| style="border-left: 1px solid;border-right: 2px solid;" | 19.20909
+
| 19.29765  
|-
+
| style="border-left: 2px solid;border-right: 1px solid;" |
+
| style="border-left: 1px solid;border-right: 1px solid;" | 20,493
+
| style="border-left: 1px solid;border-right: 1px solid;" | 40,316
+
| style="border-left: 1px solid;border-right: 1px solid;" | 2.86120
+
| style="border-left: 1px solid;border-right: 1px solid;" | 2.86177
+
| style="border-left: 1px solid;border-right: 1px solid;" | 19.23120
+
| style="border-left: 1px solid;border-right: 2px solid;" | 19.23457
+
|-
+
| style="border-left: 2px solid;border-right: 1px solid;" |
+
| style="border-left: 1px solid;border-right: 1px solid;" | 60,380
+
| style="border-left: 1px solid;border-right: 1px solid;" | 119,418
+
| style="border-left: 1px solid;border-right: 1px solid;" | 2.86219
+
| style="border-left: 1px solid;border-right: 1px solid;" | 2.86231
+
| style="border-left: 1px solid;border-right: 1px solid;" | 19.26655
+
| style="border-left: 1px solid;border-right: 2px solid;" | 19.26628
+
|-
+
| style="border-left: 2px solid;border-right: 1px solid;" |
+
| style="border-left: 1px solid;border-right: 1px solid;" | 142,702
+
| style="border-left: 1px solid;border-right: 1px solid;" | 283,162
+
| style="border-left: 1px solid;border-right: 1px solid;" | 2.86249
+
| style="border-left: 1px solid;border-right: 1px solid;" | 2.86256
+
| style="border-left: 1px solid;border-right: 1px solid;" | 19.28045
+
| style="border-left: 1px solid;border-right: 2px solid;" | 19.28028
+
|-
+
| style="border-left: 2px solid;border-right: 1px solid;" |
+
| style="border-left: 1px solid;border-right: 1px solid;" | 291,363
+
| style="border-left: 1px solid;border-right: 1px solid;" | 579,360
+
| style="border-left: 1px solid;border-right: 1px solid;" | 2.86263
+
| style="border-left: 1px solid;border-right: 1px solid;" | 2.86267
+
| style="border-left: 1px solid;border-right: 1px solid;" | 19.28727
+
| style="border-left: 1px solid;border-right: 2px solid;" | 19.28755
+
|-
+
| style="border-left: 2px solid;border-right: 1px solid;" |
+
| style="border-left: 1px solid;border-right: 1px solid;" | 495,607
+
| style="border-left: 1px solid;border-right: 1px solid;" | 986,724
+
| style="border-left: 1px solid;border-right: 1px solid;" | 2.86275
+
| style="border-left: 1px solid;border-right: 1px solid;" | 2.86269
+
| style="border-left: 1px solid;border-right: 1px solid;" | 19.29057
+
| style="border-left: 1px solid;border-right: 2px solid;" | 19.29081
+
|-
+
| style="border-left: 2px solid;border-right: 1px solid;" |
+
| style="border-left: 1px solid;border-right: 1px solid;" | 1,064,447  
+
| style="border-left: 1px solid;border-right: 1px solid;" | 2,122,160  
+
| style="border-left: 1px solid;border-right: 1px solid;" | 2.86272  
+
| style="border-left: 1px solid;border-right: 1px solid;" | 2.86273  
+
| style="border-left: 1px solid;border-right: 1px solid;" | 19.29385  
+
| style="border-left: 1px solid;border-right: 2px solid;" | 19.29389  
+
|-
+
| style="border-left: 2px solid;border-right: 1px solid;" |  
+
| style="border-left: 1px solid;border-right: 1px solid;" | 2,106,077  
+
| style="border-left: 1px solid;border-right: 1px solid;" | 4,202,536  
+
| style="border-left: 1px solid;border-right: 1px solid;" | 2.86274  
+
| style="border-left: 1px solid;border-right: 1px solid;" | 2.86274  
+
| style="border-left: 1px solid;border-right: 1px solid;" | 19.29618  
+
| style="border-left: 1px solid;border-right: 2px solid;" | 19.29615  
+
|- style="border-bottom: 2px solid;"
+
| style="border-left: 2px solid;border-right: 1px solid;" |  
+
| style="border-left: 1px solid;border-right: 1px solid;" | 4,031,557  
+
| style="border-left: 1px solid;border-right: 1px solid;" | 8,049,644  
+
| style="border-left: 1px solid;border-right: 1px solid;" | 2.86275  
+
| style="border-left: 1px solid;border-right: 1px solid;" | 2.86275  
+
| style="border-left: 1px solid;border-right: 1px solid;" | 19.29763  
+
| style="border-left: 1px solid;border-right: 2px solid;" | 19.29765  
+
 
|}
 
|}
  
  
The temperature distribution and Flux magnitude fields for the finest mesh are shown in Figure [[#img-26|26]].  
+
The temperature distribution and Flux magnitude fields for the finest mesh are shown in [[#img-25|Figure  25]].  
  
<div id='img-26a'></div>
+
<div id='img-25a'></div>
<div id='img-26b'></div>
+
<div id='img-25b'></div>
<div id='img-26'></div>
+
<div id='img-25'></div>
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: auto;"
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: auto;"
 
|-
 
|-
Line 2,274: Line 2,230:
 
| (b) Contour till of flux vectors on elems
 
| (b) Contour till of flux vectors on elems
 
|- style="text-align: center; font-size: 75%;"
 
|- style="text-align: center; font-size: 75%;"
| colspan="2" style="padding:10px;"| '''Figure 26'''. Temperature distribution and Flux magnitude fields for the finest mesh of the third example
+
| colspan="2" style="padding:10px;"| '''Figure 25'''. Temperature distribution and Flux magnitude fields for the finest mesh of the third example
 
|}
 
|}
  
  
Figure [[#img-27|27]] shows the graphs of the temperature and flux magnitude values along a diameter of the circle for different meshes of Figure  [[#img-25|25]].  
+
[[#img-26|Figure 26]] shows the graphs of the temperature and flux magnitude values along a diameter of the circle for different meshes of   [[#img-24|Figure 24]].  
  
<div id='img-27a'></div>
+
<div id='img-26a'></div>
<div id='img-27b'></div>
+
<div id='img-26b'></div>
<div id='img-27c'></div>
+
<div id='img-26c'></div>
<div id='img-27d'></div>
+
<div id='img-26d'></div>
<div id='img-27e'></div>
+
<div id='img-26e'></div>
<div id='img-27f'></div>
+
<div id='img-26f'></div>
<div id='img-27'></div>
+
<div id='img-26'></div>
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: auto;"
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: auto;"
 
|-
 
|-
Line 2,307: Line 2,263:
 
| (f)  
 
| (f)  
 
|- style="text-align: center; font-size: 75%;"
 
|- style="text-align: center; font-size: 75%;"
| colspan="2" style="padding:10px;"| '''Figure 27'''. Temperature and Flux magnitude graphs of the third example along a cross-section of the domain for different meshes:  Mesh in Figure  
+
| colspan="2" style="padding:10px;"| '''Figure 26'''. Temperature and Flux magnitude graphs of the third example along a cross-section of the domain
 +
for different meshes: Mesh in [[#img-24|Figure 24]](a), a-Temperature, b-Flux; Mesh in [[#img-24|Figure 24]](b), c-Temperature, d-Flux; Mesh in  [[#img-24|Figure 24]](c), e-Temperature, f-Flux
 
|}
 
|}
  
In Table [[#table-3|3]], we show some global error metrics for different meshes.   Figure [[#img-28|28]] shows the error evolution in <math display="inline">L^2</math> norm for this example.
+
[[#table-6|Table 6]] shows some global error metrics for different meshes.   [[#img-27|Figure 27]] shows the error evolution in <math display="inline">L^2</math> norm for this example.
  
<div class="center" style="font-size: 75%;">'''Table 3'''. tableDEC errors in the third example</div>
+
<div id='table-6'></div>
 +
<div class="center" style="font-size: 75%;">'''Table 6'''. DEC errors in the third example</div>
  
{| class="floating_tableSCP wikitable" style="text-align: center; margin: 1em auto;min-width:50%;font-size:85%;"
+
{| class="wikitable" style="margin: 1em auto 0.1em auto;border-collapse: collapse;font-size:85%;width:auto;"  
|- style="border-top: 2px solid;"
+
|-style="text-align:center"
| style="border-left: 2px solid;border-right: 2px solid;" | '''Mesh'''  
+
! '''Mesh''' !!  '''Nodes''' !!  <math> \sum (u-u_i)^2 \over nodes </math> !!  <math>L^2</math> norm  
| style="border-left: 2px solid;border-right: 2px solid;" | '''Nodes'''  
+
|- style="text-align:center"
| style="border-left: 2px solid;border-right: 2px solid;" | '''<math>   \sum (u-u_i)^2 \over nodes   </math>'''
+
|    1  
| style="border-left: 2px solid;border-right: 2px solid;" | '''<math>L^2</math> norm'''
+
| 342  
|- style="border-top: 2px solid;"
+
| 9.3638e-04  
| style="border-left: 2px solid;border-right: 1px solid;" |    1  
+
| 2.7786e-02  
| style="border-left: 1px solid;border-right: 1px solid;" | 342  
+
|- style="text-align:center"
| style="border-left: 1px solid;border-right: 1px solid;" | 9.3638e-04  
+
|    2  
| style="border-left: 1px solid;border-right: 2px solid;" | 2.7786e-02  
+
| 1,259  
|- style="border-top: 1px solid;"
+
| 1.5173e-04  
| style="border-left: 2px solid;border-right: 1px solid;" |    2  
+
| 3.2731e-03  
| style="border-left: 1px solid;border-right: 1px solid;" | 1,259  
+
|- style="text-align:center"
| style="border-left: 1px solid;border-right: 1px solid;" | 1.5173e-04  
+
|    3  
| style="border-left: 1px solid;border-right: 2px solid;" | 3.2731e-03  
+
| 4,467  
|- style="border-top: 1px solid;"
+
| 2.2110e-05  
| style="border-left: 2px solid;border-right: 1px solid;" |    3  
+
| 2.2937e-04  
| style="border-left: 1px solid;border-right: 1px solid;" | 4,467  
+
|- style="text-align:center"
| style="border-left: 1px solid;border-right: 1px solid;" | 2.2110e-05  
+
|    4  
| style="border-left: 1px solid;border-right: 2px solid;" | 2.2937e-04  
+
| 14,250  
|- style="border-top: 1px solid;"
+
| 3.7233e-06  
| style="border-left: 2px solid;border-right: 1px solid;" |    4  
+
| 1.9151e-05  
| style="border-left: 1px solid;border-right: 1px solid;" | 14,250  
+
|- style="text-align:center"
| style="border-left: 1px solid;border-right: 1px solid;" | 3.7233e-06  
+
|    5  
| style="border-left: 1px solid;border-right: 2px solid;" | 1.9151e-05  
+
| 20,492  
|- style="border-top: 1px solid;"
+
| 2.2311e-06  
| style="border-left: 2px solid;border-right: 1px solid;" |    5  
+
| 9.5930e-06  
| style="border-left: 1px solid;border-right: 1px solid;" | 20,492  
+
|- style="text-align:center"
| style="border-left: 1px solid;border-right: 1px solid;" | 2.2311e-06  
+
|    6  
| style="border-left: 1px solid;border-right: 2px solid;" | 9.5930e-06  
+
| 60,380  
|- style="border-top: 1px solid;"
+
| 4.3769e-07  
| style="border-left: 2px solid;border-right: 1px solid;" |    6  
+
| 8.7330e-07  
| style="border-left: 1px solid;border-right: 1px solid;" | 60,380  
+
|- style="text-align:center"
| style="border-left: 1px solid;border-right: 1px solid;" | 4.3769e-07  
+
|    7  
| style="border-left: 1px solid;border-right: 2px solid;" | 8.7330e-07  
+
| 142,702  
|- style="border-top: 1px solid;"
+
| 1.1664e-07  
| style="border-left: 2px solid;border-right: 1px solid;" |    7  
+
| 1.3926e-07  
| style="border-left: 1px solid;border-right: 1px solid;" | 142,702  
+
|- style="text-align:center"
| style="border-left: 1px solid;border-right: 1px solid;" | 1.1664e-07  
+
|    8  
| style="border-left: 1px solid;border-right: 2px solid;" | 1.3926e-07  
+
| 291,369  
|- style="border-top: 1px solid;"
+
| 3.9764e-08  
| style="border-left: 2px solid;border-right: 1px solid;" |    8  
+
| 3.3314e-08  
| style="border-left: 1px solid;border-right: 1px solid;" | 291,369  
+
|- style="text-align:center"
| style="border-left: 1px solid;border-right: 1px solid;" | 3.9764e-08  
+
|    9  
| style="border-left: 1px solid;border-right: 2px solid;" | 3.3314e-08  
+
| 497,378  
|- style="border-top: 1px solid;"
+
| 1.6680e-08  
| style="border-left: 2px solid;border-right: 1px solid;" |    9  
+
| 1.0275e-08  
| style="border-left: 1px solid;border-right: 1px solid;" | 497,378  
+
|- style="text-align:center"
| style="border-left: 1px solid;border-right: 1px solid;" | 1.6680e-08  
+
|    10  
| style="border-left: 1px solid;border-right: 2px solid;" | 1.0275e-08  
+
| 1,067,171  
|- style="border-top: 1px solid;"
+
| 3.9594e-09  
| style="border-left: 2px solid;border-right: 1px solid;" |    10  
+
| 1.2190e-09  
| style="border-left: 1px solid;border-right: 1px solid;" | 1,067,171  
+
|- style="text-align:center"
| style="border-left: 1px solid;border-right: 1px solid;" | 3.9594e-09  
+
|    11  
| style="border-left: 1px solid;border-right: 2px solid;" | 1.2190e-09  
+
| 2,106,248  
|- style="border-top: 1px solid;border-bottom: 2px solid;"
+
| 9.6949e-10  
| style="border-left: 2px solid;border-right: 1px solid;" |    11  
+
| 1.4415e-10  
| style="border-left: 1px solid;border-right: 1px solid;" | 2,106,248  
+
| style="border-left: 1px solid;border-right: 1px solid;" | 9.6949e-10  
+
| style="border-left: 1px solid;border-right: 2px solid;" | 1.4415e-10  
+
 
|}
 
|}
  
  
<div id='img-28'></div>
+
<div id='img-27'></div>
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: auto;"
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: auto;"
 
|-
 
|-
 
|style="padding:10px;"|[[Image:Esqueda_et_al_2020a-DEC_Error_Graph_Eliptic_Egg.png|410px|DEC ]]
 
|style="padding:10px;"|[[Image:Esqueda_et_al_2020a-DEC_Error_Graph_Eliptic_Egg.png|410px|DEC ]]
 
|- style="text-align: center; font-size: 75%;"
 
|- style="text-align: center; font-size: 75%;"
| colspan="1" style="padding-bottom:10px;"| '''Figure 28'''. DEC  
+
| colspan="1" style="padding-bottom:10px;"| '''Figure 27'''. DEC <math display="inline">L^2</math> evolution in the third example
 
|}
 
|}
  
Line 2,404: Line 2,359:
  
 
<li>Local DEC allows a simple treatment of heterogeneous material properties assigned to subdomains (element by element),  which eliminates the need of dealing with it through ad hoc modifications of the global discrete Hodge star operator matrix.  </li>
 
<li>Local DEC allows a simple treatment of heterogeneous material properties assigned to subdomains (element by element),  which eliminates the need of dealing with it through ad hoc modifications of the global discrete Hodge star operator matrix.  </li>
 
 
</ol>
 
</ol>
 +
  
 
On the other hand we would like to point the following features:
 
On the other hand we would like to point the following features:
Line 2,412: Line 2,367:
  
 
* The computational cost of DEC is similar to that of FEML. While the numerical results of DEC and FEML on fine meshes are virtually identical, the DEC solutions are better than those of FEML on coarse meshes. Furthermore, DEC  solutions display numerical convergence,  as shown by the  error measurements.
 
* The computational cost of DEC is similar to that of FEML. While the numerical results of DEC and FEML on fine meshes are virtually identical, the DEC solutions are better than those of FEML on coarse meshes. Furthermore, DEC  solutions display numerical convergence,  as shown by the  error measurements.
 +
  
 
Our future work will include the DEC discretization of convective terms, and DEC on 2-dimensional simplicial surfaces in 3D.  Preliminary results on both problems are promising and competitive with FEML.
 
Our future work will include the DEC discretization of convective terms, and DEC on 2-dimensional simplicial surfaces in 3D.  Preliminary results on both problems are promising and competitive with FEML.
Line 2,422: Line 2,378:
  
 
==References==
 
==References==
 +
 +
<div class="auto" style="text-align: left;width: auto; margin-left: auto; margin-right: auto;font-size: 85%;">
  
 
<div id="cite-1"></div>
 
<div id="cite-1"></div>
'''[[#citeF-1|[1]]]''' Bossavit, A.: “Mixed finite elements and the complex of Whitney forms.In J. Whiteman, editor, The mathematics of finite elements and applications VI, pages 137–144. Academic Press, 1988.  <div id="cite-2"></div>
+
[[#citeF-1|[1]]]  Bossavit A. Mixed finite elements and the complex of Whitney forms. In J. Whiteman (ed.), The Mathematics of Finite Elements and Applications VI, pp. 137–144, Academic Press, 1988.   
'''[[#citeF-2|[2]]]'''  Botello, S.; Moreles, M.Z.; Oñate, E.: ``Módulo de Aplicaciones del Método de los Elementos Finitos para resolver la ecuación de Poisson: MEFIPOISS.''  Aula CIMNE-CIMAT, Septiembre 2010, ISBN 978-84-96736-95-5.  <div id="cite-3"></div>
+
'''[[#citeF-3|[3]]]'''  Cartan, E.: ``Sur certaines expressions différentielles et le probleme de Pfaff". Annales Scientifiques de l'École Normale Supérieure. Série 3. Paris: Gauthier-Villars. 16: 239?332 (1899)   <div id="cite-4"></div>
+
'''[[#citeF-4|[4]]]'''  Crane, Keenan, et al. “Digital geometry processing with discrete exterior calculus.” ACM SIGGRAPH 2013 Courses. ACM, 2013.  <div id="cite-5"></div>
+
'''[[#citeF-5|[5]]]'''  Dassios, Ioannis, et al. “A mathematical model for plasticity and damage: A discrete calculus formulation.” Journal of Computational and Applied Mathematics 312 (2017): 27-38.  <div id="cite-6"></div>
+
'''[[#citeF-6|[6]]]'''  Esqueda, H.; Herrera, R.; Botello, S; Moreles, M. A.: “A geometric description of Discrete Exterior Calculus for general triangulations”. Rev. int. métodos numér. cálc. diseño ing. (Online first).  https://www.scipedia.com/public/Herrera_et_al_2018b  <div id="cite-7"></div>
+
'''[[#citeF-7|[7]]]'''  Griebel, Michael, Christian Rieger, and Alexander Schier. “Upwind Schemes for Scalar Advection-Dominated Problems in the Discrete Exterior Calculus.” Transport Processes at Fluidic Interfaces. Birkhäuser, Cham, 2017. 145-175.  <div id="cite-8"></div>
+
'''[[#citeF-8|[8]]]'''  Hirani, Anil Nirmal. “Discrete exterior calculus”. Diss. California Institute of Technology, 2003.  <div id="cite-9"></div>
+
'''[[#citeF-9|[9]]]'''  Hirani, Anil N., Kalyana B. Nakshatrala, and Jehanzeb H. Chaudhry. “Numerical method for Darcy flow derived using Discrete Exterior Calculus.” International Journal for Computational Methods in Engineering Science and Mechanics 16.3 (2015): 151-169.  <div id="cite-10"></div>
+
'''[[#citeF-10|[10]]]'''  Mohamed, Mamdouh S., Anil N. Hirani, and Ravi Samtaney. “Discrete exterior calculus discretization of incompressible Navier-Stokes equations over surface simplicial meshes.” Journal of Computational Physics 312 (2016): 175-191.  <div id="cite-11"></div>
+
'''[[#citeF-11|[11]]]'''  Oñate, E.:  “4 - 2D Solids. Linear Triangular and Rectangular Elements,” in Structural Analysis with the Finite Element Method.  Linear Statics, Volume 1: Basis and Solids, CIMNE-Springer, Barcelona, 2009. Pages 117-157, ISBN 978-1-4020-8733-2  <div id="cite-12"></div>
+
'''[[#citeF-12|[12]]]'''  Whitney, H.: “Geometric Integration Theory.” Princeton University Press, 1957<div id="cite-13"></div>
+
'''[[#citeF-13|[13]]]'''  O. C. Zienkiewicz, R. L. Taylor and J. Z. Zhu: “3 - Generalization of the finite element concepts. Galerkin-weighted residual and variational approaches,” In The Finite Element Method Set (Sixth Edition), Butterworth-Heinemann, Oxford, 2005, Pages 54-102, ISBN 9780750664318,   
+
  
</span>
+
<div id="cite-2"></div>
 +
[[#citeF-2|[2]]]  Botello S., Moreles M.Z., Oñate E. Módulo de aplicaciones del método de los elementos finitos para resolver la ecuación de Poisson: MEFIPOISS.  Aula CIMNE-CIMAT, Septiembre 2010. 
 +
 
 +
<div id="cite-3"></div>
 +
[[#citeF-3|[3]]]  Cartan E. Sur certaines expressions différentielles et le problème de Pfaff. Annales Scientifiques de l'École Normale Supérieure, Série 3, Paris, Gauthier-Villars, Tome 16, pp. 239-332, 1899. 
 +
 
 +
<div id="cite-4"></div>
 +
[[#citeF-4|[4]]]  Crane K., et al. Digital geometry processing with discrete exterior calculus. ACM SIGGRAPH 2013 Courses, pp. 1-126, July 2013. 
 +
 
 +
<div id="cite-5"></div>
 +
[[#citeF-5|[5]]]  Dassios I., et al. A mathematical model for plasticity and damage: A discrete calculus formulation. Journal of Computational and Applied Mathematics, 312:27-38, 2017. 
 +
 
 +
<div id="cite-6"></div>
 +
[[#citeF-6|[6]]]  Esqueda H., Herrera R., Botello S., Moreles M.A. A geometric description of discrete exterior calculus for general triangulations. Rev. Int. Métodos Numér. Cálc. Diseño Ing., 35(1), 2, 2019.  https://www.scipedia.com/public/Herrera_et_al_2018b 
 +
 
 +
<div id="cite-7"></div>
 +
[[#citeF-7|[7]]]  Griebel, M., Rieger C.,  Schier A. Upwind schemes for scalar advection-dominated problems in the Discrete Exterior Calculus. In Bothe D., Reusken A. (eds), Transport Processes at Fluidic Interfaces, Birkhäuser, Cham,  145-175, 2017. 
 +
 
 +
<div id="cite-8"></div>
 +
[[#citeF-8|[8]]]  Hirani A.N. Discrete exterior calculus. Thesis, California Institute of Technology, 2003. 
 +
 
 +
<div id="cite-9"></div>
 +
[[#citeF-9|[9]]]  Hirani A.N., Nakshatrala K.B.,  Chaudhry J.H. Numerical method for Darcy flow derived using discrete exterior calculus. International Journal for Computational Methods in Engineering Science and Mechanics, 16(3):151-169, 2015. 
 +
 
 +
<div id="cite-10"></div>
 +
[[#citeF-10|[10]]]  Mohamed M.S.,  Hirani A.N.,  Samtaney R. Discrete exterior calculus discretization of incompressible Navier-Stokes equations over surface simplicial meshes. Journal of Computational Physics, 312: 175-191, 2016. 
 +
 
 +
<div id="cite-11"></div>
 +
[[#citeF-11|[11]]]  Oñate E.  2D solids. Linear triangular and rectangular elements. In Structural Analysis with the Finite Element Method.  Linear Statics, Volume 1: Basis and Solids, Chapter 4, pp. 117-157, CIMNE-Springer, Barcelona, 2009.
 +
 
 +
<div id="cite-12"></div>
 +
[[#citeF-12|[12]]]  Whitney H. Geometric integration theory. Princeton University Press, 1957. 
 +
 
 +
<div id="cite-13"></div>
 +
[[#citeF-13|[13]]]    Zienkiewicz O.C.,  Taylor R.L., Zhu J.Z. Generalization of the finite element concepts. Galerkin-weighted residual and variational approaches. In The Finite Element Method Set (Sixth Edition), Butterworth-Heinemann, Oxford, Chapter 3, pp. 54-102, 2005. 
 +
 
 +
</div>

Latest revision as of 15:49, 1 March 2021

Abstract

We present a local formulation for 2D Discrete Exterior Calculus (DEC) similar to that of the Finite Element Method (FEM), which allows a natural treatment of material heterogeneity (assigning material properties element by element). It also allows us to deduce, in a principled manner, anisotropic fluxes and the DEC discretization of the pullback of 1-forms by the anisotropy tensor, i.e. we deduce the discrete action of the anisotropy tensor on primal 1-forms. Due to the local formulation, the computational cost of DEC is similar to that of the Finite Element Method with Linear interpolating functions (FEML). The numerical DEC solutions to the anisotropic Poisson equation show numerical convergence, are very close to those of FEML on fine meshes and are slightly better than those of FEML on coarse meshes.

1. Introduction

The theory of Discrete Exterior Calculus (DEC) is a relatively recent discretization [8] of the classical theory of Exterior Differential Calculus developed by E. Cartan [3], which is a fundamental tool in Differential Geometry and Topology. The aim of DEC is to solve partial differential equations preserving their geometrical and physical features as much as possible. There are only a few papers about implementions of DEC to solve certain PDEs, such as the Darcy flow and Poisson's equation [9], the Navier-Stokes equations [10], the simulation of elasticity, plasticity and failure of isotropic materials [5], some comparisons with the finite differences and finite volume methods on regular flat meshes [7], as well as applications in digital geometry processing [4].

In this paper, we describe a local formulation of DEC which is reminiscent of that of the Finite Element Method (FEM). Indeed, once the local systems of equations have been established, they can be assembled into a global linear system. This local formulation is also efficient and helpful in understanding various features of DEC that can otherwise remain unclear if one is dealing dealing with an entire mesh. Besides, we believe the local description to DEC will be accesible to a wide readership. We will, therefore, take a local approach when recalling all the objects required by 2D DEC [6]. Our main results are the following:

  • We present a local formulation of DEC analogous to that of FEM, which allows a natural treatment of heterogeneous material properties assigned to subdomains (element by element) and eliminates the need of dealing with it through ad hoc modifications of the global discrete Hodge star operator.
  • Guided by the local formulation, we deduce a natural way to approximate the flux/gradient-vector of a discretized function, as well as the anisotropic flux vector. We carry out a comparison of the formulas defining the flux in both DEC and Finite Element Method with linear interpolation functions (FEML).
  • In order to understand how to discretize the anisotropic Poisson equation, we develop the discretization of the pull-back operator of 1-forms under an arbitrary linear trasformation or tensor. The pull-back operator is one of the basic ingredients in Exterior Differential Calculus in the smooth setting and is essential in all of its applications in Topology [bott-Tu]. We discretize the pullback operator on primal 1-forms induced by an arbitrary tensor using Whitney interpolation (the Whitney map). The Whitney interpolation forms were introduced by Hassler Whitney in 1957 [12] and Bossavit [1] explained their relevance in “mixed methods” of finite elements. To our knowledge, this is the first time that the discrete version of this operator is presented in the DEC literature. This has allowed us to discretize, in a principled manner, the anisotropic heat equation.
  • We carry out an analytic comparison of the DEC and FEML local formulations of the anisotropic Poisson equation.
  • We present three numerical examples of the approximate solutions to the stationary anisotropic Poisson equation on different domains using DEC and FEML. The numerical DEC-solutions exhibit numerical convergence (see the error measurement tables) and a competitive performance, as well as a computational cost similar to that of FEML. In fact, the numerical solutions with both methods on fine meshes are identical, and DEC shows a slightly better performance than FEML on coarse meshes.


The paper is organized as follows. In Section 2, we describe the local versions of the discrete derivative operator, the dual mesh, the discrete Hodge star operator and the meaning of a continuous 1-form on the plane. In Section 3, we deduce the discretization of the pullback operator on primal 1-forms. In Section 4, we deduce the natural way of computing flux vectors in DEC (which turns out to be equivalent to the FEML result), as well as the anisotropic flux vectors. In Section 5, we present the local DEC formulation of the 2D anisotropic Poisson equation and compare it with the local system of FEML, proving that the diffusion terms are identical in both schemes, while the source terms are differentl due to a different area-weight assignment for the nodes. In Section 6, we re-examine the geometry of some of the local DEC quantities. In Section 7, we present and compare numerical examples of DEC and FEML approximate solutions to the 2D anisotropic Poisson equation on different domains with meshes of various resolutions. In Section 8, we summarize the contributions of this paper.

2. Preliminaries on DEC from a local viewpoint

In this section, we will recall the basic operators of Dicrete Exterior Calculus restricting ourselves to a mesh made up of one simplex/triangle. The local results we derive in the paper can be assembled, just as in the Finite elemnt Method, due to the additivity of both differentiation and integration.

Let us consider a primal mesh made up of a single (positively oriented) triangle with vertices (Figure 1).

Triangle
Figure 1. Triangle

Such a mesh has

  • one oriented 2-dimensional face
  • three oriented 1-dimensional edges
  • and three 0-dimensional vertices

2.1 Boundary operator

There is a well known boundary operator

(1)

which describes the boundary of the triangle as an alternated sum of its ordered oriented edges , and .

Similarly, one can compute the boundary of each edge

(2)

If we consider

  • the symbol as a basis vector of a 1-dimensional vector space,
  • the symbols , , as an ordered basis of a 3-dimensional vector space,
  • the symbols , , as an ordered basis of a 3-dimensional vector space,


then the map (1), which sends the oriented triangle to a sum of its oriented edges, is represented by the matrix

while the map (2), which sends the oriented edges to sums of their oriented vertices, is represented by the matrix

2.2 Discrete derivative

It has been argued that the DEC discretization of the differential of a function is given by the transpose of the matrix of the boundary operator on edges [6,8]. More precisely, suppose we have a function discretized by its values at the vertices

Its discrete derivative, according to DEC, is

Indeed, such differences are rough approximations of the directional derivatives of along the oriented edges. For instance, is a rough approximation of the directional derivative of at in the direction of the vector , i.e.,

It is precisely in this sense that, according to DEC,

  • the value is assigned to the edge ,
  • the value is assigned to the edge ,
  • and the value is assigned to the edge .

Let

2.3 Dual mesh

The dual mesh of the primal mesh consisting of a single triangle is constructured as follows:

  • To the 2-dimensional triangular face will correspond the 0-dimensional point given by the circumcenter of the triangle (Figure 2).
Circumcenter
Figure 2. Circumcenter of the triangle
  • To the 1-dimensional edge will correspond the 1-dimensional straight line segment joining the midpoint of the edge to the circumcenter (Figure 3). Similarly for the other edges.
Dual segment
Figure 3. Dual segment of the edge
  • To the 0-dimensional vertex/node will correspond the oriented -dimensional quadrilateral (Figure 4).
Dual quadrilateral
Figure 4. Dual quadrilateral of the vertex

2.4 Discrete Hodge star

For the Poisson equation in 2D, we need two matrices: one relating original edges to dual edges, and another relating vertices to dual cells.

  • The discrete Hodge star map applied to the discrete differential of a discretized function is given as follows:
  • the value assigned to the edge is changed to the new value

assigned to the segment ;

  • the value assigned to the edge is changed to the new value

assigned to the edge .

  • the value assigned to the edge is changed to the new value

assigned to the segment ;

In other words,

  • Similarly, the discrete Hodge star map on values on vertices is given as follows:
  • the value assigned to the vertex is changed to the new value

assigned to the quadrilateral ;

  • the value assigned to the vertex is changed to the new value

assigned to the quadrilateral ;

  • the value assigned to the vertex is changed to the new value

assigned to the quadrilateral .

In other words,

2.5 Continuous 1-forms

A differential 1-form on can be thought of as a function whose arguments are a point in and a vector in , i.e.

and which is linear on the vector argument.

The dot product of allows us to see continuous 1-forms in a more familiar form as vector fields in the following way: If is a vector field on , at each point we can consider the 1-form

where . On the other hand, from a continuos 1-form we can build a vector field as follows

where

2.5.1 Pullback of a conitnuous 1-form

Given a tensor (a linear transformation) and the vector field associated to a 1-form as above, consider the vector field . For any vector , the value of the corresponding continuous 1-form is given by the product

which is the value of the 1-form called the pullback of by the tensor .

2.5.2 Discretization of continuous 1-forms

In order to produce a primal 1-form from such a continuous 1-form we need to inegrate it along the edges of the mesh (the de Rham map). In our local description, this produces a collection of 3 numbers associated to the 3 oriented edges of the triangle, i.e. for the oriented edge joining to we have

This is equivalent to calculating the line integral (circulation) of the corresponding vector field along the path , , parametrizing the edge

3. Pullback operator on primal 1-forms

In Section 2, we dealt with the primal discretization of a continuous 1-form. Now we wish to understand the pullback of a primal 1-form. In order to do this, we will interpolate a primal 1-form using the Whitney interpolation forms to produce a continuous 1-form (Whitney map) to which we can apply the pullback operator by a tensor (linear transformation), and then intergrate along the edges (de Rham map).

The Whitney interpolation forms were introduced by Whitney in 1957 [12], and Bossavit [1] explained their relevance to “mixed methods” of finite elements. For the sake of simplicity, we will only define the Whitney 0 and 1-forms.

First consider the Finite Element linear basis functions (or Whitney interpolation functions)

(3)

and their differentials

(4)

The Whitney interpolation 1-forms are

(5)

These differential 1-forms are such that, along the edge

i.e. or .

Now, suppose we have a primal 1-form given on our triangle by the collection of numbers

We form a continuous 1-form as follows

which is such that, for

Now we will calculate

for an arbitrary linear transformation

Let

and

As it turns out,

where

Anyhow, these quantities are areas of the parallelograms formed by one fixed edge of the original triangle and one edge transformed by .

Thus, we have that the induced transformation on primal 1-forms is

(6)

When the material is isotropic, i.e. is a constant multiple of the identity matrix, we get a constant multiple of the identity matrix above as discrete pull-back operator.

4. Flux and anisotropy

In this section, we deduce the DEC formulae for the local flux, the local anisotropic flux and the local anisotropy operator for primal 1-forms.

4.1 The flux in local DEC

We wish to find a natural construction for the discrete flux (discrete gradient vector) of a discrete function. Recall from Vector Calculus that the directional derivative of a differentiable function at a point in the direction of is defined by

Thus, we have three Vector Calculus identities

As in Subsection 2.2, the rough approximations to directional derivatives of a function in the directions of the (oriented) edges are given as follows

Thus, if we want to find a discrete gradient vector of at the point , we need to solve the equations

(7)
(8)

If

then

Now, if we were to find a discrete gradient vector of at the point , we need to solve the equations

(9)

The vectors solving these equations is actually equal to . Indeed, consider

so that

(10)

Thus, adding up (7) and (9) we get

(11)

Subtracting (8) from (10) we get

(12)

Since and are linearly independent and the two inner products in (11) and (12) vanish,

Analogously, the corresponding gradient vector of at the vertex is equal to . This means that the three approximate gradient vectors at the three vertices coincide, i.e. we have a unique discrete flux vector on the given element. Note that the discrete flux satisfies

This means that the primal 1-form discretizing can be obtained by performing the dot products of the discrete flux vector with the vectors given by the triangle's oriented edges.

4.1.1 Comparison of DEC and FEML local fluxes

The local flux (gradient) of in FEML is given by

where and are the basis functions given in (3). Explicitly

where

is the area of the triangle, so that the FEML flux is given by

and we can see that it coincides with the DEC flux.

4.2 The anisotropic flux vector in local DEC

We will now discuss how to discretize anisotropy in 2D DEC. Let denote the symmetric anisotropy tensor

and recall the anisotropic Poisson equation

First recall that, in Exterior Differential Calculus, for any ,

where is the pullback of by .

Since we already have a discrete candidate for on the given element, the product of the matrix and gives us a candidate for the anisptropic flux vector on such an element

In order to produce a primal 1-form from , all we have to do is assume that is constant on the given triangle and take dot products with the edges of the triangle, i.e.

Nevertheless, in order to better understand the structure of the local system (as in FEML), it is desirable to have a factorization of the result as a matrix product

where the matrix is a real matrix depending on the geometry of the triangle and the matrix , and such that it is a multiple of the identity matrix when the domain is isotropic. In order to do this, we will use the discretization of the pullback opertator of Exterior Differential Calculus for arbitrary 1-forms from Section 3. Thus, using (6), is the following matrix where we have set , i.e.

where

4.2.1 Geometric interpretation of the entries of 4.2.1 Geometric interpretation of the entries of K D E C {\displaystyle K^{DEC}}

Consider the Figure 5, where denotes the anti-clockwise rotation

Geometric interpretation of the entries of the anisotropy tensor discretization
Figure 5. Geometric interpretation of the entries of the anisotropy tensor discretization

We have

where is the area of the red triangle. Thus, the numbers are quotients of areas of transformed triangles divided by the area of the original triangle.

5. Anisotropic Poisson equation in 2D

In this section, we describe the local DEC discretization of the 2D anisotropic Poisson equation and compare it to that of FEML.

5.1 Local DEC discretization of the 2D anisotropic Poisson equation

The anisotropic Poisson equation reads as follows

where and are two functions on a certain domain in and is the anisotropy tensor. In terms of the exterior derivative and the Hodge star operator it reads as follows

where and . Following the discretization of the discretized divergence operator [6], the corresponding local DEC discretization of the anisotropic Poisson equation is

or equivalently

(13)

In order to simplify the notation, consider the lengths and areas defined in Figure 6.

Triangle
Figure 6. Triangle

Now, the discretized equation (13) looks as follows:

The diffusive term matrix is actually symmetric (see Subsection 5.3.1).

5.2 Local FEML-Discretized 2D anisotropic Poisson equation

The diffusive elemental matrix in FEM (frequently called “stiffness matrix”) on an element is given by

where is the matrix representing the anisotropic diffusion tensor, and the matrix is given explicitly by

Since the matrix is constant on an element of the mesh, the integral is easy to compute. Thus, the difussive matrix for a linear triangular element (FEML) is given by

Now, let us consider the first diagonal entry of the local FEML anisotropic Poisson diffusive matrix ,

where is the anticlockwise rotation,

In this notation, the diffusive term in local FEML is given as follows

5.3 Comparison between local DEC and FEML discretizations

For the sake of brevity, we are only going to compare the entries of the first row and first column of each formulation. Consider the various lengths, areas and angles labeled in Figures 6 and 7.

Circumscribed triangle.
Figure 7. Circumscribed triangle.

We have the following identities:

5.3.1 The diffusive term

For instance, we claim that

Indeed,

Thus,

All we have to do now is show that

Note that, since is orthogonal to , must be parallel to . Thus,

(14)

Now we are going to express in terms of . Let us consider

where are coefficients to be determined. Taking inner products with and we get the two equations

Solving for and

Substituting all the relevant quantities in (14) we have, for instance, that the coefficient of is

and similarly for the coefficient of . The calculations for the remaining entries are similar.

Thus, the local DEC and FEML diffusive terms of the 2D anisotropic Poisson equation coincide.

5.3.2 The source term

As already observed in [6], the right hand sides of the local DEC and FEML systems are different

While FEML uses a barycentric subdivision to calculate the areas associated to each node/vertex, DEC uses a circumcentric subdivision. Eventually, this leads the DEC discretization to a better approximation of the solution (on coarse meshes).

6. Some remarks about DEC quantities

6.1 The discrete Hodge star quantities revisited

The numbers appearing in the local DEC matrices can be expressed both in terms of determinants and in terms of trigonometric functions. More precisely,

These expressions are valid regardless of the location of the circumcenter and can, indeed, take negative values. The angles that are measured in the scheme can be negative as in the obtuse triangle of Figure 8.

Esqueda et al 2020a-NonWellCenteredTriangle01a-eps-converted-to.png Negative (exterior) angles measured in an obtuse triangle.
Figure 8. Negative (exterior) angles measured in an obtuse triangle

and some quantities can even be zero. For instance, if

then

6.2 Area weights assigned to vertices

In order to understand how local DEC assigns area weights to vertices differently from FEML, let us consider the obtuse triangle shown in Figure 8. Let be the middle points of the segments respectively. As shown in Figure 9, the triangle lies completely outside of the triangle . Geometrically, this implies that its area must be assigned a negative sign, which is confirmed by the determinant formulas of Subsection 6.1. On the other hand, the triangle will have positive area. Thus, their sum gives us the area in Figure 9.

Esqueda et al 2020a-NonWellCenteredTriangle03a-eps-converted-to.png Esqueda et al 2020a-NonWellCenteredTriangle04a-eps-converted-to.png Area weight assigned to
Figure 9. Area weight assigned to


The area is computed similarly, where the triangle is assigned negative area (Figure 10).

Esqueda et al 2020a-NonWellCenteredTriangle06a-eps-converted-to.png Esqueda et al 2020a-NonWellCenteredTriangle07a-eps-converted-to.png Esqueda et al 2020a-NonWellCenteredTriangle08a-eps-converted-to.png
Figure 10. Area weight assigned to

Note that for , the two triangles and both have positive areas (Figure 11).

Esqueda et al 2020a-NonWellCenteredTriangle09a-eps-converted-to.png Esqueda et al 2020a-NonWellCenteredTriangle10a-eps-converted-to.png Area weight assigned to
Figure 11. Area weight assigned to

7. Numerical examples

In this section, we present three numerical examples in order to illustrate the performance of DEC resulting from the local formulation and its implementation. In all cases, we solve the anisotropic Poisson equation. The FEML methodology that we have used in the comparison can be consulted [2,11,13].

7.1 First example: Heterogeneity

This example is intended to highlight how Local DEC deals effectively with heterogeneous materials. Consider the region in the plane given in Figure 12.

Square and inner circle with different conditions.
Figure 12. Square and inner circle with different conditions
  • The difussion constant for the region labelled mat1 is and its source term is .
  • The difussion constant for the region labelled mat2 is and its source term is .


The meshes used in this example are shown in Figure 13 and vary from coarse to very fine.

Esqueda et al 2020a-Fig 13 Square m1.png Esqueda et al 2020a-Fig 13 Square m2.png Esqueda et al 2020a-Fig 13 Square m3.png
(a) (b) (c)
Esqueda et al 2020a-Fig 13 Square m4.png Esqueda et al 2020a-Fig 13 Square m5.png Esqueda et al 2020a-Fig 13 Square m6.png
(d) (e) (f)
Figure 13. Six of the meshes used in the first example

The numerical results for the maximum temperature value are exemplified in Table 1.

Table 1. Numerical simulation results of the first example
Mesh Nodes Elements Max. Temp. Value Max. Flux Magnitude
DEC FEML DEC FEML
Figure 13(a) 49 80 5.51836 5.53345 13.837 13.453
Figure 13(b) 98 162 5.65826 5.66648 14.137 14.024
Figure 13(c) 258 466 5.70585 5.71709 14.858 14.770
Figure 13(d) 1,010 1,914 5.72103 5.72280 15.008 15.006
Figure 13(e) 3,813 7,424 5.72725 5.72725 15.229 15.228
Figure 13(f) 13,911 27,420 5.72821 5.72826 15.342 15.337
50,950 101,098 5.72841 5.72842 15.395 15.396
135,519 269,700 5.72845 5.72845 15.420 15.417
298,299 594,596 5.72848 5.72848 15.430 15.429
600,594 1,198,330 5.72848 5.72848 15.433 15.433
1,175,238 2,346,474 5.72849 5.72849 15.43724 15.43724


The temperature and flux-magnitude distribution fields are shown in Figure 14.

Contour Fill of Temperatures Contour Fill of Flux vectors on Elems
(a) Contour fill of temperatures (b) Contour fill of flux vectors on Elems
Figure 14. Temperature and flux-magnitude distribution fields of the first example


Figure 15 shows the graphs of the temperature and the flux-magnitude along a horizontal line crossing the inner circle for the first two meshes.

Esqueda et al 2020a-Fig 15 Square m1 diametral temp.png Esqueda et al 2020a-Fig 15 Square m1 diametral flux.png
(a) (b)
Esqueda et al 2020a-Fig 15 Square m2 diametral temp.png Esqueda et al 2020a-Fig 15 Square m2 diametral flux.png
(c) (d)
Esqueda et al 2020a-Fig 15 Square m3 diametral temp.png Esqueda et al 2020a-Fig 15 Square m3 diametral flux.png
(e) (f)
Figure 15. Temperature and Flux magnitude graphs of the first example along a cross-section of the domain for different meshes


Table 2 shows some global error metrics for different meshes. Figure 16 shows the error evolution in norm for this example.

Table 2. DEC errors in the first example
Mesh Nodes norm
1 49 1.0537e-02 1.4438e-01
2 98 4.2447e-03 4.8558e-02
3 258 6.9781e-04 3.0390e-03
4 1,010 8.8386e-05 1.4877e-04
5 3,813 1.0736e-05 7.7369e-06
6 13,911 1.4422e-06 4.9791e-07
7 50,950 1.7582e-07 2.9608e-08
8 135,518 3.2621e-08 2.9233e-09
9 298,299 7.3566e-09 3.3610e-10
10 603,440 1.8577e-09 4.9496e-11


DEC
Figure 16. DEC error in the first example

7.2 Second example: Anisotropy

Let us solve the Poisson equation in a circle of radius one centered at the origin under the following conditions (Figure 17):

  • heat anisotropic diffusion constants ;
  • material angle ;
  • source term ;
  • Dirichlet boundary condition .
Disk of radius one.
Figure 17. Disk of radius one


The meshes used in this example are shown in Figure 18 and vary from very coarse to very fine.

Esqueda et al 2020a-Fig 17 CircleMesh1.png Esqueda et al 2020a-Fig 17 CircleMesh2.png Esqueda et al 2020a-Fig 17 CircleMesh3.png
(a) (b) (c)
Esqueda et al 2020a-Fig 17 CircleMesh4.png Esqueda et al 2020a-Fig 17 CircleMesh5.png Esqueda et al 2020a-Fig 17 CircleMesh6.png
(d) (e) (f)
Figure 18. First six meshes used for unit disk


The numerical results for the maximum temperature value () are exemplified in Table 3 where a comparison with the Finite Element Method with linear interpolation functions (FEML) is also shown.

Table 3. Temperature value at the point (0,0) and Flux magnitude value at the point (-1, 0) of the numerical simulations for the second example
Mesh Nodes Elements Temp. Value at Flux Magnitude at
DEC FEML DEC FEML
Figure 18(a) 17 20 10.20014 10.19002 0.42133 0.43865
Figure 18(b) 41 56 10.20007 10.19678 0.48544 0.49387
Figure 18(c) 201 344 10.20012 10.20158 0.52470 0.52428
Figure 18(d) 713 1304 10.20000 10.19969 0.54143 0.54224
Figure 18(e) 2455 4660 10.20000 10.19990 0.54971 0.55138
Figure 18(f) 8180 15862 10.20000 10.20002 0.55326 0.55409
20016 39198 10.20000 10.19999 0.55470 0.55520
42306 83362 10.20000 10.20000 0.55540 0.55572


The temperature distribution and Flux magnitude fields for the finest mesh are shown in Figure 19.

Contour Fill of Temperatures Contour Fill of Flux vectors on Elems
(a) Contour Fill of Temperatures (b) Contour Fill of Flux vectors on Elems
Figure 19. Temperature distribution and Flux magnitude fields for the finest mesh of the second example


Figures 20(a), (b) and (c) show the graphs of the temperature and flux magnitude values along a diameter of the circle for the different meshes of Figures 18(a), (b) and (c), respectively.

Esqueda et al 2020a-Fig 19 CircleTempCrossSection01.png Esqueda et al 2020a-Fig 19 CircleFluxCrossSection01.png
(a) (b)
Esqueda et al 2020a-Fig 19 CircleTempCrossSection02.png Esqueda et al 2020a-Fig 19 CircleFluxCrossSection02.png
(c) (d)
Esqueda et al 2020a-Fig 19 CircleTempCrossSection03.png Esqueda et al 2020a-Fig 19 CircleFluxCrossSection03.png
(e) (f)
Figure 20. Temperature and Flux magnitude graphs of the second example along a diameter of the circle for different meshes: mesh in Figure 18(a), a-Temperature, b-Flux; mesh in Figure 18(b), c-Temperature, d-Flux; mesh in Figure 18(c), e-Temperature, f-Flux


Table 4 shows some global error metrics for different meshes. Figure 21 shows the error evolution in norm for this example.

Table 4. DEC errors in the second example
Mesh Nodes norm
1 17 1.5818e-04 2.3555e-06
2 51 2.5395e-05 1.5639e-07
3 201 3.3643e-06 1.0517e-08
4 713 5.1563e-07 8.3543e-10
5 2,455 8.9235e-08 7.6073e-11
6 8,180 3.1731e-08 2.9858e-11
7 20,016 2.0217e-08 2.6580e-11
8 42,306 1.4421e-08 2.7062e-11
9 82,722 9.8533e-09 2.6164e-11
10 156,274 7.1352e-09 2.5954e-11
11 420,013 4.4277e-09 2.6151e-11
12 935,016 2.9635e-09 2.6003e-11


DEC
Figure 21. DEC error evolution in the second example

7.3 Third example: Heterogeneity and anisotropy

Let us solve the Poisson equation in a circle of radius on the following domain (Figure 22) with various material properties. The geometry of the domain is defined by segments of ellipses passing through the given points which have centers at the origin .

Egg-like domain with different materials.
Figure 22. Egg-like domain with different materials


Point Point
a -5 0 A 0 -4
b -4 0 B 0 -3
c -3 0 C 0 -2
d -1 0 D 0 -1
e 1 0 E 0 1
f 6 0 F 0 2
g 7 0 G 0 3
h 8 0 H 0 4


  • The Dirichlet boundary condition is and material properties (anisotropic heat diffusion constants, material angles and source terms) are given according to Figure 23 and the table below.
Dirichlet condition.
Figure 23. Dirichlet condition


Angle
Domain mat1 5 25 30 15
Domain mat2 25 5 0 5
Domain mat3 50 12 45 5
Domain mat4 10 35 0 5


The meshes used in this example are shown in Figure 24.

Esqueda et al 2020a-Fig 22 HuevoMesh1.png Esqueda et al 2020a-Fig 22 HuevoMesh2.png
(a) (b)
Esqueda et al 2020a-Fig 22 HuevoMesh3.png Esqueda et al 2020a-Fig 22 HuevoMesh4.png
(c) (d)
Figure 24. Meshes for layered egg-like figure


The numerical results for the maximum temperature value () are exemplified in Table 5 where a comparison with the Finite Element Method with linear interpolation functions (FEML) is also shown.

Table 5. Maximum temperature and Flux magnitude values in the numerical simulations of the third example
Mesh Nodes Elements Max. Temp. Value Max. Flux Magnitude
DEC FEML DEC FEML
Figure 24(a) 342 616 2.79221 2.79854 18.41066 18.40573
Figure 24(b) 1,259 2,384 2.83929 2.84727 18.93838 18.91532
Figure 24(c) 4,467 8,668 2.85608 2.85717 19.13297 19.13193
Figure 24(d) 14,250 28,506 2.85994 2.86056 19.20982 19.20909
20,493 40,316 2.86120 2.86177 19.23120 19.23457
60,380 119,418 2.86219 2.86231 19.26655 19.26628
142,702 283,162 2.86249 2.86256 19.28045 19.28028
291,363 579,360 2.86263 2.86267 19.28727 19.28755
495,607 986,724 2.86275 2.86269 19.29057 19.29081
1,064,447 2,122,160 2.86272 2.86273 19.29385 19.29389
2,106,077 4,202,536 2.86274 2.86274 19.29618 19.29615
4,031,557 8,049,644 2.86275 2.86275 19.29763 19.29765


The temperature distribution and Flux magnitude fields for the finest mesh are shown in Figure 25.

Contour Fill of Temperatures Contour Fill of Flux vectors on Elems
(a) Contour fill of temperatures (b) Contour till of flux vectors on elems
Figure 25. Temperature distribution and Flux magnitude fields for the finest mesh of the third example


Figure 26 shows the graphs of the temperature and flux magnitude values along a diameter of the circle for different meshes of Figure 24.

Esqueda et al 2020a-Fig 24 HuevoTempCrossSection01.png Esqueda et al 2020a-Fig 24 HuevoFluxCrossSection01.png
(a) (b)
Esqueda et al 2020a-Fig 24 HuevoTempCrossSection02.png Esqueda et al 2020a-Fig 24 HuevoFluxCrossSection02.png
(c) (d)
Esqueda et al 2020a-Fig 24 HuevoTempCrossSection03.png Esqueda et al 2020a-Fig 24 HuevoFluxCrossSection03.png
(e) (f)
Figure 26. Temperature and Flux magnitude graphs of the third example along a cross-section of the domain

for different meshes: Mesh in Figure 24(a), a-Temperature, b-Flux; Mesh in Figure 24(b), c-Temperature, d-Flux; Mesh in Figure 24(c), e-Temperature, f-Flux

Table 6 shows some global error metrics for different meshes. Figure 27 shows the error evolution in norm for this example.

Table 6. DEC errors in the third example
Mesh Nodes norm
1 342 9.3638e-04 2.7786e-02
2 1,259 1.5173e-04 3.2731e-03
3 4,467 2.2110e-05 2.2937e-04
4 14,250 3.7233e-06 1.9151e-05
5 20,492 2.2311e-06 9.5930e-06
6 60,380 4.3769e-07 8.7330e-07
7 142,702 1.1664e-07 1.3926e-07
8 291,369 3.9764e-08 3.3314e-08
9 497,378 1.6680e-08 1.0275e-08
10 1,067,171 3.9594e-09 1.2190e-09
11 2,106,248 9.6949e-10 1.4415e-10


DEC
Figure 27. DEC evolution in the third example


Remark. As can be seen from the previous examples, DEC behaves well on coarse meshes. As expected, the results of DEC and FEML are identical for fine meshes. We would also like to point out the the computational costs of DEC and FEML are very similar since the local matrices are very similar in profile, or even identical in some cases.

8. Conclusions

DEC is a relatively recent discretization scheme for PDE's which takes into account the geometric and analytic features of the operators and the domains involved. The main contributions of this paper are the following:

  1. We have made explicit the local formulation of DEC, i.e. on each triangle of the mesh. As is customary, the local pieces can be assembled, which facilitates the implementation of DEC by the interested reader. Furthermore, the profiles of the assembled DEC matrices are equal to those of assembled FEML matrices.
  2. Guided by the local formulation, we have deduced a natural way to approximate the flux/gradient vector of a discretized function, which coincides with that of FEML. Such approximate flux vector automatically gives the discretized version of the anisotropic flux.
  3. We have discretized the pullback operator on continuous 1-forms using Whitney interpolation forms and have found the discrete anisotropy operator for primal 1-forms.
  4. We have deduced the local DEC formulation of the 2D anisotropic Poisson equation, and have proved that the DEC and FEML diffusion terms are identical, while the source terms are not – due to the different area-weight allocation for the nodes.
  5. Local DEC allows a simple treatment of heterogeneous material properties assigned to subdomains (element by element), which eliminates the need of dealing with it through ad hoc modifications of the global discrete Hodge star operator matrix.


On the other hand we would like to point the following features:

  • The area weights assigned to the nodes of the mesh when solving the 2D anisotropic Poisson equation can even be negative (when a triangle has an inner angle greater that ), in stark contrast to the FEML formulation.
  • The computational cost of DEC is similar to that of FEML. While the numerical results of DEC and FEML on fine meshes are virtually identical, the DEC solutions are better than those of FEML on coarse meshes. Furthermore, DEC solutions display numerical convergence, as shown by the error measurements.


Our future work will include the DEC discretization of convective terms, and DEC on 2-dimensional simplicial surfaces in 3D. Preliminary results on both problems are promising and competitive with FEML.

Acknowledgements

The second named author was partially supported by a CONACyT grant, and would like to thank the International Centre for Numerical Methods in Engineering (CIMNE) and the University of Swansea for their hospitality. We gratefully acknowledge the support of NVIDIA Corporation with the donation of the Titan X Pascal GPU used for this research.

References

[1] Bossavit A. Mixed finite elements and the complex of Whitney forms. In J. Whiteman (ed.), The Mathematics of Finite Elements and Applications VI, pp. 137–144, Academic Press, 1988.

[2] Botello S., Moreles M.Z., Oñate E. Módulo de aplicaciones del método de los elementos finitos para resolver la ecuación de Poisson: MEFIPOISS. Aula CIMNE-CIMAT, Septiembre 2010.

[3] Cartan E. Sur certaines expressions différentielles et le problème de Pfaff. Annales Scientifiques de l'École Normale Supérieure, Série 3, Paris, Gauthier-Villars, Tome 16, pp. 239-332, 1899.

[4] Crane K., et al. Digital geometry processing with discrete exterior calculus. ACM SIGGRAPH 2013 Courses, pp. 1-126, July 2013.

[5] Dassios I., et al. A mathematical model for plasticity and damage: A discrete calculus formulation. Journal of Computational and Applied Mathematics, 312:27-38, 2017.

[6] Esqueda H., Herrera R., Botello S., Moreles M.A. A geometric description of discrete exterior calculus for general triangulations. Rev. Int. Métodos Numér. Cálc. Diseño Ing., 35(1), 2, 2019. https://www.scipedia.com/public/Herrera_et_al_2018b

[7] Griebel, M., Rieger C., Schier A. Upwind schemes for scalar advection-dominated problems in the Discrete Exterior Calculus. In Bothe D., Reusken A. (eds), Transport Processes at Fluidic Interfaces, Birkhäuser, Cham, 145-175, 2017.

[8] Hirani A.N. Discrete exterior calculus. Thesis, California Institute of Technology, 2003.

[9] Hirani A.N., Nakshatrala K.B., Chaudhry J.H. Numerical method for Darcy flow derived using discrete exterior calculus. International Journal for Computational Methods in Engineering Science and Mechanics, 16(3):151-169, 2015.

[10] Mohamed M.S., Hirani A.N., Samtaney R. Discrete exterior calculus discretization of incompressible Navier-Stokes equations over surface simplicial meshes. Journal of Computational Physics, 312: 175-191, 2016.

[11] Oñate E. 2D solids. Linear triangular and rectangular elements. In Structural Analysis with the Finite Element Method. Linear Statics, Volume 1: Basis and Solids, Chapter 4, pp. 117-157, CIMNE-Springer, Barcelona, 2009.

[12] Whitney H. Geometric integration theory. Princeton University Press, 1957.

[13] Zienkiewicz O.C., Taylor R.L., Zhu J.Z. Generalization of the finite element concepts. Galerkin-weighted residual and variational approaches. In The Finite Element Method Set (Sixth Edition), Butterworth-Heinemann, Oxford, Chapter 3, pp. 54-102, 2005.

Back to Top

Document information

Published on 19/06/20
Accepted on 24/05/20
Submitted on 22/04/20

Volume 36, Issue 2, 2020
DOI: 10.23967/j.rimni.2020.05.003
Licence: CC BY-NC-SA license

Document Score

0

Views 267
Recommendations 0

Share this document