Upload
others
View
2
Download
0
Embed Size (px)
Citation preview
A high-order discontinuous hybrid
Control-volume/Finite-element method onmulti-dimensional domains
BCAM Workshop on Computational Mathematics, October 17-18, 2013
G. Stipcich1 M. Piller2
1BCAM -Basque Center for Applied Mathematics, Bilbao, Spain
2Universita degli Studi di Trieste, Trieste, Italy
Outline
1. On a discontinuous hybrid CV & FE algorithmThe idea: motivations and featuresBackground
2. Space discretization
3. Numerical results
4. Past, Present & Future
2 / 22
On a discontinuous hybrid CV & FE algorithm
Outline
1. On a discontinuous hybrid CV & FE algorithmThe idea: motivations and featuresBackground
2. Space discretization
3. Numerical results
4. Past, Present & Future
2 / 22
On a discontinuous hybrid CV & FE algorithm The idea: motivations and features
Outline
1. On a discontinuous hybrid CV & FE algorithmThe idea: motivations and featuresBackground
2. Space discretization
3. Numerical results
4. Past, Present & Future
2 / 22
On a discontinuous hybrid CV & FE algorithm The idea: motivations and features
Motivations and features
1 Hybrid CV and FE merges the advantages of both
Control Volume: integral method conservative at CV levelGeometric flexibility
2 Discontinuous methods:
local P-adaptivity for high-order accuracyextremely local data structure: high-efficiency parallelizationmainly used for hyperbolic problems (discontinuities) oradvection-dominated problems (high-Reynolds numbers)
3 We focused on diffusion problems
3 / 22
On a discontinuous hybrid CV & FE algorithm The idea: motivations and features
Motivations and features
1 Hybrid CV and FE merges the advantages of both
Control Volume: integral method conservative at CV levelGeometric flexibility
2 Discontinuous methods:
local P-adaptivity for high-order accuracyextremely local data structure: high-efficiency parallelizationmainly used for hyperbolic problems (discontinuities) oradvection-dominated problems (high-Reynolds numbers)
3 We focused on diffusion problems
3 / 22
On a discontinuous hybrid CV & FE algorithm The idea: motivations and features
Motivations and features
1 Hybrid CV and FE merges the advantages of both
Control Volume: integral method conservative at CV levelGeometric flexibility
2 Discontinuous methods:
local P-adaptivity for high-order accuracyextremely local data structure: high-efficiency parallelizationmainly used for hyperbolic problems (discontinuities) oradvection-dominated problems (high-Reynolds numbers)
3 We focused on diffusion problems
3 / 22
On a discontinuous hybrid CV & FE algorithm The idea: motivations and features
Motivations and features
1 Hybrid CV and FE merges the advantages of both
Control Volume: integral method conservative at CV levelGeometric flexibility
2 Discontinuous methods:
local P-adaptivity for high-order accuracyextremely local data structure: high-efficiency parallelizationmainly used for hyperbolic problems (discontinuities) oradvection-dominated problems (high-Reynolds numbers)
3 We focused on diffusion problems
3 / 22
On a discontinuous hybrid CV & FE algorithm Background
Outline
1. On a discontinuous hybrid CV & FE algorithmThe idea: motivations and featuresBackground
2. Space discretization
3. Numerical results
4. Past, Present & Future
3 / 22
On a discontinuous hybrid CV & FE algorithm Background
Background I: shape function-based FV
Low order High-order or Spectral
Baliga & Patankar (1980) Wang (2002)
Banaszek (1989) Iskandarani (2004)
Martinez (2006) Piller & Stalio (2011)
DCVFEM
4 / 22
Space discretization
Outline
1. On a discontinuous hybrid CV & FE algorithmThe idea: motivations and featuresBackground
2. Space discretization
3. Numerical results
4. Past, Present & Future
4 / 22
Space discretization
Discretization I: Mapping of generic curvilinear elements
Elemental mapping:e = Me (e) ∀e ∈ Th
The blending method is used:Me = l (η) + c (η)
The reference element ise ≡ [−1, 1]d ∀e ∈ Th
Advantage: single assemblyprocedure
collapsed
linear mapping +
blending
5 / 22
Space discretization
Discretization I: Mapping of generic curvilinear elements
Elemental mapping:e = Me (e) ∀e ∈ Th
The blending method is used:Me = l (η) + c (η)
The reference element ise ≡ [−1, 1]d ∀e ∈ Th
Advantage: single assemblyprocedure
collapsed
linear mapping +
blending
5 / 22
Space discretization
Discretization II: Reference element and Control Volumes
The CVs (dashed lines) areinterpreted as a dual mesh
Location of the nodes(Discontinuous approach)
Reference element for Pe = 2
6 / 22
Space discretization
Discretization III: Natural subdivision into CV for any Pe
(a) Pe = 1 (b) Pe = 2 (c) Pe = 3
(d) Pe = 4 (e) Pe = 5 (f) Pe = 6
7 / 22
Space discretization
Discretization IV: Elements in the Physical space
A B
C
D
Quadrilateral element, Pe = 5
A
B
C
Triangular element, Pe = 5
8 / 22
Space discretization
Discretization V: Analysis of the Condition Number
Condition Number ≡ ‖Me‖ ‖M−1e ‖
1 2 3 4 5 6 7 8 910
101
102
103
104
P e
(P e)2
(P e)3
ConditionNumber
Quadrilateral elements
1 2 3 4 5 6 7 8 910
101
102
103
104
P e
(P e)4
(P e)4
ConditionNumber
Triangular elements
9 / 22
Numerical results
Outline
1. On a discontinuous hybrid CV & FE algorithmThe idea: motivations and featuresBackground
2. Space discretization
3. Numerical results
4. Past, Present & Future
9 / 22
Numerical results
Numerical results
10 / 22
Numerical results
Governing equations
The diffusion equation is solved
Fundamental formulation:
−∇ · (D∇T ) = Q
The mixed formulation is used: constitutive and conservation equations
q+D · ∇T = 0
∇ · q = Q
11 / 22
Numerical results
Governing equations
The diffusion equation is solved
Fundamental formulation:
−∇ · (D∇T ) = Q
The mixed formulation is used: constitutive and conservation equations
q+D · ∇T = 0
∇ · q = Q
11 / 22
Numerical results
Numerical tests I: 2D hollow cylinder
2D section of hollow cylinder
Dirichlet and Neumann b.c.
Q = 0
Analytical solution available
12 / 22
Numerical results
Numerical tests I: 2D hollow cylinder
Hybrid mesh
High-order approximation ofthe (non-polynomial) curvedboundaries
13 / 22
Numerical results
Numerical tests I: 2D hollow cylinder
L2 Norm
10−0.6
10−0.4
10−0.2
100
100.2
10−12
10−10
10−8
10−6
10−4
10−2
100
h-convergence isoparametric (P e = Q)
log(h)
log(eL2)
P e = 1
P e = 2
P e = 3
P e = 4
P e = 5
P e + 2
P e + 1
14 / 22
Numerical results
Numerical tests I: 2D hollow cylinder
L∞ Norm
10−0.6
10−0.4
10−0.2
100
100.2
10−12
10−10
10−8
10−6
10−4
10−2
100
h-convergence isoparametric (P e = Q)
log(h)
log(eL∞)
P e = 1
P e = 2
P e = 3
P e = 4
P e = 5
P e + 2
P e + 1
15 / 22
Numerical results
Numerical tests II: Non-homogeneous diffusivity
Non-homogeneous diffusivity D
Zero Dirichlet b.c.
Q 6= 0
D discontinuous in a sharp andsmall portion of Ω
16 / 22
Numerical results
Numerical tests II: Non-homogeneous diffusivity
Triangular coarse mesh
In relation to the source Q,we can set any Pe
17 / 22
Numerical results
Numerical tests II: Non-homogeneous diffusivity
The discontinuity interface isaccurately captured
18 / 22
Numerical results
Numerical tests III: Anisotropic, non-hom. diffusivity
Anisotropic andNon-homogeneous diffusivity D
Piecewise constant Dirichlet b.c.
Q = 0
D discontinuous in a rectangularportion of Ω
19 / 22
Numerical results
Numerical tests III: Anisotropic, non-hom. diffusivity
The streamlines of the vectorquantity q are properlydeviated in a ”z” shape
0.324
7.85
1.00 2.00 3.00 4.00 5.00 6.00 7.00
Temperature
20 / 22
Past, Present & Future
Outline
1. On a discontinuous hybrid CV & FE algorithmThe idea: motivations and featuresBackground
2. Space discretization
3. Numerical results
4. Past, Present & Future
20 / 22
Past, Present & Future
Background II: previous work on 1D DCVFEM
1 Formal derivation of weakformulation
2 Fourier analysis
3 P-convergence T and q4 Numerical results:
confirm Fourier analysisDCVFEM comparable toDGFEM
21 / 22
Past, Present & Future
Background II: previous work on 1D DCVFEM
1 Formal derivation of weakformulation
2 Fourier analysis
3 P-convergence T and q4 Numerical results:
confirm Fourier analysisDCVFEM comparable toDGFEM
φV (x) =
1 if x ∈ V
0 otherwise
21 / 22
Past, Present & Future
Background II: previous work on 1D DCVFEM
1 Formal derivation of weakformulation
2 Fourier analysis
3 P-convergence T and q4 Numerical results:
confirm Fourier analysisDCVFEM comparable toDGFEM
0 1 2 30
1
2
3
k
ke
Modified wavenumber: diffusion
21 / 22
Past, Present & Future
Background II: previous work on 1D DCVFEM
1 Formal derivation of weakformulation
2 Fourier analysis
3 P-convergence T and q4 Numerical results:
confirm Fourier analysisDCVFEM comparable toDGFEM
0.5 1 1.5 2 2.5 3 3.50
1
2
3
4
5
6
log (h0/h)
log
(e/e 0
)
log
(h/h
0)
DCVFEM: P-convergence
21 / 22
Past, Present & Future
Background II: previous work on 1D DCVFEM
1 Formal derivation of weakformulation
2 Fourier analysis
3 P-convergence T and q4 Numerical results:
confirm Fourier analysisDCVFEM comparable toDGFEM
−1 −0.5 0 0.5 1−2
−1
0
1
2
x
T
The Hemker problem
21 / 22
Past, Present & Future
Background II: previous work on 1D DCVFEM
1 Formal derivation of weakformulation
2 Fourier analysis
3 P-convergence T and q4 Numerical results:
confirm Fourier analysisDCVFEM comparable toDGFEM
−1 −0.5 0 0.5 1−2
−1
0
1
2
x
T
The Hemker problem
21 / 22
Past, Present & Future
Background II: previous work on 1D DCVFEM
1 Formal derivation of weakformulation
2 Fourier analysis
3 P-convergence T and q4 Numerical results:
confirm Fourier analysisDCVFEM comparable toDGFEM
−1 −0.5 0 0.5 1−2
−1
0
1
2
x
T
The Hemker problem
21 / 22
Past, Present & Future
Conclusions, ongoing work & issues
Conclusions:
We propose a discontinuous CVdiscretization on genericelements, with straightforward“spectral” accuracy
Ability of handling curvedgeometries, sharp gradients,anisotropic media
Ongoing work & issues:
3D extension tohexahedral/tetrahedral elementsof arbitrary order
Bottleneck: computational cost
22 / 22
Past, Present & Future
Conclusions, ongoing work & issues
Conclusions:
We propose a discontinuous CVdiscretization on genericelements, with straightforward“spectral” accuracy
Ability of handling curvedgeometries, sharp gradients,anisotropic media
Ongoing work & issues:
3D extension tohexahedral/tetrahedral elementsof arbitrary order
Bottleneck: computational cost
C
A
B
Curved elements, arbitrary order
22 / 22
Past, Present & Future
Conclusions, ongoing work & issues
Conclusions:
We propose a discontinuous CVdiscretization on genericelements, with straightforward“spectral” accuracy
Ability of handling curvedgeometries, sharp gradients,anisotropic media
Ongoing work & issues:
3D extension tohexahedral/tetrahedral elementsof arbitrary order
Bottleneck: computational costHigh gradients, non-homog. media
22 / 22
Past, Present & Future
Conclusions, ongoing work & issues
Conclusions:
We propose a discontinuous CVdiscretization on genericelements, with straightforward“spectral” accuracy
Ability of handling curvedgeometries, sharp gradients,anisotropic media
Ongoing work & issues:
3D extension tohexahedral/tetrahedral elementsof arbitrary order
Bottleneck: computational cost
22 / 22
Past, Present & Future
Conclusions, ongoing work & issues
Conclusions:
We propose a discontinuous CVdiscretization on genericelements, with straightforward“spectral” accuracy
Ability of handling curvedgeometries, sharp gradients,anisotropic media
Ongoing work & issues:
3D extension tohexahedral/tetrahedral elementsof arbitrary order
Bottleneck: computational cost Hexahedron, arbitrary order
22 / 22
Past, Present & Future
Conclusions, ongoing work & issues
Conclusions:
We propose a discontinuous CVdiscretization on genericelements, with straightforward“spectral” accuracy
Ability of handling curvedgeometries, sharp gradients,anisotropic media
Ongoing work & issues:
3D extension tohexahedral/tetrahedral elementsof arbitrary order
Bottleneck: computational costTetrahedron, arbitrary order
22 / 22
Past, Present & Future
Conclusions, ongoing work & issues
Conclusions:
We propose a discontinuous CVdiscretization on genericelements, with straightforward“spectral” accuracy
Ability of handling curvedgeometries, sharp gradients,anisotropic media
Ongoing work & issues:
3D extension tohexahedral/tetrahedral elementsof arbitrary order
Bottleneck: computational costComputational cost
22 / 22
Thank you
23 / 22
Weak formulation: formal derivation I
Consider the volume indicator function
φV (x) =
1 if x ∈ V
0 otherwise
(1)
And take the constitutive equation qd + D∇T = 0. After
1 multiplication with (1)
2 integration over the whole domain Ω
3 application of the divergence theorem
we have∫
V
D−1qd dx+
∫
∂V
T−n ds = 0 (2)
where T− denotes the trace on ∂V of the restriction of the function T tothe control volume V .
24 / 22
Weak formulation: formal derivation I
Consider the volume indicator function
φV (x) =
1 if x ∈ V
0 otherwise
(1)
And take the constitutive equation qd + D∇T = 0. After
1 multiplication with (1)
2 integration over the whole domain Ω
3 application of the divergence theorem
we have∫
V
D−1qd dx+
∫
∂V
T−n ds = 0 (2)
where T− denotes the trace on ∂V of the restriction of the function T tothe control volume V .
24 / 22
Weak formulation: formal derivation I
Consider the volume indicator function
φV (x) =
1 if x ∈ V
0 otherwise
(1)
And take the constitutive equation qd + D∇T = 0. After
1 multiplication with (1)
2 integration over the whole domain Ω
3 application of the divergence theorem
we have∫
V
D−1qd dx+
∫
∂V
T−n ds = 0 (2)
where T− denotes the trace on ∂V of the restriction of the function T tothe control volume V .
24 / 22
Weak formulation: formal derivation I
Consider the volume indicator function
φV (x) =
1 if x ∈ V
0 otherwise
(1)
And take the constitutive equation qd + D∇T = 0. After
1 multiplication with (1)
2 integration over the whole domain Ω
3 application of the divergence theorem
we have∫
V
D−1qd dx+
∫
∂V
T−n ds = 0 (2)
where T− denotes the trace on ∂V of the restriction of the function T tothe control volume V .
24 / 22
Weak formulation: formal derivation I
Consider the volume indicator function
φV (x) =
1 if x ∈ V
0 otherwise
(1)
And take the constitutive equation qd + D∇T = 0. After
1 multiplication with (1)
2 integration over the whole domain Ω
3 application of the divergence theorem
we have∫
V
D−1qd dx+
∫
∂V
T−n ds = 0 (2)
where T− denotes the trace on ∂V of the restriction of the function T tothe control volume V .
24 / 22
Weak formulation: formal derivation I
Consider the volume indicator function
φV (x) =
1 if x ∈ V
0 otherwise
(1)
And take the constitutive equation qd + D∇T = 0. After
1 multiplication with (1)
2 integration over the whole domain Ω
3 application of the divergence theorem
we have∫
V
D−1qd dx+
∫
∂V
T−n ds = 0 (2)
where T− denotes the trace on ∂V of the restriction of the function T tothe control volume V .
24 / 22
Weak formulation: formal derivation I
Consider the volume indicator function
φV (x) =
1 if x ∈ V
0 otherwise
(1)
And take the constitutive equation qd + D∇T = 0. After
1 multiplication with (1)
2 integration over the whole domain Ω
3 application of the divergence theorem
we have∫
V
D−1qd dx+
∫
∂V
T−n ds = 0 (2)
where T− denotes the trace on ∂V of the restriction of the function T tothe control volume V .
24 / 22
Weak formulation: formal derivation I
Consider the volume indicator function
φV (x) =
1 if x ∈ V
0 otherwise
(1)
And take the constitutive equation qd + D∇T = 0. After
1 multiplication with (1)
2 integration over the whole domain Ω
3 application of the divergence theorem
we have∫
V
D−1qd dx+
∫
∂V
T−n ds = 0 (2)
where T− denotes the trace on ∂V of the restriction of the function T tothe control volume V .
24 / 22
Weak formulation: formal derivation II
Regularity conditions:
T ∈ H1(
V ;R2)
→ theory of the mollifiers [Salsa, 2007].
A family of mollifiers ρǫ ∈ C∞
0 (R2), ǫ > 0 is defined as follows
ρǫ(x) =
1
ǫ2exp
−
1
1−∣
∣
∣
x
ǫ
∣
∣
∣
2
for |x | < 1
0 for |x | ≥ 1
(3)
A sequence of smooth functions Tǫ is defined using the convolution
Tǫ(x) =
∫
R2
ρǫ(x − y)E (T (y)) dy
where E (·) is a linear extension operator
E : H1 (V ) −→ H1(
R2)
25 / 22
Weak formulation: formal derivation II
Regularity conditions:
T ∈ H1(
V ;R2)
→ theory of the mollifiers [Salsa, 2007].
A family of mollifiers ρǫ ∈ C∞
0 (R2), ǫ > 0 is defined as follows
ρǫ(x) =
1
ǫ2exp
−
1
1−∣
∣
∣
x
ǫ
∣
∣
∣
2
for |x | < 1
0 for |x | ≥ 1
(3)
A sequence of smooth functions Tǫ is defined using the convolution
Tǫ(x) =
∫
R2
ρǫ(x − y)E (T (y)) dy
where E (·) is a linear extension operator
E : H1 (V ) −→ H1(
R2)
25 / 22
Weak formulation: formal derivation II
Regularity conditions:
T ∈ H1(
V ;R2)
→ theory of the mollifiers [Salsa, 2007].
A family of mollifiers ρǫ ∈ C∞
0 (R2), ǫ > 0 is defined as follows
ρǫ(x) =
1
ǫ2exp
−
1
1−∣
∣
∣
x
ǫ
∣
∣
∣
2
for |x | < 1
0 for |x | ≥ 1
(3)
A sequence of smooth functions Tǫ is defined using the convolution
Tǫ(x) =
∫
R2
ρǫ(x − y)E (T (y)) dy
where E (·) is a linear extension operator
E : H1 (V ) −→ H1(
R2)
25 / 22
Weak formulation: formal derivation II
Regularity conditions:
T ∈ H1(
V ;R2)
→ theory of the mollifiers [Salsa, 2007].
A family of mollifiers ρǫ ∈ C∞
0 (R2), ǫ > 0 is defined as follows
ρǫ(x) =
1
ǫ2exp
−
1
1−∣
∣
∣
x
ǫ
∣
∣
∣
2
for |x | < 1
0 for |x | ≥ 1
(3)
A sequence of smooth functions Tǫ is defined using the convolution
Tǫ(x) =
∫
R2
ρǫ(x − y)E (T (y)) dy
where E (·) is a linear extension operator
E : H1 (V ) −→ H1(
R2)
25 / 22
Weak formulation: formal derivation III
It can be proven that Tǫ converges to T
limǫ→0
‖T − Tǫ‖H1(V ) = 0 (4)
The second integral in the constitutive equation can be rearranged as:
∫
Ω∇T ·Φx dx =
∫
V
∂T
∂xdx = lim
ǫ→0
∫
V
∂Tǫ
∂xdx =
limǫ→0
∫
∂V
Tǫnx ds =
∫
∂V
T−nx ds
(5)
Analogously for the conservation equation. Choosing T , q ∈ H1 (V )
guarantees the existence of the integrals on the control volume V .
26 / 22
Weak formulation: formal derivation III
It can be proven that Tǫ converges to T
limǫ→0
‖T − Tǫ‖H1(V ) = 0 (4)
The second integral in the constitutive equation can be rearranged as:
∫
Ω∇T ·Φx dx =
∫
V
∂T
∂xdx = lim
ǫ→0
∫
V
∂Tǫ
∂xdx =
limǫ→0
∫
∂V
Tǫnx ds =
∫
∂V
T−nx ds
(5)
Analogously for the conservation equation. Choosing T , q ∈ H1 (V )
guarantees the existence of the integrals on the control volume V .
26 / 22
Weak formulation: formal derivation III
It can be proven that Tǫ converges to T
limǫ→0
‖T − Tǫ‖H1(V ) = 0 (4)
The second integral in the constitutive equation can be rearranged as:
∫
Ω∇T ·Φx dx =
∫
V
∂T
∂xdx = lim
ǫ→0
∫
V
∂Tǫ
∂xdx =
limǫ→0
∫
∂V
Tǫnx ds =
∫
∂V
T−nx ds
(5)
Analogously for the conservation equation. Choosing T , q ∈ H1 (V )
guarantees the existence of the integrals on the control volume V .
26 / 22
Weak formulation: formal derivation III
It can be proven that Tǫ converges to T
limǫ→0
‖T − Tǫ‖H1(V ) = 0 (4)
The second integral in the constitutive equation can be rearranged as:
∫
Ω∇T ·Φx dx =
∫
V
∂T
∂xdx = lim
ǫ→0
∫
V
∂Tǫ
∂xdx =
limǫ→0
∫
∂V
Tǫnx ds =
∫
∂V
T−nx ds
(5)
Analogously for the conservation equation. Choosing T , q ∈ H1 (V )
guarantees the existence of the integrals on the control volume V .
26 / 22
Weak formulation: formal derivation III
It can be proven that Tǫ converges to T
limǫ→0
‖T − Tǫ‖H1(V ) = 0 (4)
The second integral in the constitutive equation can be rearranged as:
∫
Ω∇T ·Φx dx =
∫
V
∂T
∂xdx = lim
ǫ→0
∫
V
∂Tǫ
∂xdx =
limǫ→0
∫
∂V
Tǫnx ds =
∫
∂V
T−nx ds
(5)
Analogously for the conservation equation. Choosing T , q ∈ H1 (V )
guarantees the existence of the integrals on the control volume V .
26 / 22
Weak formulation: formal derivation III
It can be proven that Tǫ converges to T
limǫ→0
‖T − Tǫ‖H1(V ) = 0 (4)
The second integral in the constitutive equation can be rearranged as:
∫
Ω∇T ·Φx dx =
∫
V
∂T
∂xdx = lim
ǫ→0
∫
V
∂Tǫ
∂xdx =
limǫ→0
∫
∂V
Tǫnx ds =
∫
∂V
T−nx ds
(5)
Analogously for the conservation equation. Choosing T , q ∈ H1 (V )
guarantees the existence of the integrals on the control volume V .
26 / 22
Weak formulation: formal derivation III
It can be proven that Tǫ converges to T
limǫ→0
‖T − Tǫ‖H1(V ) = 0 (4)
The second integral in the constitutive equation can be rearranged as:
∫
Ω∇T ·Φx dx =
∫
V
∂T
∂xdx = lim
ǫ→0
∫
V
∂Tǫ
∂xdx =
limǫ→0
∫
∂V
Tǫnx ds =
∫
∂V
T−nx ds
(5)
Analogously for the conservation equation. Choosing T , q ∈ H1 (V )
guarantees the existence of the integrals on the control volume V .
26 / 22