



|
•
|
As a general rule of thumb, at least five quadratic elements should be used to resolve each wavelength. Therefore, the maximum mesh element size is set to 1/5 of the shortest wavelengths present, c_air/fmax. This mesh size is artificially refined to increase the running time.
|
|
•
|
When several resonance frequencies are present, the default parameters for the AWE option may use some tuning, for example, using an adequate Absolute tolerance value (see under the >AWE Solver 1 node). In this model, the default value of 0.001 is used and gives reasonable results (when compared to the other methods). Lowering the value to 0.0001 will improve the high frequency results slightly (see the linear scale plot). Other settings are in general less important, like changing the number of points to linearize about (Evaluation points), changing the number of terms in the Taylor expansion about each point (Expansion size), or changing from Padé to Taylor expansion of the approximating solution (Expansion type). In the current setup, we chose a relatively high upper frequency bound so about 10 resonance frequencies are present in the sweep. Had the upper frequency limit been lowered so only the first resonance was included (for instance, by setting fmax = 100 Hz), then the default relative AWE tolerance would have sufficed. Note that if either end of the frequency range is close to a resonance, the AWE solver can become unreliable.
|
|
•
|
The linper operator informs the solver that the term in the expression is a perturbation (a source term) that must be included in the linearized problem. The modal solver will only use the pressure under the linper operator as a source, while the other solvers will ignore this perturbation term.
|
|
•
|
To obtain good results with the Modal solver up to fmax, we must set the upper limit in its eigenfrequency search to 1.5*fmax to capture modes that may have an influence on the highest part of the frequency of interest. Using only fmax as the upper limit results in poorer estimates of the solution at higher frequencies.
|
|
•
|
Finally, note that we define the model in terms of geometric parameters (a, L, and R). This makes it easy to quickly include parametric sweeps in the geometry, which, for instance, could be used to tune the lowest eigenfrequency.
|
|
1
|
|
2
|
In the Select Physics tree, select Acoustics > Pressure Acoustics > Pressure Acoustics, Frequency Domain (acpr).
|
|
3
|
Click Add.
|
|
4
|
Click
|
|
5
|
|
6
|
Click
|
|
1
|
|
2
|
|
3
|
Click
|
|
4
|
Browse to the model’s Application Libraries folder and double-click the file helmholtz_resonator_solvers_parameters.txt.
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
|
1
|
|
2
|
|
3
|
|
4
|
|
1
|
|
2
|
Click in the Graphics window and then press Ctrl+A to select both objects.
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
|
1
|
In the Model Builder window, under Component 1 (comp1) right-click Materials and choose Blank Material.
|
|
2
|
|
3
|
Locate the Material Contents section. In the table, enter the following settings:
|
|
1
|
|
1
|
|
2
|
|
3
|
Click
|
|
4
|
Browse to the model’s Application Libraries folder and double-click the file helmholtz_resonator_solvers_variables.txt.
|
|
1
|
|
1
|
|
3
|
|
4
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
|
6
|
|
7
|
Click
|
|
1
|
|
2
|
|
3
|
|
1
|
|
2
|
|
3
|
In the Frequencies text field, type 10^{range(log10(fmin),(log10(fmax)-(log10(fmin)))/499,log10(fmax))}.
|
|
4
|
|
1
|
|
2
|
Go to the Add Study window.
|
|
3
|
Find the Studies subsection. In the Select Study tree, select Preset Studies for Selected Physics Interfaces > Adaptive Frequency Sweep.
|
|
4
|
Click the Add Study button in the window toolbar.
|
|
5
|
|
1
|
|
2
|
In the Frequencies text field, type 10^{range(log10(fmin),(log10(fmax)-(log10(fmin)))/499,log10(fmax))}.
|
|
4
|
|
5
|
|
6
|
|
7
|
Clear the Generate default plots checkbox.
|
|
8
|
|
9
|
|
1
|
|
2
|
Go to the Add Study window.
|
|
3
|
Find the Studies subsection. In the Select Study tree, select Preset Studies for Selected Physics Interfaces > Frequency Domain, Modal.
|
|
4
|
Click the Add Study button in the window toolbar.
|
|
5
|
|
1
|
|
2
|
Clear the Generate default plots checkbox.
|
|
3
|
|
1
|
In the Model Builder window, under Study 3 - Modal solver frequency sweep click Step 1: Eigenfrequency.
|
|
2
|
|
3
|
|
4
|
Find the Rectangle search region subsection. In the Largest real part (Eigenfrequency) text field, type 1.5*fmax.
|
|
1
|
|
2
|
|
3
|
In the Frequencies text field, type 10^{range(log10(fmin),(log10(fmax)-(log10(fmin)))/499,log10(fmax))}.
|
|
4
|
|
1
|
|
2
|
In the Settings window for 1D Plot Group, type Frequency sweeps - logarithmic scale in the Label text field.
|
|
1
|
|
2
|
|
3
|
|
4
|
Locate the y-Axis Data section. In the table, enter the following settings:
|
|
5
|
|
1
|
|
2
|
|
3
|
Locate the Data section. From the Dataset list, choose Study 2 - Frequency sweep with AWE/Solution 2 (sol2).
|
|
4
|
Locate the y-Axis Data section. In the table, enter the following settings:
|
|
1
|
|
2
|
|
3
|
Locate the y-Axis Data section. In the table, enter the following settings:
|
|
4
|
Locate the Data section. From the Dataset list, choose Study 3 - Modal solver frequency sweep/Solution 3 (sol3).
|
|
1
|
|
2
|
|
3
|
|
4
|
Locate the y-Axis Data section. In the table, enter the following settings:
|
|
5
|
|
6
|
|
7
|
|
8
|
|
9
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
|
6
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
|
6
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
Locate the Plot Settings section.
|
|
6
|
|
7
|
|
8
|
|
1
|
|
2
|
|
3
|
|
4
|
Clear the Solution checkbox.
|
|
5
|
Clear the Description checkbox.
|
|
1
|
|
2
|
|
3
|
|
4
|
Clear the Solution checkbox.
|
|
5
|
Clear the Description checkbox.
|
|
1
|
|
2
|
|
3
|
|
4
|
Clear the Solution checkbox.
|
|
5
|
Clear the Description checkbox.
|
|
1
|
|
2
|
|
3
|
|
4
|
Clear the Solution checkbox.
|
|
5
|
Clear the Description checkbox.
|
|
6
|
|
1
|
|
2
|
|
3
|
In the Settings window for 1D Plot Group, type Frequency sweeps - linear scale in the Label text field.
|
|
4
|