Exact domain truncation for the Morse-Ingard equations111This work was supported by NSF SHF-1909176 and SHF-1911019.
Abstract
Morse and Ingard [1] give a coupled system of time-harmonic equations for the temperature and pressure of an excited gas. These equations form a critical aspect of modeling trace gas sensors. Like other wave propagation problems, the computational problem must be closed with suitable far-field boundary conditions. Working in a scattered-field formulation, we adapt a nonlocal boundary condition proposed in [2] for the Helmholtz equation to this coupled system. This boundary condition uses a Green’s formula for the true solution on the boundary, giving rise to a nonlocal perturbation of standard transmission boundary conditions. However, the boundary condition is exact and so Galerkin discretization of the resulting problem converges to the restriction of the exact solution to the computational domain. Numerical results demonstrate that accuracy can be obtained on relatively coarse meshes on small computational domains, and the resulting algebraic systems may be solved by GMRES using the local part of the operator as an effective preconditioner.
keywords:
Far field boundary conditions , Finite element , Multiphysics , Thermoacoustics , MSC[2010] 65N30 , 65F081 Introduction
Laser absorption spectroscopy is used for detecting trace amounts of gases in diverse application areas such as air quality monitoring, disease diagnosis, and manufacturing [3, 4, 5]. In photoacoustic spectroscopy, a laser is fired between the tines of a small quartz tuning fork, and in the presence of a particular gas, acoustic and thermal waves are generated. These waves, in turn, interact with the tuning fork to generate an electric signal via pyroelectric and piezoelectric effects. Two variants of these sensors are the so-called QEPAS (quartz-enhanced photoacoustic spectroscopy) and ROTADE (resonant optothermoacoustic detection) models [6, 7]. In QEPAS, the acoustic wave dominates the signal, while the thermal wave is more important in ROTADE. In many experimental configurations, both effects appear. While a full model of the sensor is an eventual goal, obtaining efficient and accurate models of the gas itself is a critical step.
Earlier work on modeling this problem [8, 9, 10] simplified the model to a single PDE that included an empirically-determined damping term to account for otherwise-neglected processes. This approach is only accurate in particular regimes, and the empirical corrections depend strongly on geometry as well as physical parameters, which limits the model’s utility in an optimal design context.
Hence, work began on coupled models including both thermal and acoustic effects. A finite element discretization of the coupled pressure-temperature system of Morse and Ingard [1] was first addressed in [11], where the difficulty of solving the linear system was noted. Kirby and Brennan gave a more rigorous treatment in [12], with analysis of the finite element error and preconditioner performance. Kaderli et al derived an analytical solution for the coupled system in idealized geometry in [13]. Their technique involves reformulating the system studied in [12] by an algebraic simplification that eliminates the temperature Laplacian from the pressure equation. In [14], this reformulation was seen to lose coercivity but still retain a Gårding-type inequality, leading to optimal-order finite element convergence theory and preconditioners. Work by Safin et al [15] began a more robust multi-physics study, coupling the Morse-Ingard equations for atmospheric pressure and temperature to heat conduction of the quartz tuning fork, although vibrational effects were still not considered. They also applied a perfectly-matched layer (PML) [16] to truncate the computational domain, and a Schwarz-type preconditioner that separates out the PML region was used to effectively reduce the cost of solving the linear system. They also include some favorable comparisons between the computational model and experimental data.
Previous numerical analysis of this problem in the cited literature has focused on volumetric discretizations based on finite elements. In [17], we derived a boundary integral formulation for a scattered-field form of the Morse-Ingard equations. As with other wave problems, this problem writes the solution as the sum of a Morse-Ingard solution that satisfies the forcing (evaluated by means of a fast volumetric convolution with a Green’s function) plus a field that satisfies Morse-Ingard with no volumetric forcing but Neumann data on the tuning fork such that the sum satisfies homogeneous boundary conditions. We then formulated a second-kind integral equation for the scattered field and approximated it with a boundary integral method. In this work we return to finite element discretization, but we make use of the results we obtained considering the integral form of the equations to make significant advances in imposing a far-field condition.
In [2], we developed a novel nonlocal boundary condition for truncating the domain of Helmholtz scattering problems. This condition, which uses Green’s representation of the solution on the artificial boundary to give a nonlocal Robin-type condition involving layer potentials, is exact – the solution of resulting BVP agrees exactly with the restriction of the solution of the original problem to the computational domain. The variational form of the problem inherits a Gårding-type inequality from the Helmholtz operator so that a Galerkin finite element method yields optimal asymptotic convergence rates. Moreover, empirical results suggest that the standard local operator with transmission boundary conditions serves as an excellent preconditioner. Hence, one only needs to apply the action of the resulting nonlocal operator, say, by a fast multipole method, in order to obtain fast GMRES convergence.
In this paper, extend this approach from the Helmholtz operator to the Morse-Ingard system, making using of several results developed in our boundary-integral formulation in [17]. In Section 2, we recall the Morse-Ingard equations. Then, Section 3 addresses far-field boundary conditions for the system and appropriate boundary conditions for domain truncation. By means of the transformation to a decoupled Helmholtz system, we are able to state an analogous far-field condition and associated transmission-type condition for the Morse-Ingard system. This allows a comparison to the ad hoc transmission boundary conditions used in [12, 14]. Moreover, we can derive an exact analog of the nonlocal Helmholtz boundary condition for Morse-Ingard. Although one may directly solve the decoupled Helmholtz equations rather than the coupled form of Morse-Ingard, formulating boundary conditions and directly simulating the coupled system serves several purposes. First, the pointwise transformation, thought it only involves a matrix, is quite ill-conditioned and seems to limit the accuracy we obtain on fine meshes for the decoupled form compared to the coupled system. Second, a more complete model of trace gas sensors [18] involves coupling Morse-Ingard to the tuning fork vibration, which in turn requires modeling the fluid flow. Domain truncation will still be required, but coupling of pressure and temperature to the fluid and tuning fork may limit the utility of the decoupled system. Additionally, as noted in [17], solving for the acoustic mode while neglecting the thermal mode turns out to be an effective approximation. After developing the boundary conditions in Section 3, we derive a finite element formulation for the Morse-Ingard system in Section 4. We discuss the structure of the linear system and approaches to preconditioning in Section 5 and we then provide some numerical in Section 6 before offering some final conclusions in Section 7.
2 The Morse-Ingard equations
The Morse-Ingard equations of thermoacoustics are a system of partial differential equations for the temperature and pressure of an excited gas. The model begins from a time-domain formulation. After assuming time-periodic forcing and performing nondimensionalization and some algebraic manipulations, we arrive at the form given in [13] and further analyzed in [14]:
(1) |
Here, and are the non-dimensional temperature and pressure, respectively, within the gas. is a volumetric forcing function, modeling for example a laser pulse. is the ratio of specific heat of the gas at constant pressure to that at constant volume. The dimensionless number measures the ratio of the product of the characteristic thermal conduction scale and forcing frequency to sound speed, and does similarly for the viscous length scale. Typical values of parameters
(2) |
We let (with ) be a bounded domain representing the tuning fork, and let its boundary be called . The complement of will be the domain on which we pose (1). On , we impose homogeneous Neumann boundary conditions,
(3) |
which posits that the tuning fork is thermally insulated from the gas, and that the tuning fork is sound-hard. More advanced models, in which the gas heats the tuning fork or the acoustic waves couple to tuning fork deformation, generalize this condition [15].
A suitable far-field condition is required to close the model, which requires some appropriate decay at infinity akin to the Sommerfeld radiation condition for the Helmholtz operator. Numerical methods based on volumetric discretization on a truncated domain have posed either some kind of transmission-type condition [12, 14] or perfectly-matched layers [15].
In [17], we gave a boundary integral method for Morse-Ingard based on a scattered-field formulation, which turns the volumetric inhomogeneity into an inhomogeneous Neumann condition on . We discuss this in greater detail in Section 3.2. To arrive at the scattered-field formulation, we split the solution into incoming and scattered waves via
(4) |
where and satisfy (1) with the given forcing function but have some inhomogeneous boundary conditions on . Then, and are chosen to satisfy (1) with homogeneous forcing and such that the combined waves satisfy (3). The incoming waves and can be constructed by volumetric convolution of with a free-space Green’s function. With these in hand, their normal derivatives on can be computed, and the negative of these used as boundary conditions for and . Consequently, we drop the superscripts ‘s’ for the scattered field and, for the rest of the paper, consider the system of PDE
(5) |
together with boundary conditions
(6) |
on together with an appropriate far field condition. Although we obtained satisfactory results with a boundary integral method in [17], we work with volumetric (finite element) discretizations here to chart a path towards modeling of additional volumetric physical phenomena without additional computational machinery in future work. Consequently, in this paper we are primarily interested in developing an analog of the nonlocal boundary condition developed in [2] for the Morse-Ingard system. To this end, we introduce a truncating boundary and define a domain to be that contained between and , as shown in Figure 1.
In [17], we demonstrated that the Morse-Ingard system (1) could be decoupled into a pair of independent Helmholtz equations. After significant algebraic manipulations, we introduce modified material coefficients
(7) |
as well as separate thermal and acoustic wave numbers
(8) |
With the change of variables
(9) |
the Morse-Ingard system (1) decouples into separate Helmholtz equations
(10) |
where and are data-dependent constants. For parameter regimes of interest, has a large imaginary part, so that rapidly attenuates. On the other hand, has a very small imaginary part so that attenuates slowly. Typical values of these new parameters based on those from given above are
(11) |
The same change of variables decouples the scattered-field formulation (5). In this case, we have that
(12) |
and, by linearity, we take the normal derivative of (9) on to find boundary conditions
(13) |
So, with and given a priori, the scattered field formulation of Morse-Ingard can be solved as a pair of decoupled Helmholtz scattering problems.
3 Far field boundary conditions
3.1 Boundary conditions for the Helmholtz problem
We can state far-field boundary conditions for Morse-Ingard and formulate appropriate radiation boundary conditions on by transforming such conditions for each of the decoupled Helmholtz equations in (12). So, we begin with the equation
(14) |
posed on , together with Neuman boundary condition
(15) |
on the scattering boundary . The relevant boundary condition at infinity is the well-known Sommerfeld radiation condition [19, 20], which requires that
(16) |
A simple approximate boundary condition arises from imposing Sommerfeld at finite radius, i.e.
(17) |
on the exterior boundary . This is sometimes called the transmission boundary condition. If the exterior boundary is at some radius away from the origin, this creates an perturbation of apart from any numerical discretization error, although one may mitigate the computational cost of increasing by simultaneously increasing the mesh spacing toward the outer boundary [21].
An alternative approach is the technique of perfectly matched layers [16, 22], in which one modifies the PDE near the boundary in a so-called sponge region. The modified coefficients effectively absorb outgoing waves and allow small computational domains, but the resulting algebraic equations do not yield to efficient techniques such as multigrid. One can use a Schwarz-type method to separately handle the sponge region with a direct solver and the rest of the domain with multigrid or another fast solver [15], although the known method has sub-optimal complexity in three dimensions.
Many nonlocal approaches to domain truncation have also been given. Most classically, the Dirichlet-to-Neumann map (DtN) or Stekhlov-Poincaré operator can be used on the artificial boundary. By mapping between types of boundary data, DtN operators require, in principle, the solution of a boundary value problem. In practice, this is often realized by restricting the truncation boundary to (mappings of) a simple geometry in which separation of variables can be performed and then making use of a truncated Fourier series. In [2], we give a new approach to nonlocal boundary conditions that requires only the evaluation of non-singular layer potentials, i.e. a surface convolution with the Helmholtz free-space Green’s function or its derivatives. A fast algorithm such as the Fast Multipole Method is useful to avoid quadratic complexity. In its continuous (i.e. not yet discretized) form, this boundary condition is exact, and discretization with any order of accuracy is straightforward. In Subsection 3.3, we recall the formulation of this condition for the Helmholtz operator and develop it for the Morse-Ingard system.
3.2 Far-field conditions for Morse-Ingard
Each of the decoupled Helmholtz equations in (12) must satisfy the Sommerfeld condition, so that
(18) |
In terms of the variables and , the Morse-Ingard solution must satisfy
(19) |
Because of the large imaginary part of the thermal mode attenuates very quickly, so some simple boundary condition could be suitable for . The acoustic mode, on the other hand, has only a very small imaginary part and so outgoing waves attenuate very slowly. Since depends on both and , however, artificial boundary conditions must act on both of these variables.
We may find an analog to the transmission boundary condition (17) by imposing those conditions on each of the decoupled equations, so that we require
(20) |
In terms of and , we have
(21) |
With some elementary but involved algebraic manipulation, we have
(22) |
This boundary condition is of course only an approximation of the actually desired far-field condition, in the same sense in which (17) approximates (16), i.e. it becomes exact as moves outward, analogous to the analysis in [21] for Helmholtz.
On the other hand, in prior work [12, 14], we had not yet developed the appropriate Sommerfeld condition for Morse-Ingard and used the ad hoc boundary conditions
(23) |
This condition assumes that no heat is transported from the computational domain and an approximate version of (17) is applied only to the pressure component. Clearly, this boundary condition is quite different from (22). In particular, the outgoing wave for carries both pressure and temperature with it, thus avoiding reliance on the decay of for accurate imposition of the boundary condition.
Define
and
Then, boundary conditions (22) and (23) can be written in the form
(24) |
where for (22) we have
(25) |
and for (23),
(26) |
Before proceeding, we offer a brief remark on perfectly matched layers for the Morse-Ingard equations. In [15, 18], it was found that PML must be applied to both the temperature and pressure in order to achieve accurate domain truncation. Our discussion of transmission boundary conditions shines further light on this observation. The acoustic mode involves a linear combination of both temperature and pressure, and hence both variables must be damped at the computational boundary in order to avoid spurious reflections.
3.3 Nonlocal boundary conditions
Now, we formulate a nonlocal boundary condition based on a Green’s integral representation of the solution. As mentioned, this provides an (in principle) exact boundary condition without the geometric limitations of DtN techniques. We introduced this technique for the Helmholtz operator in [2] and now apply it to Morse-Ingard.
For the Helmholtz problem, we let be the free-space Green’s function, which is given by
(27) |
Here, is the first-kind Hankel function of order 0. We recall Green’s representation theorem [19, Thm. 2.5] for the Helmholtz equation:
(28) |
where and refer to the double- and single-layer potentials associated with wave number , respectively. These are
(29) | ||||
(30) |
In anticipation of applying our technique to the decoupled Helmholtz form of Morse-Ingard (10), we include the wave number and use distinct layer potentials with .
Using the scattering boundary condition (15) on , this becomes (omitting the spatial argument)
(31) |
This representation is valid away from the scattering boundary , and in particular, on . Hence, we can take its normal derivative, so that on
(32) |
In [2], we subtracted from each side of (31) and rearranged to arrive at a nonlocal Robin-type boundary condition
(33) |
More generally, we can subtract some times from each side of (31) to write the condition
(34) |
Now, we can apply this boundary condition, in either the form (32) or (33) to the decoupled Helmholtz system and back-convert to obtain appropriate nonlocal boundary conditions for Morse-Ingard. As in deriving the local transmission condition, we start with the decoupled form and see what is implied in the coupled form. We let be a pair of complex numbers. Then, we apply the boundary condition (34) to each equation of (10) on , so that we have
(35) |
Now, we substitute in for and via (9), but not in the layer potentials:
(36) |
where
(37) |
and and a similar definition for .
4 Variational formulation
In this section, we give a finite element formulation of the Morse-Ingard equations (5) under various boundary conditions. First, we establish some notation. We let denote the standard space of complex-valued functions with moduli square-integrable over and the subspace consisting of functions with weak derivatives up to and including order also lying in . For any Banach space , we let denote its norm, with the subscript typically omitted when .
The space is equipped with the standard inner product
(39) |
and we also define the inner product over a portion of the boundary by
(40) |
We partition into a family of conforming, quasi-uniform triangulations [23] . Let be the standard space of continuous piecewise polynomials of some degree over . Since we are dealing with a system of two PDE, we define .
We multiply the equations of (5) by the conjugate of the test functions , respectively and integrate by parts over . We let and . Applying the Neumann boundary conditions (6) on but not taking action yet on , we have
(41) |
We add these equations together and define as consisting of the volumetric terms:
(42) |
and involving those boundary terms on the right-hand side:
(43) |
Then, we can write (41) as
(44) |
At this point, we can close the system by selecting any of the boundary conditions discussed in Section 3 and substituting in the relevant expressions for and . Following the general form of the local boundary condition (24), we define by
(45) |
with
for the respective chosen, cf. (25) and (26). This leads to the variational problem of finding such that
(46) |
for all .
We now consider variational problems corresponding to the exact, but nonlocal, boundary conditions. Recall that these boundary conditions are parametrized over the choice of . Using boundary condition (38) in (41) motivates defining the bilinear form
(47) |
and linear form
(48) |
Then, we pose the variational problem of finding such that
(49) |
for all . In fact, for any choice of , is the solution to (5) with scattering boundary conditions (6) and the Sommerfeld-type far field condition (19).
A standard Galerkin discretization of this problem is obtained by restricting the test function to , seeking such that
(50) |
for all .
Analyzing this discretization follows along the lines proposed in [2] for the scalar Helmholtz problem – one establishes a Gårding inequality for the variational form, by which existing theory [23] for Galerkin methods for elliptic operators provides solvability and optimal and and error estimates, subject to a sufficiently fine mesh. We have proven a Gårding-type inequality for the local form of Morse-Ingard in [14], and the same techniques used to handle the nonlocal terms for Helmholtz in [2] can be used for Morse-Ingard. Consequently,
Theorem 4.1.
There exists some such that for , the variational problem (50) has a unique solution , and this solution satisfies the best approximation result
(51) |
and error estimate
(52) |
where the constants in the two inequalities differ from each other but are independent of .
5 Linear algebra
A major feature of our nonlocal boundary condition is the opportunity for efficient solvers. For the Helmholtz problem in [2], we demonstrated empirically that preconditioning the entire operator with the local part led to very low GMRES iteration counts. This, of course, means the cost of inverting the local part of the operator drives the overall cost. It is well known that high wave numbers lead to notorious difficulty for iterative methods [24]. Fortunately, this is not the case for the parameter regime of interest for Morse-Ingard. In decoupled form (10), the thermal mode has a large imaginary part to complement the large real part, while the thermal mode has wave number approximately 1. Standard multigrid algorithms handle both of these situations effectively [25], so solving the problem in decoupled form proceeds along lines given in [2], followed by forming and from and .
For the fully coupled system, we introduce a basis , and then we can write (50) as a linear system
(53) |
where
(54) |
and then .
Following the partition of given in (47), we can write , where
(55) |
corresponding to the local and nonlocal parts of the bilinear form.
We can effectively solve the linear using preconditioned GMRES [26], which is a parameter-free algorithm approximating the solution of a linear system as the element of the Krylov subspace minimizing the equation residual. Building the subspace does not require access to entries of , just the action of on vectors. Unlike conjugate gradients, GMRES is not restricted to operators that are symmetric and positive definite.
For most problems arising in the discretization of PDE, GMRES is most frequently used in conjunction with a preconditioner. Mathematically, we multiply the linear system through by some matrix :
(56) |
and so the Krylov space then is .
The overall performance of GMRES typically depends on two factors – the cost of building and applying the operators and , and the total number of iterations. One hopes to obtain a per-application cost that scales linearly (or log-linearly) with respect to the number of unknowns in the linear system, and a total number of GMRES iterations that is bounded independently of the number of unknowns. We think of being an approximation to the inverse of some matrix that approximates . As with the Helmholtz problem in [2], we will take , the local part of the operator. Then, applying might correspond to applying the inverse of by a sparse direct method, an application of some block preconditioner such as that analyzed in [14], or some other strategy.
As a partial justification of our choice of preconditioning matrix, when so that the inverse is applied exactly, we arrive at a preconditioned matrix of the form
(57) |
Because discretizes a compact operator (layer potential in weak form) and, moreover, discretizes the inverse of an elliptic operator, the preconditioned matrix has the form of a (discretization of) a compact perturbation of the identity. We suggested obtaining such a form via preconditioning as a heuristic in [27]. Moret [28] gives rigorous GMRES convergence estimates for this situation once one establishes certain bounds on the operators. In practice, one might not apply the inverse of exactly. Supposing it is spectrally equivalent, one still obtains a compact perturbation of a bounded operator. Recently, Blechta [29] has extended Moret’s results to describe GMRES convergence for this setting as well.
6 Numerical results
In this section, we apply our various formulations of the Morse-Ingard equations. All of our numerical experiments are conducted using Firedrake [30]. We generate meshes with Gmsh [31], using its internal interface to OpenCascade for constructive solid geometry. Our Firedrake experiments make use of the recently-developed ExternalOperator capability, which is a foreign function interface allowing users to incorporate operators implemented by other packages into UFL expressions [32]. This technology will be documented elsewhere.
We use this to enable Firedrake to express layer potentials and evaluate them using the Pytential package. Pytential [33] is an open-source, MIT licensed software system for evaluating layer potentials from source geometry represented by unstructured meshes with high accuracy and near-optimal complexity. Pytential provides for the discretization of a source surface using tools for high-order accurate nonsingular quadrature [34, 35], its refinement according to accuracy requirements [36], and, finally, the evaluation of integral operators via quadrature by expansion (QBX) [37] and the associated GIGAQBX fast algorithm [38], with rigorous accuracy guarantees in two and three dimensions [39]. This fast algorithm, can, in turn make use of FMMLIB [40, 41] for the evaluation of translation operators in the moderate-frequency regime for the Helmholtz operator. In our two-dimensional experiments, we use an FMM order of 15, which provides sufficient accuracy for the accuracy of layer potential evaluation to not limit the overall accuracy obtained. While the integrals in our variational problem do not require the singular integral technology provided in QBX, it does provide robustness in the case of and are chosen to lie close together.
Our simulations are performed on a Debian Linux machine using dual Broadwell-EP 12-core processors running at 2.20GHz. The machine has 256GB of 2133GHz DDR4 RAM. In these simulations, Firedrake and PETSc were using a single core, Pytential evaluates the layer potentials in multicore mode through the PoCL implementation of OpenCL.
Accuracy of the decoupled formulation
First, we demonstrate the relative accuracy obtainable through the coupled and decoupled forms of the Morse-Ingard equations. In these cases, we consider a simple square domain with a circle of radius 2/3 removed from the center. We selected Neumann boundary data on as and being the normal derivatives of the temperature and pressure Green’s functions centered at the origin. We plot the real and imaginary parts of these Green’s functions in Figure 2. For comparison, we also plot the equivalent thermal and acoustic modes and in Figure 3. These are the solutions to the pair of decoupled Helmholtz equations (12).








For this experiment, we consider a mesh of quadratic triangles and discretize the Morse-Ingard equations in decoupled form (12) using quadratic Lagrange elements for both and . After solving the decoupled equations, we compute the equivalent and . We plot the relative error in the resulting solution in Figure (4)
If we repeat the experiment with cubic approximation to and , we see similar results, with the maximal accuracy of about reached on an even coarser mesh. Similary, we can use linear discretizations and observe second order convergence until this threshold is reached on much finer meshes. This suggests an intrinsic limit to accuracy obtainable in the decoupled form, resulting either from the conditioning of the transformation (9) or some difficulty in accurately solving for the thermal mode. For comparison, we plot the error obtained in solving the same problem in the coupled form of the equations along with the error in the decoupled form in Figure 4.
Although the barrier to accuracy in the decoupled form is disappointing, there is some compensation. For physical parameters of interest, the thermal wave attenuates extremely quickly away from the boundary. Moreover, by comparing the top row of Figure (3) to the bottom, we see that the thermal mode is roughly 4-5 orders of magnitude smaller than the acoustic mode. From this, it seems that 4-5 digits of relative accuracy could be obtained simply by solving (12) for the acoustic mode , approximating , and then constructing the pressure and temperature. This simply requires solving a wave equation with wave number essentially 1 (plus a very small imaginary part). The error in making this approximation is also shown Figure (4)
Accuracy of boundary conditions
Now, for assessing the accuracy attainable for various boundary condition formulations, we turn to a more realistic tuning fork geometry, showin in Figure 1. As a manufactured solution, we choose the free space Green’s function associated with a point source outside the computational domain. In our case, we choose the point located midway up the tuning fork base, and off of the vertical line of symmetry, as shown by the red dot in Figure 5.
We consider three different kinds of boundary conditions – the “wrong” transmission condition (23), the “right” transmission boundary condition (22), and the nonlocal boundary conditions (38). Just as for the Helmholtz problem, the local boundary conditions represent a fundamental perturbation of the boundary value problem, and the finite element solution cannot converge to the correct solution. The solutions to the problem with (23) converge to a wrong answer with about 50.9% relative error. Using (22) is only slightly less bad, as numerical converge to a solution with about 45.5% relative error. As seen in Figure 1, we have a relatively small domain enclosing the tuning fork so that the effects of reflected waves at the boundary is considerable. Following Goldstein’s technique for Helmholtz [21] one could obtain increased accuracy by increasing the domain size and increasing element size near the outer boundary , but the convergence rate he proves means the domain would need to be considerably larger to achieve a convergent method.
On the other hand, we can use the small computational domain in Figure 1 in conjunction with nonlocal boundary conditions to achieve a very accurate solution, as shown in Figure 6. We see comparable accuracy to that obtained in Figure 4. We note that on coarse meshes, solving the coupled system and the approximating the thermal mode with 0 give comparable solutions, although with finer meshes the error in this approximation becomes more apparent.
Because our method gives quite high accuracy on rather coarse meshes, with but a few thousand vertices, we have not pursued iterative methods for the local part of the Morse-Ingard operator such as those given in [14]. Instead, we perform a sparse factorization of the local part of the operator and use this as a preconditioner for the full matrix . For larger problems, especially in three dimensions, this will become impractical. Still, in all of our simulations, we observed between 13 and 15 GMRES iterations to reach a relative Euclidean norm tolerance of . This provides a lower bound of what one might expect of a nested iteration or simply using a preconditioner for rather than as a preconditioner for .
7 Conclusions
We have developed exact truncating boundary conditions for the Morse-Ingard equations. These boundary conditions use a Green’s formula representation of the solution in terms of layer potentials and work in general unstructured geometry. The action of the discrete operators may be evaluated efficiently using matrix-free finite elements and a fast multipole method for the layer potentials, and the linear system may be effectively preconditioned with the local part of the operator. Standard convergence theory holds for the Galerkin discretization, and the method gives good accuracy on small computational domains even with relatively coarse meshes.
In the future, we hope to pursue a rigorous suite of three-dimensional calculations, compute with iterative treatment for , especially as ongoing Pytential improves its performance for three-dimensional problems. We also hope to study models in which the Morse-Ingard are equations are coupled to the tuning fork displacement.
References
- [1] P. M. Morse, K. U. Ingard, Theoretical acoustics, Princeton University Press, Princeton, NJ, 1986.
- [2] R. C. Kirby, A. Klöckner, B. Sepanski, Finite elements for Helmholtz equations with a nonlocal boundary condition, SIAM Journal on Scientific Computing 43 (3) (2021) A1671–A1691.
- [3] R. F. Curl, F. Capasso, C. Gmachl, A. A. Kosterev, B. McManus, R. Lewicki, M. Pusharsky, G. Wysocki, F. K. Tittel, Quantum cascade lasers in chemical physics, Chemical Physics Letters 487 (1-3) (2010) 1–18.
- [4] P. Patimisco, G. Scamarcio, F. K. Tittel, V. Spagnolo, Quartz-enhanced photoacoustic spectroscopy: a review, Sensors 14 (4) (2014) 6165–6206.
- [5] J. C. Petersen, L. Lamard, Y. Feng, J.-F. Focant, A. Peremans, M. Lassen, Quartz-enhanced photo-acoustic spectroscopy for breath analyses, in: Optics and Biophotonics in Low-Resource Settings III, Vol. 10055, International Society for Optics and Photonics, 2017, p. 1005503.
- [6] A. A. Kosterev, Y. A. Bakhirkin, R. F. Curl, F. K. Tittel, Quartz-enhanced photoacoustic spectroscopy, Optics Letters 27 (21) (2002) 1902–1904.
- [7] A. A. Kosterev, J. H. D. III, Resonant optothermoacoustic detection: Technique for measuring weak optical absorption by gases and micro-objects, Optics Letters 35 (21) (2010) 3571–3573.
- [8] N. Petra, Mathematical modeling, analysis, and simulation of trace gas sensors, Ph.D. thesis, University of Maryland (2010).
- [9] N. Petra, J. Zweck, A. A. Kosterev, S. E. Minkoff, D. M. Thomazy, Theoretical analysis of a quartz-enhanced photoacoustic spectroscopy sensor, Applied Physics B: Lasers and Optics 94 (4) (2009) 673–680.
- [10] N. Petra, J. Zweck, S. E. Minkoff, A. A. Kosterev, J. H. D. III, Modeling and design optimization of a resonant optothermoacoutstic trace gas sensor, SIAM J Appl Math 71 (2001) 309–332.
- [11] B. Brennan, R. C. Kirby, J. Zweck, S. Minkoff, High-performance Python-based simulations of trace gas sensors, Proceedings of PyHPC workshop (2013).
- [12] B. Brennan, R. C. Kirby, Finite element approximation and preconditioners for a coupled thermal–acoustic model, Computers & Mathematics with Applications 70 (10) (2015) 2342–2354.
- [13] J. Kaderli, J. Zweck, A. Safin, S. E. Minkoff, An analytic solution to the coupled pressure–temperature equations for modeling of photoacoustic trace gas sensors, Journal of Engineering Mathematics 103 (1) (2017) 173–193.
- [14] R. C. Kirby, P. Coogan, Optimal-order preconditioners for the Morse–Ingard equations, Computers & Mathematics with Applications 79 (8) (2020) 2458–2471.
- [15] A. Safin, S. Minkoff, J. Zweck, A preconditioned finite element solution of the coupled pressure-temperature equations used to model trace gas sensors, SIAM Journal on Scientific Computing 40 (5) (2018) B1470–B1493.
- [16] J.-P. Berenger, A perfectly matched layer for the absorption of electromagnetic waves, Journal of Computational Physics 114 (2) (1994) 185–200.
- [17] X. Wei, A. Klöckner, R. C. Kirby, Integral equation methods for the Morse-Ingard equations, submitted for publication, available online at https://ssl.tiker.net/nextcloud/s/Q9gwftEbp6seJbz.
- [18] A. K. Safin, Modeling trace gas sensors with the coupled pressure-temperature equations, Ph.D. thesis, The University of Texas at Dallas (2018).
- [19] D. Colton, R. Kress, Inverse Acoustic and Electromagnetic Scattering Theory, 2nd Edition, Springer, 1998.
- [20] A. Sommerfeld, Die Greensche funktion der schwingungsgleichung, J. Ber. Deutsch Math. Verein 21 (1912) 309–353.
- [21] C. I. Goldstein, The finite element method with non-uniform mesh sizes applied to the exterior Helmholtz problem, Numerische Mathematik 38 (1) (1982) 61–82.
-
[22]
V. Druskin, S. Güttel, L. Knizhnerman,
Near-optimal perfectly matched
layers for indefinite Helmholtz problems, SIAM Review 58 (1) (2016)
90–116.
doi:10.1137/140966927.
URL https://doi.org/10.1137/140966927 - [23] S. Brenner, L. Scott, The Mathematical Theory of Finite Element Methods, Springer, New York, NY, 2007.
- [24] O. G. Ernst, M. J. Gander, Why it is difficult to solve Helmholtz problems with classical iterative methods, in: Numerical analysis of multiscale problems, Springer, 2012, pp. 325–363.
- [25] M. J. Gander, I. G. Graham, E. A. Spence, Applying GMRES to the Helmholtz equation with shifted laplacian preconditioning: what is the largest shift for which wavenumber-independent convergence is guaranteed?, Numerische Mathematik (2015) 1–48.
- [26] Y. Saad, M. H. Schultz, GMRES: A generalized minimal residual algorithm for solving nonsymmetric linear systems, SIAM Journal on scientific and statistical computing 7 (3) (1986) 856–869.
- [27] V. E. Howle, R. C. Kirby, Block preconditioners for finite element discretization of incompressible flow with thermal convection, Numerical Linear Algebra with Applications 19 (2) (2012) 427–440.
- [28] I. Moret, A note on the superlinear convergence of GMRES, SIAM journal on numerical analysis 34 (2) (1997) 513–516.
- [29] J. Blechta, Stability of linear GMRES convergence with respect to compact perturbations, SIAM Journal on Matrix Analysis and Applications 42 (1) (2021) 436–447.
- [30] F. Rathgeber, D. A. Ham, L. Mitchell, M. Lange, F. Luporini, A. T. T. McRae, G.-T. Bercea, G. R. Markall, P. H. J. Kelly, Firedrake: automating the finite element method by composing abstractions, ACM Transactions on Mathematical Software 43 (3) (2016) 24:1–24:27. arXiv:1501.01809, doi:10.1145/2998441.
- [31] C. Geuzaine, J.-F. Remacle, Gmsh: A 3-D finite element mesh generator with built-in pre-and post-processing facilities, International journal for numerical methods in engineering 79 (11) (2009) 1309–1331.
- [32] M. S. Alnæs, A. Logg, K. B. Ølgaard, M. E. Rognes, G. N. Wells, Unified Form Language: A domain-specific language for weak formulations of partial differential equations, ACM Transactions on Mathematical Software 40 (2) (2014) 9:1–9:37. arXiv:1211.4047, doi:10.1145/2566630.
-
[33]
A. Klöckner, et al., pytential
Source Code Repository (2020).
URL https://github.com/inducer/pytential - [34] H. Xiao, Z. Gimbutas, A numerical algorithm for the construction of efficient quadrature rules in two and higher dimensions, Computers & Mathematics with Applications 59 (2) (2010) 663–676. doi:10.1016/j.camwa.2009.10.027.
-
[35]
A. Klöckner, et al., meshmode
Source Code Repository (2020).
URL https://github.com/inducer/meshmode -
[36]
M. Wala, A. Klöckner,
A
fast algorithm for Quadrature by Expansion in three dimensions, Journal
of Computational Physics 388 (2019) 655–689.
doi:10.1016/j.jcp.2019.03.024.
URL http://www.sciencedirect.com/science/article/pii/S0021999119302074 - [37] A. Klöckner, A. Barnett, L. Greengard, M. O’Neil, Quadrature by expansion: A new method for the evaluation of layer potentials, Journal of Computational Physics 252 (2013) 332 – 349. doi:10.1016/j.jcp.2013.06.027.
-
[38]
M. Wala, A. Klöckner,
A
fast algorithm with error bounds for Quadrature by Expansion, Journal of
Computational Physics 374 (2018) 135–162.
doi:10.1016/j.jcp.2018.05.006.
URL http://www.sciencedirect.com/science/article/pii/S0021999118302985 -
[39]
M. Wala, A. Klöckner, On the
Approximation of Local Expansions of Laplace Potentials by the
Fast Multipole Method, arXiv:2008.00653 [cs, math]ArXiv: 2008.00653
(Aug. 2020).
URL http://arxiv.org/abs/2008.00653 -
[40]
Z. Gimbutas, L. Greengard,
A
fast and stable method for rotating spherical harmonic expansions, Journal
of Computational Physics 228 (16) (2009) 5621–5627.
doi:10.1016/j.jcp.2009.05.014.
URL http://www.sciencedirect.com/science/article/pii/S0021999109002691 -
[41]
A. Klöckner, et al., pyfmmlib
Source Code Repository (2020).
URL https://github.com/inducer/pyfmmlib