A Krylov Space-Based Finite Element Time Domain Method for Broadband Frequency Domain Solutions
Weiyang Lin
Independent Researcher, Huntsville, AL, USA.
DOI: 10.4236/oja.2017.74009   PDF    HTML   XML   805 Downloads   1,632 Views  

Abstract

A Krylov space based time domain method for wave propagation problems is introduced. The proposed method uses the Arnoldi algorithm to obtain broad-band frequency domain solutions. This method is especially advantageous in cases where slow convergence is observed when using traditional time domain methods. The efficiency of the method is examined in several test cases to show its fast convergence in such problems.

Share and Cite:

Lin, W. (2017) A Krylov Space-Based Finite Element Time Domain Method for Broadband Frequency Domain Solutions. Open Journal of Acoustics, 7, 95-104. doi: 10.4236/oja.2017.74009.

1. Introduction

Wave equations can be generally solved using two categories of methods: time-domain and frequency-domain methods. Finite-difference time-domain (FDTD) methods have been widely adopted for solving different kinds of wave propagation problems. In these methods, the field is discretized into a series of uniform hexahedral volumes. The spatial derivatives are approximated with second-order central differences and the leapfrog method is used for temporal discretization [1] . The interests in the time domain methods have been expanded over the past few decades for several reasons, such as the natural treatments of impulsive behaviors, nonlinear behaviors, and so on.

The solution to linear wave equations can be approximated by linear combinations of sinusoidal waves at various frequencies, which leads to a frequency-domain formulation for different time-harmonic sources. The time-domain solution is of interest in this research for its capability of obtaining frequency domain solutions across a frequency range. Besides, in the time domain, the residual of the linear system is reduced several orders of magnitude, and requires much less search direction in a Krylov subspace [2] .

The time domain methods, however, have been found to suffer from convergence problems for physical models that include locally resonant structures. Such structures may be the result of large material mismatches, or complex geometries. The convergence problems have also been a concern in structural optimizations such as the designs of metamaterials [3] [4] , where the geometry constantly changes during the design iterations and is not predictable.

The purpose of this paper is to introduce a Krylov space based time domain approach for frequency domain solutions. The proposed algorithm is suitable for physical models where slow convergence is found with traditional time domain methods. Related research can be found in [5] [6] [7] , and so on. Different from existing work, the proposed algorithm is derived directly from discrete Fourier transform of time domain data, by which the corresponding frequency domain solutions of a wide range can be obtained with negligible computational costs once the projection of the time domain solution onto the Krylov subspace is obtained. No matrix operation with complex numbers is required in the algorithm. Several numerical cases are examined to demonstrate the efficiency of the method, in which cases the spatial discretization is done with finite element methods.

2. Numerical Model

Wave propagations can be modeled by first order partial differential equations (PDEs) in general, which may be written as

Q t + F ( Q ) = 0 . (1)

In acoustics, the wave equations can be written in a non-conservative form, known as the linearized Euler equations

p t + K e u = 0 , (2)

u t + 1 ρ e p = 0 , (3)

where p is the acoustic pressure, u is the velocity vector, Ke is the bulk modulus of compressibility of the material, and ρe is the density.

The wave propagation problems in this paper are modeled using a stabilized finite element formulation: Streamlined Upwind/Petrov Galerkin (SUPG) method [8] for time-domain applications. As the speed of computing resources increases and as the geometry conformity becomes more of a concern, finite element methods have become an alternative to the FDTD methods. There are mainly two different strategies in dealing with the convective terms in the hyperbolic equations, and it has been shown that SUPG has the advantage of using a reduced number of unknowns in comparison with the discontinuous Galerkin (DG) method.

Finite element methods typically start with formulating the equations using a weighted residual method, which can be cast in the form of

Ω [ ϕ ] ( Q t + F ) Ω = 0 , (4)

where ϕ is a weighting function. The temporal discretization of the governing equation is advanced by implementing a backward differentiation formula (BDF), and the fully discretized equation is solved with an implicit time marching approach (Newton’s method) so that the time-step size can be determined by accuracy considerations instead of stability limitations as in explicit methods.

3. A Broadband Frequency Domain Method Based on Krylov Space Projections of Time Domain Solutions

While the time domain formulation can be used to obtain the frequency domain solution across a frequency range, the convergence of the frequency domain solution is not always as rapid as expected. Especially in physical problems where locally resonant structures exist, the solution procedure can easily take numerous time-marching steps before the errors are reduced to a tolerance.

To circumvent the problem of slow convergence in certain situations, the time domain method is reformulated with a Krylov space projection. Consider the fully discretized equations with BDF-1 scheme, the residual at time step j (t = jΔt) can be written as

R j = Ω [ ϕ ] ( Q j Q j 1 Δ t + F ( Q j ) ) Ω . (5)

Since the equations are linear, the residual can be expressed as

R j = [ A ˜ ] Q j + [ B ˜ ] Q j 1 , (6)

where

[ A ˜ ] = R j Q j (7)

and

[ B ˜ ] = R j Q j 1 (8)

are the linearization matrices. Substitute this into the Newton’s step,

Q j = [ A ˜ ] [ B ˜ ] Q j 1 . (9)

Denote

[ M ] = [ A ˜ ] [ B ˜ ] (10)

and use deduction, given an initial condition Q0, for any given time j, the time dependent solution can be described as

Q j = [ M ] Q j 1 , (11)

which indicates that the time domain solution forms a Krylov basis with the iterative matrix [M], such that

K n t = [ Q 0 [ M ] 1 Q 0 [ M ] 2 Q 0 [ M ] n t 1 Q 0 ] , (12)

where nt is the number of time steps. It also indicates that, the damping of the numerical error is strongly related to the eigenvalues of the matrix [M]; the closer the eigenvalues are to 1.0, the slower the convergence would be.

Since the frequency domain solutions are of interest, the Fourier transform can be applied to the time domain solutions. At each frequency point fk, the discrete Fourier transform may be expressed as

Q ^ k = j = 1 n t Q j e ι α k t Δ t , (13)

where ι2 = −1 and

α k = 2 π f k . (14)

Denote

ψ k j = e ι α k t , (15)

and substitute Equation (11) into Equation (13), the frequency domain solutions may now be written as

Q ^ k = j = 1 n t [ M ] j 1 Q 0 ψ k j 1 Δ t . (16)

The initial condition Q0 can be projected into the eigen-space of matrix [M]. That is, it can be expressed as

Q 0 = i = 1 n n a i v i . (17)

where nn is the number of nodes (degree of freedom), vi is the ith eigenvector of [M], and ai is the corresponding coefficient. Therefore the solution at time step j can be re-written as

Q j = i = 1 n n a i v i λ i j 1 , (18)

then the frequency domain solution becomes

Q ^ k = j = 1 n t i = 1 n n a i v i λ i j 1 ψ k j 1 . (19)

Switch the sum operators,

Q ^ k = i = 1 n n a i v i j = 1 n t λ i j 1 ψ k j 1 , (20)

and this can be expressed as

Q ^ k = i = 1 n n a i v i w i , (21)

with

w i = j = 1 n t λ i j 1 ψ k j 1 = 1 λ i n t ψ k n t 1 λ i ψ k . (22)

The set of the eigenvalues and eigenvectors can be approximated by the Arnoldi algorithm [9] . The algorithm can be summarized with the following:

Algorithm. A Krylov space-based time domain method for broadband frequency domain solutions

1) Use Q0 as the initial condition for time-domain method to get matrices [A] and [B] as in Equations (7-8).

2) Set i = 1, and set

q 1 = Q 0 Q 0 . (23)

and start the Arnoldi iteration. Store the qi vectors in the [Q] matrix, and hj,i items in the [H] matrix.

3) Calculate

u i = M q i . (24)

4) Set j = 1.

5) Calculate

h j , i = q j H u i . (25)

u i = u i h j , i q j (26)

6) If j = i, stop the inner loop; otherwise set j = j + 1 and go to step 5.

7) Calculate

h i + 1 , i = u i . (27)

8) If hi+1,i = 0, stop the Arnoldi iteration.

9) Calculate

q i + 1 = u i h i + 1 , i . (28)

10) If i = niter (the prescribed number of Arnoldi iteration), stop the Arnoldi iteration; otherwise set i = i + 1 and go to step 3.

11) Calculate the eigenvalues [Λ] and eigenvectors [VH] of the Hessenberg matrix [H] obtained by the Arnoldi iteration, and the eigenvectors [V] of the [M] matrix is given by

[ V ] = [ Q ] 1 [ V H ] (29)

12) Calculate the coefficients ai by Equation (17).

13) Calculate the weight coefficients wi by Equation (22).

14) Calculate the frequency domain solutions by Equation (21).

Since in some cases the time domain solution procedure starts by introducing an excitation such as a Gaussian pulse, an intermediate state Q0 after the excitation is completed, will be needed in order to proceed with the algorithm. In this case, one needs to calculate the frequency domain solutions before the intermediate state by Equation (13) and add it to the primitive frequency domain solution.

For physical problems which require a lot of iterations before the frequency domain solutions reach convergence, this algorithm is recommended. In fact, the eigenvalues in these problems are found to be close to 1.0, which can be effectively approximated by the Arnoldi algorithm since these eigenvalues are typically extremes in the eigensystems. The advantage of using this algorithm is that, the number of time steps nt can be chosen to be an arbitrary number, so that the number of iterations is reduced from nt to niter as is needed for the Arnoldi iteration.

4. Numerical Examples

An acoustic wave propagation case with artificial material properties is designed to examine the efficiency of the proposed algorithm. The geometry is shown in Figure 1, where the background material (material 1) is shown in gray color, and the inclusion (material 2) is shown in black color. This geometry is a simple locally resonant structure. The unit cell is a square with edge length a = 1 cm. The frequency range of interest is from 0.5 kHz to 3 kHz as reported in a design of acoustic metamaterials [4] . Three cases with different material properties are considered, and the relative material properties of the inclusion are shown in Table 1.

Figure 1. The geometry of the acoustic wave propagation case.

Table 1. The relative material properties of the inclusion.

a. Ke is the bulk modulus of compressibility of the material, and ρe is the density. b. The superscripts represent the acoustic materials 1 (background) and 2 (inclusion).

The simulation is configured as initiating a Gaussian pulse in the left end, and sensors are used to collect information for use in the frequency domain solutions. In addition, periodic boundary conditions are applied to the upper and lower parts of the domain, and absorbing boundary conditions [10] are applied to the left and right ends.

The frequency domain solutions for a sensor located in the center of the computational domain are used as the reference. Since the convergence of the solutions is of primary concern, only the frequency domain solutions after the completion of the Gaussian pulse are considered. It is shown in Figure 2 that the time domain solutions for cases 1 and 2 take a long time before settling down. It is thus to be expected that the convergences of the frequency solution will be slow, and the errors to the converged numerical solutions are plotted in Figure 3. In practice, the numbers of time steps required for cases 1 and 2 to reach the error level of 10−10 are 441,769 and 26,280, respectively. In comparison, in both cases the solutions converge to the level of 10−10 within 100 Arnoldi iterations with the proposed time domain-based broadband frequency domain algorithm, as shown in Figure 4. However, it is also noted that the solution may diverge due to the fact that the eigenvalues approximated by the Arnoldi algorithm can be bigger than 1, and their exponentials may be exceedingly large. It is thus necessary to monitor the approximated eigenvalues in some cases to ensure their values are all below 1, and if one or more of them are larger than 1, more Arnoldi iterations need to be taken.

It is seen from Figure 5 that in cases 1 and 2 the frequency domain solutions have peaks at their resonant frequencies, which indicate the long-term vibrations of the acoustic wave within the structure. In case 3, the solutions converge

Figure 2. The time domain solutions at a sensor located in the center of the geometry.

Figure 3. The convergence of frequency domain solutions with the time-marching approach.

Figure 4. The convergence of frequency domain solutions with the Krylov space-based time domain algorithm.

promptly with time marching method, and the resonant frequency is not obvious, due to the fact that most of the vibrations are damped after the excitation is completed. In addition, the Arnoldi iteration is also able to reduce the error level for this case.

Figure 5. The Frequency domain solutions at a sensor located in the center of the geometry.

5. Conclusion

A Krylov space-based time domain method is introduced for broadband frequency domain solutions. This method is useful for dealing with physical models for which slow convergences are observed with traditional time marching methods. The efficiency of the method is examined in several test cases to show its fast convergence in such problems. An acoustic wave propagation problem is modeled with a stabilized finite element method. In the test cases, the proposed method uses less than 100 iterations before an error level is reached. This decrease is orders of magnitude less than the time-marching approach.

Acknowledgements

The author is currently an employee of Mentor, a Siemens Business. A portion of the work was performed while the author was working at the SimCenter of the University of Tennessee at Chattanooga. Supports from both sides were greatly appreciated.

Conflicts of Interest

The authors declare no conflicts of interest.

References

[1] Taflove, A. and Hagness, S.C. (2000) Computational Electrodynamics. Artech House Publishers, London.
[2] Anderson, W.K., Wang, L., Kapadia, S., Tanis, C. and Hilbert, B. (2011) Petrov-Galerkin and Discontinuous-Galerkin Methods for Time-Domain and Frequency-Domain Electromagnetic Simulations. Journal of Computational Physics, 230, 8360-8385.
https://doi.org/10.1016/j.jcp.2011.06.025
[3] Lin, W. (2016) Design Optimization of Acoustic Metamaterials and Phononic Crystals with a Time Domain Method. PhD Dissertation, University of Tennessee at Chattanooga, Chattanooga, TN.
[4] Lin, W., Newman, J.C., Anderson, W.K. and Zhang, X. (2017) Topology and Shape Optimization of Broadband Acoustic Metamaterials and Phononic Crystals. Acoustical Science and Technology, 38, 254-260.
https://doi.org/10.1250/ast.38.254
[5] Druskin, V. and Knizhnerman, L. (1994) Spectral Approach to Solving Three-Dimensional Maxwell’s Diffusion Equations in the Time and Frequency Domains. Radio Science, 29, 937-953.
https://doi.org/10.1029/94RS00747
[6] Botchev, M.A. (2016) Krylov Subspace Exponential Time Domain Solution of Maxwell’s Equations in Photonic Crystal Modeling. Journal of Computational and Applied Mathematics, 293, 20-34.
https://doi.org/10.1016/j.cam.2015.04.022
[7] Grimm, V. and Hochbruck, M. (2006) Error Analysis of Exponential Integrators for Oscillatory Second-Order Differential Equations. Journal of Physics A: Mathematical and General, 39, 5495.
https://doi.org/10.1088/0305-4470/39/19/S10
[8] Brooks, A.N. and Hughes, T.J. (1982) Streamline Upwind/Petrov-Galerkin Formulations for Convection Dominated Flows with Particular Emphasis on the Incompressible Navier-Stokes Equations. Computer Methods in Applied Mechanics and Engineering, 32, 199-259.
https://doi.org/10.1016/0045-7825(82)90071-8
[9] Arnoldi, W.E. (1951) The Principle of Minimized Iterations in the Solution of the Matrix Eigenvalue Problem. Quarterly of Applied Mathematics, 9, 17-29.
https://doi.org/10.1090/qam/42792
[10] Mur, G. (1981) Absorbing Boundary Conditions for the Finite-Difference Approximation of the Time-Domain Electromagnetic-Field Equations. IEEE Transactions on Electromagnetic Compatibility, EMC-23, 377-382.
https://doi.org/10.1109/TEMC.1981.303970

Copyright © 2024 by authors and Scientific Research Publishing Inc.

Creative Commons License

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.