Post Processing For The Vector Finite Element Meth
Post Processing For The Vector Finite Element Meth
net/publication/237821839
Post processing for the vector finite element method: From edge to nodal
values
CITATIONS READS
6 199
3 authors:
Ronan Perrussel
French National Centre for Scientific Research
121 PUBLICATIONS 679 CITATIONS
SEE PROFILE
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by François Musy on 22 May 2014.
Ronan PERRUSSEL : MAPLY, UMR CNRS 5585, CEGELY, UMR CNRS 5005
Purpose
Propose post processing methods for the edge finite element method on a tetrahedral mesh.
They make it possible to deduce vector values on the vertices from scalar values defined on
Approach
The new proposed techniques are based on a least squares formulation leading to a sparse
matrix system to be solved. They are compared in terms of accuracy and CPU time on a FE
Findings
1
A significant improvement of vector values accuracy on the vertices of the tetrahedra is
obtained compared to a classical approach with a very small additional computation time.
Originality
- To obtain the values at the initial nodes of the mesh and not inside the tetrahedra
- To take into account the discontinuity to the interface between two media of different
electromagnetic properties.
Keywords
Research paper
2
Introduction
Edge-based finite elements (FE) are useful in modeling electromagnetic phenomena because
of their correct physical sense. Furthermore, it has been shown that better approximation of
the solution may be obtained compared to nodal-based FE [Webb, 1993]. The incomplete first
order edge finite element is commonly used in electromagnetic modeling. The degrees of
freedom are line integrals along the edges in the mesh. However, knowledge of the nodal field
values remains necessary for various reasons. Maximal values located at the interfaces can be
required to predict possible electric breakdowns. Nodal values may be necessary to achieve
some additional computation: induced currents in the conductors, dual field, source term for
coupled problem (magneto thermal), … [Zhao et al, 2000, Sekkak et al, 1994]. Post
processors for visualization are usually based on the nodal representation of the fields.
For vector finite elements, two techniques are commonly used to compute nodal values from
- Only nodal values inside an element are computed from its edge values. However, this
method doesn’t give a unique value on its boundary, namely on the vertices.
- An average value of the nodal field is evaluated on each node and for each region by
taking into account the contribution of all the elements connected to the considered
The objective of this paper is to propose a method to compute accurate nodal values at the
Reference method
3
A first and simplest method consists in computing local node values on each element of the
mesh from the edge values by means of the local edge basis. As explained by (1), a value at a
node is then obtained as an arithmetic mean involving the elements containing the node. For a
node at the interface between two regions, two values are obtained by averaging the field
values separately in each region. It is taken as reference in the following (method 1).
∑ E T (m)
6
T∋ m
E(m) = with E T (m) = ∑ αi pi (m) (1)
nT i =1
New approach
Let a complex vector field E be obtained from some computations with H(curl; Ω )-
4
Vh is the nodal conforming FE space of degree 1 defined on τh and || || is a norm induced by
a scalar product in H(curl; Ω ). Vector field E being given from incomplete first order edge
εh denotes the set of the edges in τh and t is an oriented tangent unit vector on edge e. So it
⎛ ⎞⎛ ⎞
E,E′ θ
= (1 − θ ) ∫ E . E ′ + θ
Ω ∑ ⎜ ∫ ⎟ ⎜ ∫ ⎟⎟
⎜ E .t ⎟ ⎜ E ′.t (4)
e ∈ε h ⎝ e ⎠⎝ e ⎠
θ is a weight such that 0 ≤ θ < 1 . The limit case θ = 1 , for which the bilinear form , θ
does
By definition of the norm deduced by (4), the gap between vector fields E and E is
⎡ 2 ⎤1/ 2
2
E−E = ⎢ (1 − θ ) ∫ E − E +θ ∑ ∫ (E − E ).t ⎥ (5)
θ ⎢ ⎥
⎢⎣ Ω e ∈ε h e ⎥⎦
5
The linear system to solve
For the norm defined by (5) with 0 ≤ θ < 1 , the minimization problem (2) is a least squares
problem with a unique solution E*. Moreover vector field E* is the orthogonal projection of
E into the space Vh for the scalar product (4). The unknown field E* can be decomposed as:
Nh
E* = ∑ ξi vi (6)
i =1
where (vi), i=1 to Nh (the nodal space dimension) is the nodal vector basis of the FE space Vh
and the unknown vector ξ = ( ξi ) , i=1 to Nh contains the values of each component of the field
E* on the vertices of the mesh τh. Writing that E* - E is orthogonal to any test function vi
gives ξ as solution to a linear system: A θξ = bθ . The matrix A θ , the Gram matrix associated
Then, A θ is real symmetric and positive definite for 0 ≤ θ < 1 . The right-hand side bθ is
given by:
Numbering the unknowns according to the 3 components on the axes, the nodal basis can be
decomposed as
6
⎡ ϕi ⎤ ⎡0⎤ ⎡0⎤
⎢ 0 ⎥ i=1 to n, ⎢ϕ ⎥ i=1 to n ⎢ 0 ⎥ i=1 to n (9)
⎢ ⎥ ⎢ i⎥ ,
⎢ ⎥
⎢⎣ 0 ⎥⎦ ⎢⎣ 0 ⎥⎦ ⎢⎣ϕi ⎥⎦
where ϕi , i=1 to n is the scalar nodal basis and n the number of vertices. It induces a partition
⎡ bθX ⎤ ⎡ξX ⎤
⎢ ⎥ ⎢ ⎥
bθ = b θ ξ = ⎢ ξ Y ⎥
⎢ Y⎥
(11)
⎢ Z⎥ ⎢ Z⎥
⎢⎣ bθ ⎥⎦ ⎢⎣ ξ ⎥⎦
7
(A 0 )ij = ∫ vi .v j , i,j=1 to Nh (13)
Ω
⎛M 0 0 ⎞
A0 = ⎜⎜ 0 M 0 ⎟⎟ (17)
⎜ 0 0 M⎟
⎝ ⎠
M ij = ∫ ϕi ϕ j , i,j=1 to n (18)
Ω
A1 is not a block diagonal matrix but it is easy to see from (19) that each block is as sparse as
8
εih = {e ∈ εh / vertex a i is an extremity of edge e} . Then denoting by ex, ey, ez the 3
ex
∫ ϕi t x = if e ∈ εih , (19)
2
e
one gets
exey
(A1XY )ii = ∑ 4
(20)
e∈εih
and
exey
for i ≠ j (A1XY )ij = if e ∈ εih ∩ ε hj (21)
4
i
For each vertex ai of the mesh, let us introduce the associated set of edges: ε% h ={ e ∈ εh / edge
e and vertex ai belong to the same tetrahedron } and the set of elements: τih =support of vi
we={T ∈ τh /e is an edge of tetrahedron T}. Then from (3),(9) and (15), it comes
9
⎡ ⎤
(b0X )i = ∑ αe ⎢ ∑ ∫ ( w e )x ϕi ⎥ , i=1 to n (22)
⎢ ⎥
i ⎣ T∈τh ∩τh T
e i
e∈ε% h ⎦
For e = ab where a and b are vertices of tetrahedron T and denoting by λa , λ b the respective
T ⎪
⎪⎩(∇λ b − ∇λ a ) x if e ∉ ε h
i
(b1X )i = ∑ αe ∫ ϕi .t x = ∑ αe
ex
2
(24)
e∈εih e e∈εih
In the particular case where θ = 0, the linear system reduces to A0ξ* = b0 . As pointed out
before, matrix A 0 has a block diagonal structure with mass matrices on the diagonal. To save
10
some computation time an explicit but approximate solution to the least squares problem can
least squares problem. The mass lumping allows to approximate the mass matrix by a
β
∫v
2
i = with β = ∑ mes(T) (25)
Ω
4 T∈τi h
4 X
( ξ X )i = (b0 )i i=1 to n (26)
β
For θ = 1 , the minimization problem defined by (2),(5) is a pure discrete least squares
problem with one solution at least. The solutions satisfy the linear system A1ξ = StSξ = b1
Uniqueness of the solution is ensured if there exists no ξ ∈ IR N h − {0} such that S ξ =0. i.e. if
the columns of S are linearly independent. It requires that the number of lines card(εh ) is
From (27), the uniqueness condition of the solution can be also written as
11
there exists no E ∈ Vh − {0} such that ∫ E.t = 0 for any e ∈ εh
e
there is no vector field defined on the nodes such that E(c) ≠ 0 for some node c and
In the numerical experiments presented above such a property appears to be satisfied by the
In the following, method 1 (local averaging) is the reference method, method 2 (energy
obtained for θ=1/2 , and method 5 corresponds to θ=0 with the mass lumping approximation.
The accuracy and the time required for each post processing method are tested on 3 examples.
In the first two examples, numerical results are compared with analytical solutions of
1968] and numerical formulations of scattering problems are given in [Yaobi, 1996]. A 50
mm radius - sphere is meshed with 100 nodes on its surface. The frequency of the incident
plane wave is 1 GHz. Absorbing Boundary Condition (ABC) (1st order Engquist Majda) is
located at a half wavelength from the sphere. In order to estimate the influence of the Finite
12
Element discretization, a relative error estimator on the sphere’s surface (denoted by S) is
computed as
∑ αanal num
e − αe
Error = e∈S (28)
∑ α anal
e
e∈S
The edge values αenum are those obtained from the FE-code. Denoting by Hanal the analytical
The efficiency of the different post processing strategies is also evaluated on the surface of the
sphere by means of relative error estimators. For each of the five methods, 3 relative errors
concerning the nodal vector field, its normal component and its tangential component are
computed as
anal num
∑H (a) − H (a)
Error = a∈S (30)
∑H anal
(a)
a∈S
13
Where H indicates either the vector (3 components), or its normal component or its
tangential component. Nodal values H num (a) are given by the post processing methods from
In the first example (figure 1), the sphere is modeled as a perfect electrical conductor (PEC).
The problem is meshed with 4481 nodes and 22108 tetrahedral elements leading to 28161
edges (294 edges on the sphere’s surface). The edge values error, computed with (28), is
about 0.067. The total solving time (assembling and solving of the matrix system) with the FE
code is about 300s on a HP J5000. Note that the same solver as in the post processing is used
Figure 1
Various relative errors are given in Table I which also contains the post processing costs.
Table I: relative errors (30), number of iterations of the PQMR and CPU time for the post
component component
14
5 0.255 0.161 0.200 / 1
On this first example, the methods with circulation approximation (mixed with energy
approximation in method 4, pure in 3) give close results and appear to be the most accurate.
From the reference method (method 1) the increase in precision on the nodal vector field is
about 0.1. The increase in time (about 21 s) is reasonable as compared with the time required
to solve the FE problem (436 s). With method 2 (pure energy approximation), the accuracy
gain is roughly divided by 2 (0.048) and disappears when the mass lumping is introduced
In the second example, the sphere is magnetic with µr = 3. A discontinuity of the magnetic
field at the surface of the sphere is therefore introduced and the interior (region 1) has to be
meshed. The same mesh as for the PEC sphere (figure 1) is used outside of the sphere (region
2). For the whole mesh, one gets 4547 nodes and 22783 tetrahedral elements leading to 28805
edges (294 edges on the sphere’s surface). The total time for FE solving is about 436 s (537
iterations of the PQMR). The edge values error, computed with (28), is about 0.149. The post
processing is made in the only region 2 (air) according to the analytical solution (Harrington,
1968).
Similarly as in Table I, Table II gives the results we obtain for each five methods. Compared
to the reference method, the least squares methods behave as in the PEC case.
Table II: relative errors (30), number of iterations of the PQMR and CPU time for the post
15
Method Relative error on 3 Relative error on Relative error Iterations Time
component component
Academic example:
In order to eliminate the error due to FE discretization, the performances of the post
processing methods are finally evaluated on an academic example on the same spherical
geometry. The same geometry and the same mesh as for the problem of scattering by the
dielectric sphere (example 2) are used. The vector field to post process is no longer the
solution to some scattering problem but a radial field analytically defined as (figure 2):
Figure 2
Approximate edge values are then evaluated as in (29). From these data, nodal values are
computed with the different post processing methods independently in both regions (table III).
16
Table III: nodal values, number of iterations of the PQMR of the post processing for the
academic problem.
Taking into account the starting field (31), the awaited results on the sphere surface should
be :
The results confirm an important increase of accuracy obtained with pure or mixed circulation
Conclusion
As shown from tables I, II and III, the most accurate vector fields are obtained with the
methods where some circulation approximation is satisfied. Theses methods are the most CPU
consuming. However, the time required for the post processing remains reasonable compared
17
to the total FE solving time. A significant improvement of the accuracy is so obtained with a
References
Dibben, C. D., Metaxas, R., (1997), "A Comparison of Errors Obtained with Withney and
Linear Edge Elements," IEEE Transaction on Magnetics, vol. 33, No. 2, pp. 1524-1527.
Sekkak, A., Pichon, L., Razek, A. (1994), "3-D FEM Magneto-Thermal Analysis in
Microwave Ovens," IEEE Transaction on Magnetics, vol. 30, No 5, pp. 3347-3350.
Volakis, L. J., Davdson, D. B., (2000) "Implementation Issues for Three Dimensional Vector
FEM Programs", IEEE Antennas and Propagation Magazine, vol. 42, No. 6, pp. 100-107.
Webb, J. P. (1993), “Edge element and what they can do for you,” IEEE Transaction on
Magnetics, vol. 29, No. 2, pp. 1460-1465.
Yao Bi, J. L., Nicolas, L., Nicolas, A (1996), "Vector absorbing boundary conditions for
nodal or mixed finite elements," IEEE Transaction on Magnetics, vol. 32, No 3, pp.848-853.
Zhao, H., Turner, I. W. (2000), "The Use of Coupled Computation Model for Studying the
Microwave Heating of Wood," Applied Mathematical Modelling, No 24, pp. 183-197.
Zienkiewicz, (1970), O. C., The Finite Element Method, Mc Graw-Hill Book Company.
Figures
18
Absorbing Boundary Condition
(1st order Enquist Majda)
λ/2
k
H E
Figure 1 : H field modulus on a PEC sphere
2000 r
(region 1)
(0,0,0)
20r
Ø = 100 mm
(region 2)
19