1 Introduction

It is widely known that solutions to interior acoustic problems in the medium to high frequency range are highly sensitive to parameter variations (Jacobsen and Juhl 2013). For high frequencies the problems are so sensitive that only statistical methods are viable, e.g. statistical energy analysis (Lyon and DeJONG 1998). In this paper we are interested in deterministic solutions for the pressure field and thus restrict ourselves to the low/medium frequency range. We consider a 2D interior acoustics problem with reflecting boundaries for single frequencies. We seek to minimize the sound pressure in part of the domain utilizing interference phenomena by placing material in the domain using topology optimization (Bendsøe and Sigmund 2003). We base our approach on the work by Dühring et al. (2008) where the topology optimization formulation for interior acoustic problems was presented. It was shown to be possible to significantly reduce the sound pressure in a designated part of the domain by placing material elsewhere. We demonstrate that the pressure field is very sensitive to variations in the geometry of the optimized design even at medium frequencies. This is problematic from an application point of view since it is likely impossible to manufacture or install the designs exactly to specifications, leaving the designs useless in real world applications.

We present a topology optimization based approach for creating designs that maintain high performance under substantial near-uniform and small non-uniform geometric variations. For problems in structural mechanics, heat conduction (Wang et al. 2011b), and optics (Wang et al. 2011a; Elesin et al. 2012), it has been shown that using a robust optimization approach leads to a significant improvement in the robustness of the design’s performance under spatial variations. We base our approach on the work by Wang et al. (2011b). Here the design is optimized for a nominal, an eroded and a dilated realization simultaneously using a min/max formulation. The realizations are obtained using continuous projection of smoothed design variables. We demonstrate that applying the robust scheme directly is insufficient for the present acoustic problem due to unpredictable variations in the eroded and dilated designs, making it impossible to perform meaningful robust optimization. To alleviate the problem we present a double filter which restricts design features to vary along their edges as the projection level changes. This allows for optimization of designs towards geometric variations. Promising results for designs optimized under both near-uniform and non-uniform geometric variations are presented. A related double filter approach developed independently of the approach presented in this paper is used in a structural mechanics topology optimization formulation for creating coated structures (Clausen et al. 2015). Other papers have treated and demonstrated the usefulness of topology optimization for problems in acoustics e.g. Wadbro and Berggren (2006), Lee and Kim (2009), Kook et al. (2012), and Wadbro (2014) and for acoustic structure interaction, e.g. Yoon et al. (2007) and Du and Olhoff (2007). The question of geometric robustness of the designs have, to our knowledge, not been investigated elsewhere. As a final note it is stressed that the optimization problems considered here are highly non-convex. Hence small changes in problem or optimization parameters may lead the optimization procedure to converge to different robust designs.

2 Model problem

We seek to minimize the square of the average sound pressure amplitude, \(\vert \hat {p} \vert ^{2}\), in the sub-domain Ω OP of the model domain \(\boldsymbol {\Omega } \subset \mathbb {R}^{2}\). A small source domain P is used to excite acoustic waves. The reduction in \(\vert \hat {p} \vert ^{2}\) is achieved by introducing solid material in a region Ω d replacing the acoustic medium. Ω OP, Ω d and P are sub-domains of Ω and are assumed to be non-intersecting. The boundary of Ω, denoted δ Ω, is taken to be perfectly reflecting. Figure 1 shows the domain configuration used, unless otherwise noted.

Fig. 1
figure 1

Illustration of the domain configuration, Ω = [0, 18] × [0, 9], Ω OP = [15, 17] × [1, 3] is the optimization domain, Ω d = [0, 18] × [8, 9] is the design domain and P = [1.9, 2.1] × [1.9, 2.1] denotes the region where an acoustic wave is exited

3 Physics model

Time-harmonic acoustic wave-propagation in an adiabatic medium is governed by the Helmholtz equation,

$$ \nabla \cdot (\rho(\mathbf{x})^{-1} \nabla \hat{p}(\mathbf{x}) ) + \omega^{2} \kappa(\mathbf{x})^{-1} \hat{p}(\mathbf{x}) = 0, \ \ \mathbf{x} \in \boldsymbol{\Omega}. $$
(1)

Here ∇ denotes the spatial derivative, \(\hat {p}\) is the complex sound pressure and ρ and κ are the density and bulk modulus of the medium, respectively. ω = 2π f is the angular frequency where f is denoted the excitation frequency. The spatial dependence in (1) is suppressed in the following for brevity. The perfectly reflecting boundaries and the source are imposed using,

$$\mathbf{n} \cdot (\rho^{-1} \nabla \hat{p}) = 0, \ \ \forall \ \mathbf{x} \in \delta\boldsymbol{\Omega}, $$
(2)
$$ \mathbf{n} \cdot (\rho^{-1} \nabla \hat{p}) = -\text{i} \omega U, \ \ \forall \ \mathbf{x} \in \delta\mathbf{P}.$$
(3)

Here n is the outward pointing normal vector to the boundary in question and U is the vibrational velocity.

The material parameters of solid and air are chosen to have a very large contrast between them. This justifies disregarding the structural problem of the solid material as it will simply act as hard wall boundary conditions for the acoustic waves. The material parameters have been chosen to match those for atmospheric air and aluminum given by,

$$ \text{air:} \ \ \rho_{1} = 1.204 \ \text{kg m}^{-3}, \ \ \ \kappa_{1} = 141.921 \cdot 10^{3} \ \text{N m}^{-2}.$$
(4)
$$\text{Al:} \ \ \rho_{2} = 2643.0 \ \text{kg m}^{-3}, \ \kappa_{2} = 6.87 \cdot 10^{10} \ \text{N m}^{-2}. $$
(5)

We perform a rescaling of the parameters in the model,

$$\begin{array}{@{}rcl@{}} (\hat{\rho}, \hat{\kappa}) = \left\{\begin{array}{ll} (1, 1) & \text{air} \\ \left(\frac{\rho_{2}}{\rho_{1}}, \frac{\kappa_{2}}{\kappa_{1}} \right) & \text{solid} \end{array}\right., \ \hat{\omega} = \frac{\omega}{c}, \ c = \sqrt{\frac{\kappa_{1}}{\rho_{1}}}, \end{array} $$
(6)

where c is the speed of sound in the gas (acoustic medium). By applying the rescaling (1), (2) and (3) becomes,

$$\begin{array}{@{}rcl@{}} \nabla \cdot (\hat{\rho}^{-1} \nabla \hat{p} ) + \hat{\omega}^{2} \hat{\kappa}^{-1} \hat{p} &=& 0, \ \ \mathbf{x} \in \boldsymbol{\Omega}, \end{array} $$
(7)
$$\begin{array}{@{}rcl@{}} \mathbf{n} \cdot (\hat{\rho}^{-1} \nabla \hat{p}) &=& 0, \ \ \forall \ \mathbf{x} \in \delta\boldsymbol{\Omega}, \end{array} $$
(8)
$$\begin{array}{@{}rcl@{}} \mathbf{n} \cdot (\hat{\rho}^{-1} \nabla \hat{p}) &=& -\text{i} \hat{\omega} U \sqrt{\kappa_{1} \rho_{1}}, \ \ \forall \ \mathbf{x} \in \delta\mathbf{P}. \end{array} $$
(9)

All results are reported using the sound pressure level, abbreviated SPL, for a given, \(\hat {p}\), which is calculated as,

$$\begin{array}{@{}rcl@{}} L_{\hat{p}} = 10 \log_{10}\left(\frac{|\hat{p}|^{2}}{{p_{\text{ref}}}^{2}}\right), \ \ \ p_{\text{ref, air}} = 20 \ \mu \text{Pa}. \end{array} $$
(10)

p ref is the material dependent reference pressure for air, (Jacobsen and Juhl 2013).

4 The optimization problem

Minimizing the average of \(\vert \hat {p} \vert ^{2}\) over Ω OP, is equivalent to minimizing the average of \( L_{\hat {p}}\) over Ω OP, henceforth denoted \(\langle L_{\hat {p}} \rangle _{\boldsymbol {\Omega }_{\text {OP}}}\). The discrete problem of placing material in Ω d is replaced by a continuous problem, see Dühring et al. (2008). A design variable field, 0 ≤ ξ(x)≤1, ∀ x ∈ Ωd, ξ(x) = 0 ∀ xΩΩ d, is introduced and a linear interpolation of the inverse density and bulk modulus is used. This interpolation is given by,

$$\hat{\rho}(\xi)^{-1} = 1 + \xi \left(\left(\frac{\rho_{2}}{\rho_{1}}\right)^{-1}-1 \right), $$
(11)
$$\hat{\kappa}(\xi)^{-1} = 1 + \xi \left(\left(\frac{\kappa_{2}}{\kappa_{1}}\right)^{-1}-1 \right). $$
(12)

The optimization problem may be stated as,

$$\begin{array}{@{}rcl@{}} \min_{\xi}. &:& \ {\Phi} = \frac{1}{A_{\text{OP}}} \int | \hat{p}(\xi) |^{2} d\boldsymbol{\Omega}_{\text{OP}}, \ A_{\text{OP}} = \int d\boldsymbol{\Omega}_{\text{OP}}, \\ \text{ s.t.} &:& \ \ 0 \leq \xi(\mathbf{x}) \leq 1 \ \ \forall \ \mathbf{x} \in \boldsymbol{\Omega}_{\text{d}}, \end{array} $$
(13)

Here Φ denotes the objective. \(\hat {p}(\xi )\) is obtained by solving (7)-(9) for a given design variable field, ξ(x). Solving (13) using the approach outlined in Sections 46 is in the rest of the paper denoted as the standard approach.

5 The discrete problem

The domain Ω, governing PDE (7) and corresponding boundary conditions (8)–(9) are discretized using the finite element method (FEM). For the discretization Q4 elements of equal size are used throughout Ω with a total of \(\mathcal {N}\) nodes in the mesh. The linear basis function connected to node k is denoted N k . The discretization yields the linear system,

$$\begin{array}{@{}rcl@{}} \mathbf{S} \hat{\mathbf{p}} = (\mathbf{K}(\hat{\rho}) - \hat{\omega}^{2} \mathbf{M}(\hat{\kappa})) \hat{\mathbf{p}} = \mathbf{F}. \end{array} $$
(14)

F stems from the boundary condition (9), and is given as,

$$\begin{array}{@{}rcl@{}} F_{k} = \sum\limits_{i \in \mathcal{N}_{b, k}} {\int}_{\delta\boldsymbol{\Omega}_{i}} \mathbf{n} \cdot (\hat{\rho}^{-1} \nabla \hat{p}) N_{k} d\boldsymbol{\Omega} \end{array} $$
(15)

Here \(\mathcal {N}_{b, k}\) denotes the boundary edges connected to node k. K and M in (14) are given by,

$$\begin{array}{@{}rcl@{}} K_{ij} = \int \hat{\rho}^{-1} \nabla N_{i}\nabla N_{j} d\boldsymbol{\Omega}, \ M_{ij} = \int \hat{\kappa}^{-1} N_{i} N_{j} d\boldsymbol{\Omega}, \end{array} $$
(16)

where \(i \in \lbrace 1, 2, ..., \mathcal {N} \rbrace , \ \ j \in \lbrace 1, 2, ..., \mathcal {N} \rbrace \). Neither M nor K needs modifications to take the boundary conditions into account. The solution to (7), \(\hat {p}\), is approximated by,

$$\begin{array}{@{}rcl@{}} \hat{p} \approx \sum\limits_{k \in \mathcal{N}} \hat{p}_{k} N_{k}, \end{array} $$
(17)

where \(\hat {p}_{k}\) is the k’th entry in \(\hat {\mathbf {p}}\), the solution of (14).

The design variable field, ξ(x), is discretized in a discontinuous manner using piecewise constant values in each finite element.

5.1 Sensitivities

The sensitivities required for the topology optimization procedure are obtained using adjoint sensitivity analysis, see Dühring et al. (2008) and references therein. They are,

$$\begin{array}{@{}rcl@{}} \frac{\text{d} {\Phi}}{\text{d} \xi_{i}} = \frac{\partial {\Phi}}{\partial \xi_{i}} + \Re\left(\boldsymbol{\lambda}^{\text{T}} \frac{\partial \mathbf{S}}{\partial \xi_{i}} \hat{\mathbf{p}}\right). \end{array} $$
(18)

Here R denotes the real part, T denotes the transpose and λ is obtained by solving,

$$\begin{array}{@{}rcl@{}} \mathbf{S}^{\text{T}} \boldsymbol{\lambda} = -\left(\frac{\partial {\Phi}}{\partial \hat{\mathbf{p}}_{R}} - i \frac{\partial {\Phi}}{\partial \hat{\mathbf{p}}_{I}} \right)^{\text{T}}, \ \ \hat{\mathbf{p}} = \hat{\mathbf{p}}_{R} + i \hat{\mathbf{p}}_{I}, \end{array} $$
(19)

with the k’th entry in the right hand side given as,

$$\begin{array}{@{}rcl@{}} \left(\frac{\partial {\Phi}}{\partial \hat{\mathbf{p}}_{R}} - i \frac{\partial {\Phi}}{\partial \hat{\mathbf{p}}_{I}} \right)_{k} = \frac{1}{A_{\text{OP}}} \int 2 (\hat{p}_{R} - i \hat{p}_{I} ) N_{k} d\boldsymbol{\Omega}_{\text{OP}}. \end{array} $$
(20)

6 Filtering and projection strategy

A density filter is used for smoothing followed by a projection to ensure a 0/1-design, (Guest et al. 2004; Xu et al. 2010; Wang et al. 2011b). In the following \(\ \tilde { \cdot } \ \) is used to denote smoothed variables and \(\ \bar { \cdot } \ \) denotes projected variables. When multiple operations are applied to a variable the symbols are ordered with the latest operation on top. Equation (21) presents the discretized version of the applied density filter (Bourdin 2001; Bruns and Tortorelli 2001),

$$\begin{array}{@{}rcl@{}} \tilde{\xi}_{i} = \frac{{\sum}_{j \in \mathcal{B}_{e, i}} w(\mathbf{x}_{i} - \mathbf{x}_{j}) A_{j} \xi_{j}}{{\sum}_{j \in \mathcal{B}_{e, i}} w(\mathbf{x}_{i} - \mathbf{x}_{j}) A_{j}}. \end{array} $$
(21)

A j is the area of the j’th element, \(\mathcal {B}_{e, i}\) denotes the design variables which are within a given filter radius R of design variable i. Here x j is taken to be the average of the nodal positions in element j. The filter function w is given by,

$$\begin{array}{@{}rcl@{}} w(\mathbf{x}) = \left\{\begin{array}{ll} R - |\mathbf{x}| & \forall \ |\mathbf{x}| \leq R \ \wedge \ \mathbf{x} \in \boldsymbol{\Omega}_{\text{d}} \\ 0 & \text{otherwise} \end{array}\right., \end{array} $$
(22)

where R is the aforementioned filter radius. To allow the design to vary with projection level along the edge of Ω d facing into the domain an extended filter area reaching outside of Ω d was used. In the extended filter area the design variables are all identically zero. A dashed line is included on all designs presented in figures to denote the edge of Ω d.

The projection operator used is the one suggested by Wang et al. (2011b) and is given as,

$$\begin{array}{@{}rcl@{}} \bar{\xi}_{i} = \frac{\tanh(\beta \eta) + \tanh(\beta (\xi_{i} - \eta))}{\tanh(\beta \eta) + \tanh(\beta (1 - \eta))}, \end{array} $$
(23)

where β is a parameter used to control the sharpness of the projection and \(\eta \in [\xi _{\min }, \xi _{\max }]\) defines the projection level. η = 0.5 has been used as the target for the final (nominal) designs in all cases. When applying the density filter and projection the pressure field will depend explicitly on the filtered and projected variables, \(\bar {\tilde {\xi }}\). Hence the optimization problem (13) and the sensitivities should be modified accordingly.

6.1 Modification of sensitivities

Applying the smoothing (21) and projection (23) operations on ξ requires the following sensitivity modifications,

$$\begin{array}{@{}rcl@{}} \frac{\text{d} {\Phi}}{\text{d} \xi_{i}} = \sum\limits_{h \in \mathcal{B}_{e, i}} \frac{\partial \tilde{\xi}_{h}}{\partial \xi_{i}} \frac{\partial \bar{\tilde{\xi}}_{h}}{\partial \tilde{\xi}_{h}} \frac{\text{d} {\Phi}}{\text{d} \bar{\tilde{\xi}}_{h}}, \end{array} $$
(24)

with,

$$ \frac{\partial \tilde{\xi}_{h}}{\partial \xi_{i}} = \frac{w(\mathbf{x}_{h} - \mathbf{x}_{i}) A_{i} }{{\sum}_{j \in N_{e, h}} w(\mathbf{x}_{h} - \mathbf{x}_{j}) A_{j}}, $$
(25)
$$ \frac{\partial \bar{\tilde{\xi}}_{h}}{\partial \tilde{\xi}_{h}} = \frac{\beta \text{ sech}^{2}(\beta (\tilde{\xi}_{h}(\mathbf{x}) - \eta)) }{\tanh(\beta \eta) + \tanh(\beta (1 - \eta))}, $$
(26)

and \(\frac {\text {d} {\Phi }}{\text {d} \bar {\tilde {\xi }}_{h}}\) given by (18).

6.2 β-continuation scheme

The projection step is used together with a continuation scheme for β, see Guest et al. (2004), which gradually increases the projection strength during the optimization process. This scheme prevents that the optimization gets stuck prematurely in a local minimum during the first iterations due to the design being projected to 0/1 immediately. A more conservative scheme than the one suggested by Wang et al. (2011b) is used here, see algorithm 1. In the present scheme β is only increased if Φ has not changed significantly for n sc iterations.

figure a

7 Implementation, validation and parameter choices

MATLAB was used for the implementation and the minimization problems were solved using the Method of Moving Asymptotes, MMA (Svanberg 1987). The MATLAB solver was validated using the method of manufactured solutions and through comparison with COMSOL MULTIPHYSICS Version 4.3b’s acoustics module. COMSOL was also used to validate the performance of selected final designs.

Table 1 lists the parameter values which have been used in all numerical experiments unless stated otherwise.

Table 1 Parameters used in simulations

8 Sample solution

An example of the effect on the pressure field of placing an optimized design in Ω d is presented here. Figure 2i shows the \(L_{\hat {p}}\)-field for the excitation frequency f = 51.32 Hz in an empty domain. Figure 2ii shows the \(L_{\hat {p}}\)-field in the same domain after a design optimized for this frequency using the standard approach is introduced. It is clearly seen that the minimization of \(L_{\hat {p}}\) in Ω OP is achieved by a combination of two mechanisms. First a reduction of the overall sound pressure in Ω from a maximum of 112 dB to 95 dB has occurred and secondly nodal lines have been moved into Ω OP leading to a significant reduction of the average sound pressure level in Ω OP, \(\langle L_{\hat {p}} \rangle _{\boldsymbol {\Omega }_{\text {OP}}}\).

Fig. 2
figure 2

Pressure fields measured using \(L_{\hat {p}}\) at the excitation frequency f = 51.32 Hz. The acoustic source and Ω OP are outlined using thin black lines

\(\langle L_{\hat {p}} \rangle _{\boldsymbol {\Omega }_{\text {OP}}}\), has been reduced from approximately 103 dB for the empty domain to approximately 38.8 dB when the optimized design is introduced. An important note here is that the magnitude of the reduction in \(\langle L_{\hat {p}} \rangle _{\boldsymbol {\Omega }_{\text {OP}}}\) clearly depends on how the nodal lines of the field in the empty room line up with Ω OP. In the present example a larger magnitude of the reduction could possibly have been obtained by moving Ω OP to [13.5, 15.5] × [1.3]. The magnitude of the reduction is not the main interest of this study however. The fact that a significant reduction in sound pressure may be obtained by introducing the design is of course important. It is however the robustness of this reduction towards variations in the design which is the concern in the following.

9 Intermediate design variables

In order for the final designs to be meaningful for real world application they must consist of design variables taking the values 0 or 1, corresponding to no material or material at each position in space. The projection operator presented in (23) enforces a 0/1 design by projecting at the threshold value \(\eta \in [\eta _{\min }, \eta _{\max }]\), \(\eta _{\min } \in [0, \eta _{\max }[\), \(\eta _{\max } \in \ ]\eta _{\max }, 1]\). As described in the introduction it is possible to use a varying projection level, η, to optimize the design towards worst case spatial variations. However, as will be shown in the following there is no guarantee that this approach results in an appropriately varying design. In this context appropriately should be understood as follows: Firstly, when η is varied all changes in the design features should only occur along their edges. Secondly, all design features should change near-uniformly in size if η is varied.

In this section it is shown that for the interior acoustic problem the design does not vary appropriately with η and that this behavior increases significantly with frequency. The issue has been found to exist independent of discretization level and filter radius. Section 9.1 presents the results of solving (13) for four excitation frequencies using the standard approach. In Section 9.2 a min/max formulation for the optimization problem is introduced which will serve as the basis for creating designs that perform robustly under geometric variations. The problem of the inappropriately varying designs is shown to exist for both approaches.

9.1 Optimizing using the standard approach

An initial attempt at obtaining highly performing designs is made by solving (13) using filtering, (21) and projection (23). Results for four excitation frequencies, f ∈ {34.36 Hz, 51.32 Hz, 69.42 Hz, 206.3 Hz} are presented below. These frequencies have been chosen to coincide with resonances in the empty domain.

The smoothed design variables for the final designs are shown in Fig. 3i while the final designs after projection at η = 0.5 are shown in Fig. 3ii. The value for the objective measured in SPL, \(\langle L_{\hat {p}} \rangle _{\boldsymbol {\Omega }_{\text {OP}_{\mathbf {XX}}}}\) with an empty design domain ED, a full design domain FD (ξ i = 1 ∀ i), and with the optimized designs introduced OD, are shown in Table 2. \(\langle L_{\hat {p}} \rangle _{\boldsymbol {\Omega }_{\text {OP}_{\mathbf {FD}}}}\) is included to illustrate the benefit of creating an optimized solution compared to simply attempting to move away from the resonance by filling the design domain with material.

Fig. 3
figure 3

(i) Smoothed, \(\tilde {\xi }\), and (ii) physical, \(\bar {\tilde {\xi }}\), design variables for four excitation frequencies, a) f = 34.36 Hz, b) f = 51.32 Hz, c) f = 69.42 Hz, d) f = 206.3 Hz. The standard approach has been used for the optimization. The dashed line denote the edge of Ω d

Table 2 Average sound pressure level in Ω OP at four different excitation frequencies, for the cases: Empty design domain, \(\langle L_{\hat {p}} \rangle _{\boldsymbol {\Omega }_{\text {OP}_{\mathbf {ED}}}}\). Design domain filled with material; \(\langle L_{\hat {p}} \rangle _{\boldsymbol {\Omega }_{\text {OP}_{\mathbf {FD}}}}\). Optimized design introduced, \(\langle L_{\hat {p}} \rangle _{\boldsymbol {\Omega }_{\text {OP}_{\mathbf {OD}}}}\)

A significant reduction in sound pressure level from both \(\langle L_{\hat {p}} \rangle _{\boldsymbol {\Omega }_{\text {OP}_{\mathbf {ED}}}}\) and \(\langle L_{\hat {p}} \rangle _{\boldsymbol {\Omega }_{\text {OP}_{\mathbf {FD}}}}\) to \(\langle L_{\hat {p}} \rangle _{\boldsymbol {\Omega }_{\text {OP}_{\mathbf {OD}}}}\) is observed for all cases. By comparing \(\langle L_{\hat {p}} \rangle _{\boldsymbol {\Omega }_{\text {OP}_{\mathbf {OD}}}}\) to \(\langle L_{\hat {p}} \rangle _{\boldsymbol {\Omega }_{\text {OP}_{\mathbf {FD}}}}\) it is seen to be clearly beneficial to create an optimized design. However if the performance of the designs is highly sensitive to small spatial variations they lose much of their attractiveness. Hence it is important to be able to investigate the design’s sensitivity to spatial variations. Considering the smoothed design variables in Fig. 3i large areas of \(\tilde {\xi }(\mathbf {x})\) taking intermediate values can be seen. These intermediate values make it impossible to establish a meaningful relation between the projection level and the resulting variations in the design. Figure 4 shows the smoothed design variables projected at four η-values to clarify this point. It is seen that the changes in the designs lack any uniformity in space and that the topology changes in several cases as η is varied. Thus the formulation needs a modification to remove the problem if varying η is to be a useful measure of robustness of \(\langle L_{\hat {p}} \rangle _{\boldsymbol {\Omega }_{\text {OP}}}\) towards geometric variations.

Fig. 4
figure 4

Projection of smoothed design variables for the four cases shown in Fig. 3 at four η-values, a ) η = 0.3, b ) η = 0.4: c ) η = 0.6, d ) η = 0.7

9.2 Robust design

Next we introduce a min/max formulation where the objective is minimized for \(\mathcal {N}_{r} \in \mathbb {N}\) different realizations of the projected design variables simultaneouslyFootnote 1.

$$\begin{array}{@{}rcl@{}} \min\limits_{\xi}. &:& \ \max_{k} \left(\frac{1}{A_{\text{OP}}} \int | \hat{p}(\bar{\tilde{\xi}}_{k}) |^{2} d\boldsymbol{\Omega}_{\text{OP}} \right), \\ \text{ s.t.} &:& 0 \leq \xi(\mathbf{x}) \leq 1 \ \ \forall \ \mathbf{x} \in \boldsymbol{\Omega}_{\text{d}} \ \wedge \ k \in \lbrace 1, 2, ..., \mathcal{N}_{r} \rbrace. \end{array} $$
(27)

Here \(\mathcal {N}_{r}\) is the number of projection realizations used. In the rest of the paper solving (27) instead of (13) is denoted as the robust approach. The min/max formulation forms the basis for creating designs which perform robustly under spatial variations presented in a later section. Direct application of the scheme, suggested for performing robust topology optimization in Sigmund (2009), has been shown to perform well for structural and heat problems Wang et al. (2011b) and problems in optics Wang et al. (2011a) when creating robust designs. As will be shown in the following this is not the case for the acoustic cavity problem under consideration.

9.3 Optimization using the robust approach

By solving (27), with \(\mathcal {N}_{r} = 3\) using η k ∈{0.3, 0.5, 0.7} new optimized designs have been found for the same four excitation frequencies. η k = 0.5 corresponds to the desired nominal design while η k = 0.3 and η k = 0.7 corresponds to dilated and eroded versions of the nominal design respectively. The smoothed design variables and the final designs projected at η = 0.5 are presented in Fig. 5i and ii respectively. Figure 5i shows that the problem of large areas of non-systematically varying \(\tilde {\xi }(\mathbf {x})\)-values remains for the robust formulation. Again the problem is seen to increase significantly with frequency. The reason why the problem remains when using the robust approach is believed to be the increasing non-convexity of the optimization problem with increasing frequency, caused by the increasing modal density. This leads to a high number of local minima which allows the optimizer to shape the design field such that a variation in η may result in unpredictable variations in the design while still providing good performance for the projected designs at the η-values used in the optimization.

Fig. 5
figure 5

(i) Smoothed and (ii) projected design variables for the four excitation frequencies, a) f = 34.36 Hz, b) f = 51.32 Hz, c) f = 69.42 Hz, d) f = 206.3 Hz, obtained using the robust approach given in (27) with a smoothing and projection step

Results of projecting the smoothed design variables presented in Fig. 5i at different η-values are shown in Fig. 6. The results for the design optimized for f = 34.36 Hz seen in Fig. 6 show that using \(\mathcal {N}_{r} = 3\) instead of a single realization appears to have mitigated the problem of the unpredictable variations in the final design as η is varied. However, the figure clearly illustrates that for f ≥ 51.32 Hz the problem of unpredictably varying designs with projection level remains. By comparing Figs. 5ii and 3ii it is seen that the designs for the lowest frequency f = 34.36 Hz are very similar indicating that this design is robust towards variations in its geometry.

Fig. 6
figure 6

Projection of smoothed design variables for the four cases presented in Fig. 5i at different η-values: a) η = 0.3, b) η = 0.4, c) η = 0.6, d) η = 0.7

10 Limiting the variations in \(\tilde {\xi }\)

This section presents two different methods for controlling the variation of the smoothed design variable field, \(\tilde {\xi }\) along with results of numerical experiments showing the benefits and limitations of the approaches. The first method is a new double filter approach. The second method, included for comparison, is a well known explicit penalization method (Bendsøe and Sigmund 2003) which here is applied to the filtered field, \(\tilde {\xi }\), instead of the physical design variables. Both methods allow the enforcement of a near 0/1 \(\tilde {\xi }\)-field with intermediate values only near feature edges.

10.1 The double filter approach

The double filter approach consists of applying the density filter and projection introduced in Section 6 a second time on the already filtered and projected variables \(\bar {\tilde {\xi }}(\textbf {x})\). In order to distinguish the two filter steps a subscript 1 and 2 are introduced to denote the first and second filter step respectively. The application of the double filter effectively solves the problem of the uncontrolled changes in the final smoothed design variables as will be demonstrated in the following.

The double filter approach introduces three additional parameters. These are a second filter radius R 2, a second projection strength β 2 and a second projection level η 2. For all simulations done in the context of this paper, the parameters have been chosen to depend in a trivial manner on the parameters of the first filtering step effectively eliminating them. The second filter radius and projection strength have been chosen as \(R_{2} = \frac {1}{2} R_{1}\) and \(\beta _{2} = \frac {1}{2} \beta _{1}\) respectively. Regarding the projection level, η 2 = η 1 has been chosen for the standard approach while for the robust approach it is no longer η 1 that varies across realizations but instead η 2. For the robust approach the first projection level has been chosen as \(\eta _{1} = \min \limits _{k}{\eta _{2, k}}\). These choices have worked well for all investigated cases.

Due to the β-continuation scheme the double filter works very similarly to the single filter in the beginning of the optimization process. This is because the projection for low values of β is close to inactive. Thus the second filter only further smooths the design variables without introducing other restrictions on the optimization. As β 1 increases the first smoothing and projection step will produce a near 0/1 design. The second smoothing step then smooths the design along its edges while the second projection step controls the amount of material added/removed from each edge. For high β 2-values this gives control on how much the size of each feature in the design is changed as the projection level is varied. The amount of material removed in the projection step is controlled by η 2 together with R 2. The relationship between η 2 and the change in the size of the design features is analyzed for a 1D case in Schevenels et al. (2011). Here a lower bound is found which shows a nearly linear relationship for η 2∈[0.3, 0.7]. Based on this analysis it is suggested to limit η 2 to this, or a shorter, interval centered at 0.5 to ensure that for β 1≫1 all changes in the design will occur along its edges in a predictable near-uniform manner as the second projection level is varied. If features appear/disappear or agglomerate/separate as η 2 is varied they do so in a predictable fashion in contrast to what was observed with the single filter approach.

The choice of R 2 relative to R 1 is important. If R 2 is chosen too large compared to R 1 the functionality of the double filter is lost for the following reason. The first smoothing operation creates a functional dependence between design variables which are less than R 1 apart. Thus the field \(\bar {\tilde {\xi }}\) may in some sense be seen as a coarser version of the original design field. Filtering a second time with a large radius R 2 can therefore be seen as functionally equivalent to smoothing only a single time on the unfiltered design variables. Thus unpredictable variations in the design with projection level may be observed if R 2 is chosen to large. From our experimentation for the acoustic cavity problem it has been found that choosing R 2 such that \(R_{2} \leq \frac {R_{1}}{2}\) works well for all investigated cases. Choosing R 2R 1 has been found to destroy the effect of the double filter in several cases.

The choice of β 2 controls the sharpness of the second projection. Just as for the single filter, if β 2 is chosen with to high initial value, it will force the optimizer to converge to a suboptimal local minimum since the design variable field is forced immediately towards 0/1.

The application of the double filter in 1D using high β-values in both projection steps is sketched in Fig. 7.

Fig. 7
figure 7

Sketch of the double filter applied to a function, ξ(x) in 1D (with β 1≫1, β 2≫1). Two different projection levels are used for the second projection. S(⋅) denotes smoothing and P(⋅) denotes projection. a ξ(x), b S 1(ξ(x)), c P 1(S 1(ξ(x))), d S 2(P 1(S 1(ξ(x)))), e P 2, 1(S 2(P 1(S 1(ξ(x))))), f P 2, 2(S 2(P 1(S 1(ξ(x)))))

For β 1≫1, β 2≫1 the sensitivity \(\frac {\text {d} {\Phi }}{\text {d} \bar {\tilde {\bar {\tilde {\xi }}}}_{i}}\) is zero unless ξ i lie within the filter radius of the edge of a design feature. This effectively turns the optimization problem into a shape optimization problem at high β-values. Thus initially when the projection strength is low the design is free to form without any restrictions on its topology while in the final part of the optimization design features are only allowed to change shape or disappear. To ease the referencing of the design variables at different stages in the filtering process each stage will henceforth be denoted as S, PS, SPS and PSPS respectively. The S and P are short for, S: Smoothing, and P: Projecting. The ordering of the letters corresponds to the order of the application of the operators read from right to left.

A final note of importance is that the double filter approach does not guarantee a length scale in the design and therefore not a fixed topology across all projection levels. However in most practically considered cases a length scale was found to be present.

10.1.1 Sensitivities

Applying the density filter and projection on \(\bar {\tilde {\xi }}\) is operationally identical to applying the same operations on ξ. Therefore the sensitivity modifications are straightforwardFootnote 2. The sensitivities for the double filter are given by,

$$\begin{array}{@{}rcl@{}} \frac{\text{d} {\Phi}}{\text{d} \xi_{i}} = \sum\limits_{h \in \mathcal{B}_{e, i}} \frac{\partial \tilde{\xi_{h}}}{\partial \xi_{i}} \frac{\partial \bar{\tilde{\xi_{h}}}}{\partial \tilde{\xi_{h}}} {\Delta} {\Phi}_{h}, \ \ i \in \lbrace 1, 2, ..., N \rbrace, \end{array} $$
(28)
$$\begin{array}{@{}rcl@{}} {\Delta} {\Phi}_{h} = \sum\limits_{j \in \mathcal{B}_{e, h}} \frac{\partial \tilde{\bar{\tilde{\xi_{j}}}}}{\partial \bar{\tilde{\xi_{h}}}} \frac{\partial \bar{\tilde{\bar{\tilde{\xi_{j}}}}}}{\partial \tilde{\bar{\tilde{\xi_{j}}}}} \frac{\text{d} {\Phi}}{\text{d} \bar{\tilde{\bar{\tilde{\xi}}}}_{j}}, \ \ h \in \lbrace 1, 2, ..., N \rbrace. \end{array} $$
(29)

While these expressions may look formidable, the computational requirements for calculating the sensitivities are only twice of those for the single filter which is very cheap compared to solving the FEM problem and the optimization problem.

10.2 Double filtered standard approach

The double filter has been used with the standard approach replacing the single filter. Results for the four excitation frequencies are presented here. The SPS variables and final designs (PSPS variables, projected at η 2 = 0.5) are shown in Fig. 8i and ii, respectively.

Fig. 8
figure 8

(i) SPS and (ii) PSPS design variables for the four excitation frequencies, a) f = 34.36 Hz, b) f = 51.32 Hz, c) f = 69.42 Hz, d) f = 206.3 Hz. The standard approach with the double filter has been used for the optimization

Figure 8i clearly shows that the SPS-variables only change along design feature edges. Hence the problem of unpredictably varying intermediate design variable values has been resolved. Comparing the designs in Fig. 8ii to those in Fig. 3ii it is seen that for f ∈ {69.42 Hz, 206.3 Hz} both the topology and overall appearance of the designs have changed. These changes may be attributed to the additional restrictions on the optimization imposed by the double filter and the fact that many local minima exist for the model problems.

10.2.1 Sensitivity to design variations

Using the double filter it is now meaningful to investigate the sensitivity of the designs towards near-uniform spatial variations by varying the projection level η 2. This has been done for η 2∈[0.1, 0.9] which corresponds to a large near-uniform variation of approximately ±0.1 meter (≈±4 elements for the chosen discretization) for each design feature. \(\langle L_{\hat {p}} \rangle _{\boldsymbol {\Omega }_{\text {OP}}}(\eta _{2})\) (scaled by \(\langle L_{\hat {p}} \rangle _{\boldsymbol {\Omega }_{\text {OP}_{\mathbf {ED}}}}\)) for each of the four excitation frequencies is shown in Fig. 9i. A dashed line showing \(\langle L_{\hat {p}} \rangle _{\boldsymbol {\Omega }_{\text {OP}_{\mathbf {FD}}}}\) (scaled by \(\langle L_{\hat {p}} \rangle _{\boldsymbol {\Omega }_{\text {OP}_{\mathbf {ED}}}}\)) corresponding to the average sound pressure level in Ω OP when simply filling the entire design domain with material has been included. The interested reader may use the value of \(\langle L_{\hat {p}} \rangle _{\boldsymbol {\Omega }_{\text {OP}_{\mathbf {ED}}}}\) from Table 2 to obtain values in db SPL.

Fig. 9
figure 9

\(\langle L_{\hat {p}} \rangle _{\boldsymbol {\Omega }_{\text {OP}}} / \langle L_{\hat {p}} \rangle _{\boldsymbol {\Omega }_{\text {OP}_{\mathbf {ED}}}}\) as a function of projection level. (i) and (ii): \(\langle L_{\hat {p}} \rangle _{\boldsymbol {\Omega }_{\text {OP}}}(\eta _{2}) / \langle L_{\hat {p}} \rangle _{\boldsymbol {\Omega }_{\text {OP}_{\mathbf {ED}}}}\) is denoted by the thin black line. The performance of the nominal design (η 2 = 0.5) is denoted by ∘. For comparison, \(\langle L_{\hat {p}} \rangle _{\boldsymbol {\Omega }_{\text {OP}_{\mathbf {FD}}}} / \langle L_{\hat {p}} \rangle _{\boldsymbol {\Omega }_{\text {OP}_{\mathbf {ED}}}}\) is denoted by a thick dashed black line. (ii): The realisations of η 2 for which the design has been optimized are denoted with *

By considering \(\langle L_{\hat {p}} \rangle _{\boldsymbol {\Omega }_{\text {OP}}}(\eta _{2} = 0.5)\) it can be seen that a significant reduction in SPL is obtained for all excitation frequencies for the nominal designs. A reduction between 40 and 70 percent is observed across the four frequencies. The design for f = 34.36 Hz is observed to be highly robust with increases of only a few percent for large variations in projection level. For this low frequency the observed behavior is exactly what is expected since the wavelength is much longer than the design variations. Thus the variations are not expected to have much influence on the pressure-field. If one considers the three higher frequencies a different picture starts to emerge however. As a first example consider the case of f = 69.42 Hz. Here an increase from η = 0.5 to η = 0.55 corresponding to a near-uniform decrease in feature size of approximately V u ≈−1 cm causes the relative performance improvement to deteriorate by more than 17 percent. As a second example consider the design optimized for f = 206.3 Hz. Here a deterioration of ≈24 percent is observed for variations in η 2 of about 0.05. Such large deteriorations in performance under small near-uniform variations are troublesome, especially considering that the scale is relative dB. What is observed from Fig. 8 is that the designs become increasingly sensitive towards small near-uniform geometric variations with increasing frequency. This high sensitivity towards spatial variations creates an interest in investigating a robust design approach.

10.3 Double filtered robust approach

In order to investigate whether it is possible to obtain robust designs for all four excitation frequencies the robust approach with the double filter is used. The resulting SPS- and PSPS-variables for the nominal design are presented in Fig. 10. It is again observed that intermediate values of the SPS-variables are only found along the edges of design features. The design for f = 34.36 Hz resembles the one optimized for a single projection level while the three designs for the higher excitation frequencies are very different in both shape and topology. This agrees with the lack of robustness observed in Fig. 9i. Figure 11 shows projections of the SPS-variable at η 2∈{0.3, 0.4, 0.6, 0.7}. From here it is clearly seen that PSPS-variables now vary in a spatially near-uniform manner with projection level.

Fig. 10
figure 10

(i) SPS and (ii) PSPS design variables for the four excitation frequencies, a) f = 34.36 Hz, b) f = 51.32 Hz, c) f = 69.42 Hz, d) f = 206.3 Hz. The designs has been obtained using the robust approach with the double filter using three realizations for the second projection, η 2∈{0.3, 0.5, 0.7}

Fig. 11
figure 11

Projection of SPS design variables at four different η 2-values, a ) η 2 = 0.3, b ) η 2 = 0.4, c ) η 2 = 0.6, d ) η 2 = 0.7 for the four designs shown in Fig. 10i

10.3.1 Sensitivity to design variations

Figure 9ii shows the variation in \(\langle L_{\hat {p}} \rangle _{\boldsymbol {\Omega }_{\text {OP}}}(\eta _{2}) / \langle L_{\hat {p}} \rangle _{\boldsymbol {\Omega }_{\text {OP}_{\mathbf {FD}}}}\) with η 2 for the four designs presented in Fig. 10ii. All the designs are seen to perform robustly for large variations of η 2 when compared to the results seen in Fig. 9i. For the case with f = 34.36 Hz almost no change in performance is observed compared to Fig. 9i. For f = 51.32 Hz the robustness of the performance is seen to have improved for a large η 2-interval. Here the robust design maintain a performance improvement of 60 percent or more for η 2∈[0.3, 0.7] compared to \(\langle L_{\hat {p}} \rangle _{\boldsymbol {\Omega }_{\text {OP}_{\text {FD}}}}\). For f = 69.42 Hz oscillations of up to 14 percent in performance improvement are observed. These are large fluctuations, however the performance increase for all η 2∈[0.22, 0.78] is more than 55 percent, which compared to the performance observed in Fig. 9i is a significant improvement in robustness. For f = 206.3 Hz oscillations of up to 10 percent are seen for η 2∈[0.3, 0.7] however the performance improvement stays above 33 percent which is good compared to the non-robust case if perturbations of η 2 of 0.05 or more is considered. Another important note is that the performance increase for the robust designs for the three lowest frequencies for all η 2∈[0.3, 0.7] are very close to the level of the nominal design obtained using the standard approach. Thus optimizing the designs for robustness under near-uniform variations does not significantly reduce the obtained performance for the nominal designs.

10.4 The penalization approach

A well known way of restricting the number of ξ-variables taking intermediate values is to penalize the design field explicitly (Bendsøe and Sigmund 2003). The penalization can be done by either adding an artificial penalization term, Φ p , to the objective or introducing an additional constraint. Here we consider penalizing the filtered design variables, \(\tilde {\xi }\), as suggested by Borrvall and Petersson (2001). The penalization term given in (30) is used.

$$ {\Phi}_{p}(\mathbf{x}) = \alpha_{{\Phi}_{p}} \int \tilde{\xi}(\mathbf{x})(1 - \tilde{\xi}(\mathbf{x})) d\boldsymbol{\Omega}_{\text{d}} \ \bigg/ \int d\boldsymbol{\Omega}_{\text{d}}, \ \ \alpha_{{\Phi}_{p}} > 0. $$
(30)

The sensitivities of (30) with respect to \(\tilde {\xi }\) are trivial to calculate. The value of Φ p (x) is zero in areas with \(\tilde {\xi } = 0\) or \( \tilde {\xi } = 1\) while it assumes its maximum value for \(\tilde {\xi } = \frac {1}{2}\). For sufficiently high values of α Φ p the approach forces the smoothed design variables towards 0/1 which will ensure narrow ranges of intermediate values for the smoothed design variables. This leads to near-uniform variations in the design along the edges of design features when the projection level is varied. While this attribute is appealing one significant problem exists: The choice of α Φ p . If α Φ p is chosen too large the penalization term will dominate the optimization which will result in poorly performing designs. If α Φ p is chosen too small, however, the penalization will not be effective and therefore the listed benefits are lost.

Designs obtained using the robust formulation where the penalization term has been added to the objective using α Φ p = 6⋅10−2 are presented here. This choice of α Φ p illustrates both good and bad performance of the approach distributed over the four excitation frequencies. A filter range of R = 20 has been used. The resulting designs are presented in Fig. 12.

Fig. 12
figure 12

(i) Smoothed and (ii) projected design variables for the four excitation frequencies, a) f = 34.36 Hz, b) f = 51.32 Hz, c) f = 69.42 Hz, d) f = 206.3 Hz, obtained with the robust approach with three realizations and the penalisation term added to Φ using α Φ p = 6⋅10−2

From the figure it is seen that at the three lower excitation frequencies near 0/1 \(\tilde {\xi }\) variables with smoothed edges along design features are obtained. Meanwhile for f = 206.3 Hz this property is seen to have disappeared. Figure 13 shows the design obtained for f = 206.3 Hz projected at the four different η-values. The design is seen to change topology and vary non-uniformly. Hence the design has not been optimized for near-uniform spatial variations as intended due to a too weak penalization. Another worrying result is the design obtained for the excitation frequency f = 51.32 Hz. Here the choice of α Φ p = 6⋅10−2 turns out to be too restrictive causing the optimization algorithm to get stuck in a local minimum with a poor performance. The performance obtained with this design is \(\langle L_{\hat {p}} \rangle _{\boldsymbol {\Omega }_{\text {OP}}} {\approx 56}\) dB for the nominal design which is more than 19 dB worse than the performance of the design obtained using the double filter approach, as may be deduced from Fig. 9ii combined with \(\langle L_{\hat {p}} \rangle _{\boldsymbol {\Omega }_{\text {OP}_{\mathbf {ED}}}}\) from Table 2.

Fig. 13
figure 13

Smoothed design variables presented in Fig. 12i for the frequency, f = 206.3 Hz projected at, a) η = 0.3, b) η = 0.4, c) η = 0.6, d) η = 0.7

These examples illustrate the main problem with the penalization approach. That is, the correct choice of α Φ p depends on the parameters of the problem in a non-obvious way which makes experimentation necessary for each excitation frequency. On the other hand the examples also illustrate that if α Φ p is chosen correctly the approach may work well. For the excitation frequencies studied here results similar to those obtained using the double filter approach are obtained if α Φ p is chosen correctly.

11 Non-uniform design variations

We have demonstrated that using the robust approach with the double filter it is possible to create designs which are highly robust towards near-uniform geometric variations. In real applications however, during the production, installation and use of a given design it is more likely that small non-uniform errors are introduced. An interesting question now becomes whether small non-uniform variations (NUVs) cause significant deteriorations in performance for designs optimized for near-uniform variations. A natural extension of this question is to investigate whether it is possible to create designs that are more robust towards NUVs. In this section we demonstrate that by using the robust approach with the double filter it is possible to consider non-uniform variations in the optimization. We present results showing that the performance of designs optimized for near-uniform variations may deteriorate significantly under small NUVs. Then we show that it is possible to obtain designs that maintain a more robust performance under both non-uniform and near-uniform variations by including samples of the NUVs in the optimization process.

When taking NUVs into account during the optimization process a high number of realizations is needed in order to assure that the space of possible perturbations is covered. In this case the computational resources required for the standard FEM approach become a limiting factor. Therefore a hybrid finite element and wave based method (FE-WBM) was implemented, in order to reduce the cost of modeling the non-design domain, and used to obtain the results presented in the following. The wave based method was proposed by Desmet (1998) and the hybrid FE-WBM by Hal et al. (2003). The hybrid FE-WBM has just recently been applied to topology optimization by Goo et al. (2014). The strength of the hybrid method is that it is possible to significantly reduce the number of degrees of freedom used in the parts of the simulation domain where the model parameters are homogeneous.

The hybrid method is applied by discretizing the non-design domain Ω WBM = ΩΩ d using a set of wave basis functions which are themselves solutions to the Helmholtz equation. This reduces the number of degrees of freedom needed in Ω WBM significantly. The design domain Ω d is still discretized exactly as described in Section 5. Finally the two domains are coupled by introducing a set of coupling degrees of freedom along the interface between the Ω WBM and Ω d. Since Ω d is discretized as described in Section 5 the parametrization of ξ(x), the formulation of the optimization problem, the application of the smoothing and projection operators and the interpretation of the design domain does not change in any way.

By applying the hybrid method to the present problem where the ratio of the full model domain to the design domain is approximately Ω d≈0.1Ω the computational time was reduced by approximately a factor of ten. We emphasize that other than a reduction in computational time the application of the hybrid FE-WBM method does not change the optimization problem in any way and as such all results may be replicated using pure FEM if sufficient computational resources are available. The reported performance of all the designs obtained using the hybrid method was acquired using a pure FEM discretization.

A slightly different model problem, illustrated in Fig. 14, was considered in the following. Here the vibrational source was moved to one of the outer domain boundaries and was imposed using (3) keeping U = 0.01, hence modeling a vibrating piston set in the wall. The movement of the source was done solely due to implementation choices made for the WBM-FEM hybrid method which required placing the source on the domain boundary.

Fig. 14
figure 14

Illustration of the modified model problem domain. Ω OP∈[15.5, 16.5] × [1.5, 2.5] is the optimization domain, Ω d∈[0, 18] × [8, 9] is the design domain and P ∈ 0 × [1.3, 1.7] denotes the region where an acoustic excitation is imposed

It is possible to model NUVs in many ways. One way is to consider random non-uniform variations as was done for structural and heat conduction problems by Schevenels et al. (2011) and Lazarov et al. (2012). In the present case we consider only one type of non-random variation. Namely sinusoidal variations in one spatial direction and no variation in the other. This is only a small subset of all possible NUVs but it works for illustrating the desired points. The NUVs are included in the optimization process by introducing a variable projection field, η(x), (Schevenels et al. 2011). This field replaces the constant projection level η, leading to varying projection levels across the domain. When using the double filter approach it is η 2 which is replaced with the varying projection field. The NUVs in the projection level have been modeled as,

$$\begin{array}{@{}rcl@{}} \eta_{2}(\mathbf{x}) = \eta_{\min} + (\eta_{\max} - \eta_{\min}) \cdot \text{P}(A \cdot \cos(B x + C) ). \end{array} $$
(31)

Here P is the normal cumulative distribution function with unit standard deviation and unit mean. \(\eta _{\max } \in \ ]\eta _{\min }, 1]\) and \(\eta _{\min } \in [0, \eta _{\max }[\) are the maximum and minimum projection values, respectively. B and C were allowed to vary while A was kept fixed. Samples of the projection field for different B and C are shown in Fig. 15.

Fig. 15
figure 15

Samples of the non-uniformly varying projection field for a) \(B = 2, C = \frac {4}{5}\pi \), b) \(B = 2, C = \frac {6}{5}\pi \), c) \(B = 4, C = \frac {6}{5}\pi \), d) \(B = 8, C = \frac {8}{5}\pi \)

For the results presented here the following values have been used for the non-uniformly varying projection field: A = 6, B ∈ {2, 4, 8}, C ∈ [0, 2π], \(\eta _{\min } = 0.4\) and \(\eta _{\max } = 0.6\). The optimizations were initialized with the material fraction ξ ini = 0.5 ∀ xΩ d and a filter radius of R = 16 was used.

11.1 Imposing NUV on robust designs

In the following the two excitation frequencies, f ∈ {69.42, 206.3} Hz are considered. Optimized designs were created using the robust approach with the double filter and three realizations of the second projection at η 2∈{0.3, 0.5, 0.7}. The designs are presented in Fig. 16.

Fig. 16
figure 16

Nominal designs optimized using uniform variations for the excitations frequencies a) f = 69.42 Hz, and b) f = 206.3 Hz

The designs were subjected to small non-uniform variations given by (31). Figure 17 shows representative examples of the non-uniform changes in the design optimized for f = 69.42 Hz when the variations are imposed. In the sub figures b)-d) the white areas denote removed material while the black areas denote added material.

Fig. 17
figure 17

Non-uniform variations in the design optimized for f = 69.42 Hz. a) Design. b)-d) Difference between the nominal design and the non-uniformly perturbed designs. White shows removed material and black shows added material

It is seen that the non-uniform variations are small (2.5 cm - 5 cm in terms of the model dimensions). Nevertheless a significant reduction in performance is observed. Figure 18 shows \(\langle L_{\hat {p}} \rangle _{\boldsymbol {\Omega }_{\text {OP}}}(\eta _{2}) / \langle L_{\hat {p}} \rangle _{\boldsymbol {\Omega }_{\text {OP}_{\textbf {ED}}}}\) for varying projection level, η ∈ [0.3, 0.7] overlaid with a graph of \(\langle L_{\hat {p}} \rangle _{\boldsymbol {\Omega }_{\text {OP}}}(\eta _{2, k}(\mathbf {x})) / \langle L_{\hat {p}} \rangle _{\boldsymbol {\Omega }_{\text {OP}_{\mathbf {ED}}}}\) for 80 different realizations of the non-uniform variations with A = 6, B ∈ {2, 4, 8, 16} and C uniformly distributed at 20 points in [0, 2π[.

Fig. 18
figure 18

\(\langle L_{\hat {p}} \rangle _{\boldsymbol {\Omega }_{\text {OP}}} / \langle L_{\hat {p}} \rangle _{\boldsymbol {\Omega }_{\text {OP}_{\mathbf {ED}}}}\) for designs in Fig. 16 exposed to near-uniform, ΦUV(η 2), and non-uniform, ΦNUV(η 2, k (x)), spatial variations. The performance at the three realization for which the designs were optimized, \({\Phi }_{\xi _{\text {k}}}\), are marked

Figure 18 clearly shows the lack of robustness of the designs towards non-uniform variations. The observed performance deteriorations are less significant than what was seen by comparing designs optimized using the robust approach and using the standard approach under near-uniform variations, however they are clearly still significant. Compared to the nominal designs (η 2 = 0.5) a deterioration of up to 15 % is seen for the design optimized at f = 69.42 Hz and up to 9 % for the design optimized at f = 206.3 Hz. Considering comparable near-uniform variations (η 2∈[0.4, 0.6]) we only observe deteriorations of 5 % and 1 % respectively.

11.2 Optimizing for NUV

In order to reduce the observed deterioration in performance under non-uniform variations a new optimization was performed using the robust approach with the double filter. Here non-uniform variations were included in the realizations. A total of 18 realizations were used. Three used the constant projection levels η 2∈{0.3, 0.5, 0.7}. The remaining fifteen realizations used the variable projection level given by (31) with all combinations of B ∈ {2, 4, 8} and \(C \in \left \{ \frac {2}{5}\pi , \frac {4}{5}\pi , \frac {6}{5}\pi , \frac {8}{5}\pi , 2\pi \right \}\). Figure 19 show the designs resulting from the optimizations.

Fig. 19
figure 19

Nominal designs optimized using non-uniform variations for a) f = 69.42 Hz, and b) f = 206.3 Hz

The performance of the designs under both near-uniform and non-uniform variations have been investigated in the same manner as in the previous section. The results are presented in Fig. 20.

Fig. 20
figure 20

\(\langle L_{\hat {p}} \rangle _{\boldsymbol {\Omega }_{\text {OP}}} / \langle L_{\hat {p}} \rangle _{\boldsymbol {\Omega }_{\text {OP}_{\mathbf {ED}}}}\) for the designs in Fig. 19 exposed to near-uniform, ΦUV, NUV(η 2), and non-uniform, ΦNUV, NUV(η 2, k (x)), variations. For easy comparison the data from Fig. 18 is plotted in light gray

From Fig. 20 it is immediately observed that the designs optimized for the non-uniform variations are more robust under non-uniform variations than the designs only optimized for uniform variations. Considering first the design for f = 69.42 Hz. Here the ratio of \(\langle L_{\hat {p}} \rangle _{\boldsymbol {\Omega }_{\text {OP}}} / \langle L_{\hat {p}} \rangle _{\boldsymbol {\Omega }_{\text {OP}_{\mathbf {ED}}}}\) for all variations in η 2 within [0.4, 0.6] is now under 45 % compared to the earlier design’s 50 %. Thus an improvement in worst case performance of 5 %. The trade off is a decrease in performance of the nominal design by approximately 4 % compared to the earlier design. Consider now the design optimized for f = 206.3 Hz. This design is seen to perform highly robustly under both near-uniform and non-uniform variations with a maximum of 2 % variation in performance. The deterioration in performance of the nominal design compared to the earlier design is only 1 % while the worst case performance is now below 64 % compared to the earlier 71 %. Hence a 7 % better worst case performance.

A thorough study of the performance of the designs in Fig. 19 with more than 2500 realizations for uniformly distributed value of B ∈ [2, .., 16] and C ∈ [0, 2π] was performed to assure the correctness of the conclusions drawn above. This test did not reveal any results that contradict our conclusions for the presented cases.

12 Varying the filter radius

This section investigates the behavior of the double filter approach for varying filter radius. We consider the model problem in Fig. 14 and take the excitation frequency to be, f = 69.42 Hz. We optimize using the doubly filtered robust approach for four different filter radii R 1∈{10, 20, 40, 60} elements, \(R_{2} = \frac {1}{2} R_{1}\) and near-uniform variations. We use six realizations for the projection level, η 2, k ∈{0.3, 0.38, 0.46, 0.54, 0.62, 0.7}. The remaining parameters are set at the values given in Table 1. The reason for using six realizations for η 2, k instead of three as in the earlier cases is that it we found that for R 1∈{40, 60} three realization for the second projection level are not enough to obtain a high performance across all values of η 2∈[0.3, 0.7]. This finding is sensible since increasing R 1 while keeping the variation in η 2 fixed leads to an increased spatial variation in the design. Figure 21 presents the final SPS- and SPSP-variables for the four different cases.

Fig. 21
figure 21

(i) SPS and (ii) PSPS design variables obtained using the robust approach with different filter radii and six realizations of the uniform projection level at η 2, k ∈{0.3, 0.38, 0.46, 0.54, 0.62, 0.7} for the excitation frequency f = 69.42 Hz, discretized using (n x, n y)=(720, 360) finite elements. SPS-variables (i). a) R 1 = 10(i). b) R 1 = 20(i). c) R 1 = 40(i). d) R 1 = 60. (ii) PSPS-variables projected at η 2 = 0.5 for designs in (i)

It is seen that the double filter performs as expected for all filter radii, in the sense that it produces SPS-variables which consists of areas of material (\(\bar {\tilde {\bar {\xi }}}(\mathbf {x}) = 1\)) with smoothed edges. Figure 22 shows the performance of each of the four designs under near-uniform erosion/dilation performed by varying η 2 in the interval [0.1, 0.9].

Fig. 22
figure 22

\(\langle L_{\hat {p}} \rangle _{\boldsymbol {\Omega }_{\text {OP}}} / \langle L_{\hat {p}} \rangle _{\boldsymbol {\Omega }_{\text {OP}_{\mathbf {ED}}}}\) as a function of projection level for designs presented in Fig. 21, obtained using the double filtered robust approach, under uniform erosion/dilation. \(\langle L_{\hat {p}} \rangle _{\boldsymbol {\Omega }_{\text {OP}}}(\eta _{2}) / \langle L_{\hat {p}} \rangle _{\boldsymbol {\Omega }_{\text {OP}_{\mathbf {ED}}}}\) is denoted by the thin black line. The performance of the nominal design (η 2 = 0.5) is denoted by ∘. For comparison, \(\langle L_{\hat {p}} \rangle _{\boldsymbol {\Omega }_{\text {OP}_{\mathbf {FD}}}} / \langle L_{\hat {p}} \rangle _{\boldsymbol {\Omega }_{\text {OP}_{\mathbf {ED}}}}\) is denoted by a thick dashed black line. The realizations of η 2 for which the design has been optimized are denoted with *

It is observed that the performance is similar in terms of the reduction in dB SPL for all four cases inside the interval of optimization.

13 Conclusions

We considered the minimization of sound pressure in part of a 2D domain for an acoustic cavity problem by placing material in another part of the domain using topology optimization. We showed that the direct application of a standard technique for robust topology optimization encounters a problem of uncontrollable intermediate design variables making it unusable. A novel double filter was introduced and it was shown to alleviate the problem thus allowing for the application of the robust optimization approach. It was demonstrated that small near-uniform geometric variations can cause significant deteriorations in the performance of designs optimized using the standard approach. Applying the robust approach with the double filter and optimizing for near-uniform geometric variations was shown to create highly robust designs under large near-uniform variations for all investigated frequencies. It was then demonstrated that imposing small non-uniform variations on designs optimized for near-uniform variations could lead to smaller but still significant deteriorations in performance. Finally it was shown to be possible to obtain designs which performed robustly under both near-uniform and selected non-uniform geometric variations by taking both types of variations into account during the optimization process. The proposed double filter approach is useful for highly shape sensitive optimization problems as demonstrated here. For less sensitive problems standard single filter approaches may be sufficient. When solving the acoustic cavity problem considered in this paper for a wider frequency band instead of for a single frequency (or narrow frequency band) the extreme sensitivity disappears and the problem may be solved using the single filter approach, see ??.