PDF

Acoustic Cloaking
Introduction
Recent studies (see Ref. 1) have shown the feasibility of manufacturing “invisibility cloaks” using layered metamaterials. Draping an object in a cloak makes it transparent, or nearly transparent, to electromagnetic waves.
The same principle can be used in acoustics to hide an object from acoustic radiation. This example looks at sound scattering from a plane wave incident on a hard-walled cylinder. Results with the cylinder clad in a homogenized cloak and a layered cloak (described in Ref. 2) are compared with a solution without the cloak.
Model Definition
A cylinder with a 1 m radius is surrounded by a metamaterial cloak consisting of a fluid with anisotropic density and scalar bulk modulus. Such a fluid can be modeled with the built-in Anisotropic Acoustics material model.
A way to set up an approximation to such a model is to use layers of two alternating fluids. In this tutorial, we use a 50 layer model with a layer thickness of 2 cm and a 20 layer model with a layer thickness of 5 cm. The material properties are similar to those in Ref. 2 and defined as follows:
In this formula:
ρ1, ρ2, c1, and c2 are the density and speed of sound of materials 1 and 2;
ρb = 1.25 kg/m3 and cb = 343 m/s, are the density and speed of sound in the outside medium, which is air;
R1 and R2 are the inner and outer radius of the cloak; and
r is the distance to the cylinder axis.
The material data for the corresponding anisotropic material can be calculated in the homogenization limit: for the effective bulk modulus and the effective density in the tangential direction (along the layers) as the volume average of their reciprocals; and for the effective density in the normal direction (perpendicular to the layers) as the volume average.
The model considers a frequency of f = 300 Hz and solves the Helmholtz equation for the total acoustic pressure:
Here, ρ-1 is a tensor for the anisotropic material, the bulk modulus K = ρc2 for the isotropic material, and pt is the total acoustic pressure. To describe an incident plane wave traveling in the x-direction, a background field pb is defined as , where kb = 2πf/cb is the propagation constant in the background medium. The equation is solved for the scattered field ps, using the definition
The geometric mirror symmetry of the problem is used to reduce the modeling domain to half of the full geometry (see Figure 1). The background medium is truncated with a cylindrical radiation condition (see the Acoustics Module User’s Guide for details about the theory) on its outer boundaries.
Figure 1: The geometries used in the tutorial: homogenized cloak (top left), no cloak (top right), 50 layer cloak (bottom left), and 20 layer cloak (bottom right). The center cylinder cut out from the geometry is covered by the cloak and outside the cloak the background material is truncated at a 4 m distance from the center. The layers in the 50 layer cloak geometry are too thin to see clearly in this image.
Results and Discussion
The total acoustic pressure for the four different cases can be seen in Figure 2. The top right figure shows the pressure field without the cloak, when the cylinder is surrounded only by air. The incident pressure wave is scattered in all directions and is significabtly influenced by the cylinder. In the top left figure, we see the homogenized cloak in use. The incident wave is undisturbed outside the cloak and it is not possible to determine that there is a cylinder present at all. The two bottom figures show how the cloak gets better when the number of layers is increased and the model is more similar to the homogenized cloak.
.
Figure 2: Total acoustic pressure for the four studied cases: homogenized cloak (top left), no cloak (top right), 50 layer cloak (bottom left), and 20 layer cloak (bottom right).
Figure 3 shows the total sound pressure level for the same cases. The shadow zone behind the cylinder when no cloak is used is easily seen as well as the pressure peaks on the side where the wave is incident. The pressure variations with the homogenized cloak are not visible.
Figure 3: Total sound pressure level for the four studied cases: homogenized cloak (top left), no cloak (top right), 50 layer cloak (bottom left), and 20 layer cloak (bottom right).
Looking only at the scattered sound pressure level (Figure 4) we can see a significant difference in the scattered field for the four cases. The scattered sound pressure level decreases as the cloak tends towards the homogenized cloak.
Figure 4: Scattered sound pressure level for the four studied cases: homogenized cloak (top left), no cloak (top right), 50 layer cloak (bottom left), and 20 layer cloak (bottom right).
Another way to illustrate the effect of the cloak is to look at the total acoustic pressure along the cloak boundary. This is shown in Figure 5, where we can see that the background pressure field curve coincides with the curve for the homogenized cloak as expected for an effective cloak.
Figure 5: Pressure at the acoustic cloak boundary.
Finally, in Figure 6, the speed of sound in the principal directions of the homogenized material is shown.
Figure 6: Speed of sound across the acoustic cloak
The instructions and results that follow, deal only with a frequency of 300 Hz, but you can modify the model and use a different frequency, or sweep over a range of frequencies, to see how this affects the cloaking.
References
1. Several COMSOL Conference papers:
http://www.comsol.com/papers/5478/
http://www.comsol.com/papers/9831/
http://www.comsol.com/papers/5463/
2. D. Torrent and J. Sánchez-Dehesa, “Acoustic Cloaking in Two Dimensions: a Feasible Approach,” New Journal of Physics, vol. 10, 063015, 2008.
Application Library path: Acoustics_Module/Tutorials,_Pressure_Acoustics/acoustic_cloaking
Modeling Instructions
From the File menu, choose New.
New
In the New window, click Model Wizard.
Model Wizard
1
In the Model Wizard window, click 2D.
2
In the Select Physics tree, select Acoustics>Pressure Acoustics>Pressure Acoustics, Frequency Domain (acpr).
3
Click Add.
4
Click Study.
5
In the Select Study tree, select General Studies>Frequency Domain.
6
Click Done.
Geometry 1
The geometry of this model is simple but a bit repetitive to create, due to the large number of circles involved. You will therefore import it inserting a sequence from the geometry file. The instructions to the geometry can be found in the appendix at the end of this document.
1
In the Geometry toolbar, click Insert Sequence.
2
3
In the Geometry toolbar, click Build All.
4
Click the Zoom Extents button in the Graphics toolbar.
The geometry should look like that in Figure 1.
The file you have just imported contains a few parameters that are used to generate the geometry. Now proceed to add some additional parameters that will be used in the analysis.
Global Definitions
Parameters 1
1
In the Model Builder window, under Global Definitions click Parameters 1.
2
In the Settings window for Parameters, locate the Parameters section.
3
The material properties in the cloaking involve dependencies on the inner and outer radius, the local distance from the center, and the properties of the surrounding background fluid. It is convenient to define these expressions as variables.
Definitions
Cylindrical System 2 (sys2)
1
In the Definitions toolbar, click Coordinate Systems and choose Cylindrical System.
2
In the Settings window for Cylindrical System, locate the Settings section.
3
Find the Origin subsection. In the table, enter the following settings:
Variables 1
1
In the Model Builder window, right-click Definitions and choose Variables.
2
In the Settings window for Variables, type Radial Coordinate: Homogenized Cloak in the Label text field.
3
Locate the Geometric Entity Selection section. From the Geometric entity level list, choose Domain.
4
From the Selection list, choose Selection: Homogenized Cloak.
5
Locate the Variables section. In the table, enter the following settings:
Variables 2
1
Right-click Definitions and choose Variables.
2
In the Settings window for Variables, type Radial Coordinate: 50 Layer Cloak in the Label text field.
3
Locate the Geometric Entity Selection section. From the Geometric entity level list, choose Domain.
4
From the Selection list, choose Selection: 50 Layer Cloak.
5
Locate the Variables section. In the table, enter the following settings:
Variables 3
1
Right-click Definitions and choose Variables.
2
In the Settings window for Variables, type Radial Coordinate: 20 Layer Cloak in the Label text field.
3
Locate the Geometric Entity Selection section. From the Geometric entity level list, choose Domain.
4
From the Selection list, choose Selection: 20 Layer Cloak.
5
Locate the Variables section. In the table, enter the following settings:
Variables 4
1
In the Definitions toolbar, click Local Variables.
2
In the Settings window for Variables, type Variables: Acoustic Cloak Data in the Label text field.
3
Locate the Geometric Entity Selection section. From the Geometric entity level list, choose Domain.
4
From the Selection list, choose Selection: Acoustic Cloak.
5
Locate the Variables section. In the table, enter the following settings:
Now, proceed to add the materials. Material 1 and Material 2 are the two materials with varying properties that will be used in the layers to create an acoustic cloak. The homogenized material is an anisotropic material which properties also vary with thickness and are equivalent to a model with a large number of layers.
Materials
Material 1 (mat1)
1
In the Model Builder window, under Component 1 (comp1) right-click Materials and choose Blank Material.
2
In the Settings window for Material, type Air in the Label text field.
3
Locate the Geometric Entity Selection section. From the Selection list, choose All domains.
4
Locate the Material Contents section. In the table, enter the following settings:
Material 2 (mat2)
1
Right-click Materials and choose Blank Material.
2
In the Settings window for Material, type Material 1 in the Label text field.
3
Locate the Geometric Entity Selection section. From the Selection list, choose Selection: Material 1.
4
Locate the Material Contents section. In the table, enter the following settings:
Material 3 (mat3)
1
Right-click Materials and choose Blank Material.
2
In the Settings window for Material, type Material 2 in the Label text field.
3
Locate the Geometric Entity Selection section. From the Selection list, choose Selection: Material 2.
4
Locate the Material Contents section. In the table, enter the following settings:
Material 4 (mat4)
1
Right-click Materials and choose Blank Material.
2
In the Settings window for Material, type Homogenized Material in the Label text field.
3
Locate the Geometric Entity Selection section. From the Selection list, choose Selection: Homogenized Cloak.
4
Click to expand the Material Properties section. In the Material properties tree, select Acoustics>Anisotropic Acoustics Model>Effective bulk modulus (K_eff).
5
Click Add to Material.
6
In the Material properties tree, select Acoustics>Anisotropic Acoustics Model>Effective density (rho_eff).
7
In the Settings window for Material, locate the Material Contents section.
8
The homogenized material has a diagonal density matrix with terms that change value with the radius. The bulk modulus also varies with the radius.
Now, proceed to activate the Variable Utilities that will give you access to the Matrix Diagonalization feature. This feature allows you to compute the speed of sound in the anisotropic material as a function of the density matrix and the bulk modulus.
Definitions
1
Click the Show More Options button in the Model Builder toolbar.
2
In the Show More Options dialog box, select General>Variable Utilities in the tree.
3
4
Matrix Diagonalization 1 (matdiag1)
1
In the Definitions toolbar, click Variable Utilities and choose Matrix Diagonalization.
2
In the Settings window for Matrix Diagonalization, locate the Geometric Entity Selection section.
3
From the Geometric entity level list, choose Domain.
4
5
Locate the Input Matrix section. In the table, enter the following settings:
These terms represent the inverse of the effective density matrix times the bulk modulus. The square root of the eigenvalues of this matrix will give you the speed of sound in the principal directions.
Pressure Acoustics, Frequency Domain (acpr)
Group 1
1
In the Model Builder window, under Component 1 (comp1) right-click Pressure Acoustics, Frequency Domain (acpr) and choose Node Group.
2
In the Settings window for Group, type Homogenized model in the Label text field.
The outer boundaries need a radiation condition to make sure that no waves are reflected at this interface.
Cylindrical Wave Radiation 1
1
Right-click Homogenized model and choose Radiation Conditions>Cylindrical Wave Radiation.
2
3
In the Model Builder window, click Cylindrical Wave Radiation 1.
4
In the Settings window for Cylindrical Wave Radiation, locate the Cylindrical Wave Radiation section.
5
Specify the r0 vector as
Homogenized model
Now, proceed to add a Background Pressure Field for each of the geometries. The field is a plane wave propagating in the x-direction. The phase of this field is updated on each of the domains to make sure that the incident acoustic field is the same in all the domains.
Background Pressure Field 1
1
In the Physics toolbar, click Domains and choose Background Pressure Field.
2
In the Settings window for Background Pressure Field, locate the Domain Selection section.
3
From the Selection list, choose Selection: Homogenized Cloak Domain.
4
Locate the Background Pressure Field section. In the p0 text field, type 1.
5
From the c list, choose From material.
6
From the Material list, choose Air (mat1).
7
In the φ text field, type acpr.bpf1.k*x1.
Symmetry 1
1
In the Physics toolbar, click Boundaries and choose Symmetry.
2
In the Settings window for Symmetry, locate the Boundary Selection section.
3
From the Selection list, choose Selection: Symmetry Boundaries, Homogenized Cloak.
Anisotropic Acoustics 1
1
In the Physics toolbar, click Domains and choose Anisotropic Acoustics.
2
3
In the Settings window for Anisotropic Acoustics, locate the Coordinate System Selection section.
4
From the Coordinate system list, choose Cylindrical System 2 (sys2).
Group 2
1
In the Model Builder window, right-click Pressure Acoustics, Frequency Domain (acpr) and choose Node Group.
2
In the Settings window for Group, type No Cloak Model in the Label text field.
Cylindrical Wave Radiation 2
1
In the Physics toolbar, click Boundaries and choose Cylindrical Wave Radiation.
2
3
In the Settings window for Cylindrical Wave Radiation, locate the Cylindrical Wave Radiation section.
4
Specify the r0 vector as
Background Pressure Field 2
1
In the Physics toolbar, click Domains and choose Background Pressure Field.
2
In the Settings window for Background Pressure Field, locate the Domain Selection section.
3
From the Selection list, choose Selection: No Cloak Domain.
4
Locate the Background Pressure Field section. In the p0 text field, type 1.
5
From the c list, choose From material.
6
In the φ text field, type acpr.bpf2.k*x2.
Symmetry 2
1
In the Physics toolbar, click Boundaries and choose Symmetry.
2
In the Settings window for Symmetry, locate the Boundary Selection section.
3
From the Selection list, choose Selection: Symmetry Boundaries, No Cloak.
Group 3
1
Right-click Pressure Acoustics, Frequency Domain (acpr) and choose Node Group.
2
In the Settings window for Group, type 50 Layer Cloak Model in the Label text field.
Cylindrical Wave Radiation 3
1
In the Physics toolbar, click Boundaries and choose Cylindrical Wave Radiation.
2
3
In the Settings window for Cylindrical Wave Radiation, locate the Cylindrical Wave Radiation section.
4
Specify the r0 vector as
Background Pressure Field 3
1
In the Physics toolbar, click Domains and choose Background Pressure Field.
2
In the Settings window for Background Pressure Field, locate the Domain Selection section.
3
From the Selection list, choose Selection: 50 Layer Cloak Domain.
4
Locate the Background Pressure Field section. In the p0 text field, type 1.
5
From the c list, choose From material.
6
In the φ text field, type acpr.bpf3.k*x3.
Symmetry 3
1
In the Physics toolbar, click Boundaries and choose Symmetry.
2
In the Settings window for Symmetry, locate the Boundary Selection section.
3
From the Selection list, choose Selection: Symmetry Boundaries, 50 Layer Cloak.
Group 4
1
Right-click Pressure Acoustics, Frequency Domain (acpr) and choose Node Group.
2
In the Settings window for Group, type 20 Layer Cloak Model in the Label text field.
Cylindrical Wave Radiation 4
1
In the Physics toolbar, click Boundaries and choose Cylindrical Wave Radiation.
2
3
In the Settings window for Cylindrical Wave Radiation, locate the Cylindrical Wave Radiation section.
4
Specify the r0 vector as
Background Pressure Field 4
1
In the Physics toolbar, click Domains and choose Background Pressure Field.
2
In the Settings window for Background Pressure Field, locate the Domain Selection section.
3
From the Selection list, choose Selection: 20 Layer Cloak Domain.
4
Locate the Background Pressure Field section. In the p0 text field, type 1.
5
From the c list, choose From material.
6
In the φ text field, type acpr.bpf4.k*x4.
Symmetry 4
1
In the Physics toolbar, click Boundaries and choose Symmetry.
2
In the Settings window for Symmetry, locate the Boundary Selection section.
3
From the Selection list, choose Selection: Symmetry Boundaries, 20 Layer Cloak.
Now, mesh the geometry. Change the mesh to user defined to manually control the mesh.
Mesh 1
1
In the Model Builder window, under Component 1 (comp1) click Mesh 1.
2
In the Settings window for Mesh, locate the Mesh Settings section.
3
From the Sequence type list, choose User-controlled mesh.
Size
1
In the Model Builder window, under Component 1 (comp1)>Mesh 1 click Size.
2
In the Settings window for Size, locate the Element Size section.
3
Click the Custom button.
4
Locate the Element Size Parameters section. In the Maximum element size text field, type lam0/6.
This value, combined with the default choice of second-order elements, makes sure that the rule-of-thumb minimum of 10-12 degrees of freedom per wavelength for the solution to be reliable is satisfied.
5
Click Build Selected.
Then we will add a mapped mesh in the acoustic cloak domains. As the domains have properties that change with the radius, it is a good idea to keep a structured mesh with elements along the varying direction.
Mapped 1
1
In the Model Builder window, right-click Mesh 1 and choose Mapped.
2
In the Settings window for Mapped, locate the Domain Selection section.
3
From the Geometric entity level list, choose Domain.
4
From the Selection list, choose Selection: Acoustic Cloak.
Since the variation of properties is more pronounced toward the inner center of the acoustic cloak, add a skewed distribution to make sure that the mesh is sufficiently fine all through the domain.
Distribution 1
1
In the Model Builder window, right-click Mapped 1 and choose Distribution.
2
3
In the Settings window for Distribution, locate the Distribution section.
4
From the Distribution type list, choose Predefined.
5
In the Number of elements text field, type 20.
6
In the Element ratio text field, type 4.
The same distribution should be applied to the other edge of the domain, but with the reverse direction.
Distribution 2
1
In the Model Builder window, right-click Mapped 1 and choose Distribution.
2
3
In the Settings window for Distribution, locate the Distribution section.
4
From the Distribution type list, choose Predefined.
5
In the Number of elements text field, type 20.
6
In the Element ratio text field, type 4.
7
Select the Reverse direction check box.
Distribution 3
1
Right-click Mapped 1 and choose Distribution.
2
3
In the Settings window for Distribution, locate the Distribution section.
4
In the Number of elements text field, type 40.
5
In the Model Builder window, click Mesh 1.
6
Click Build All.
The mesh should look like this.
Study 1
Step 1: Frequency Domain
1
In the Model Builder window, under Study 1 click Step 1: Frequency Domain.
2
In the Settings window for Frequency Domain, locate the Study Settings section.
3
In the Frequencies text field, type f0.
4
In the Home toolbar, click Compute.
The following steps will update the default plots to include a cleaner view of the model with annotations of the different cloaks.
Results
Acoustic Pressure (acpr)
1
In the Settings window for 2D Plot Group, type Total Acoustic Pressure (acpr) in the Label text field.
2
Locate the Plot Settings section. Clear the Plot dataset edges check box.
Line 1
1
Right-click Total Acoustic Pressure (acpr) and choose Line.
2
In the Settings window for Line, locate the Expression section.
3
In the Expression text field, type 0.
4
Click to expand the Title section. From the Title type list, choose None.
5
Locate the Coloring and Style section. From the Coloring list, choose Uniform.
6
From the Color list, choose Black.
Selection 1
1
Right-click Line 1 and choose Selection.
2
3
In the Total Acoustic Pressure (acpr) toolbar, click Plot.
Annotation 1
1
In the Model Builder window, right-click Total Acoustic Pressure (acpr) and choose Annotation.
2
In the Settings window for Annotation, locate the Annotation section.
3
In the Text text field, type Homogenized cloak.
4
Locate the Position section. In the X text field, type x1.
5
In the Y text field, type y1+4.3.
6
Locate the Coloring and Style section. Clear the Show point check box.
7
From the Anchor point list, choose Center.
Annotation 2
1
Right-click Total Acoustic Pressure (acpr) and choose Annotation.
2
In the Settings window for Annotation, locate the Annotation section.
3
In the Text text field, type No cloak.
4
Locate the Position section. In the X text field, type x2.
5
In the Y text field, type y2+4.3.
6
Locate the Coloring and Style section. Clear the Show point check box.
7
From the Anchor point list, choose Center.
Annotation 3
1
Right-click Total Acoustic Pressure (acpr) and choose Annotation.
2
In the Settings window for Annotation, locate the Annotation section.
3
In the Text text field, type 50 Layer cloak.
4
Locate the Position section. In the X text field, type x3.
5
In the Y text field, type y3+4.3.
6
Locate the Coloring and Style section. Clear the Show point check box.
7
From the Anchor point list, choose Center.
Annotation 4
1
Right-click Total Acoustic Pressure (acpr) and choose Annotation.
2
In the Settings window for Annotation, locate the Annotation section.
3
In the Text text field, type 20 Layer cloak.
4
Locate the Position section. In the X text field, type x4.
5
In the Y text field, type y4+4.3.
6
Locate the Coloring and Style section. Clear the Show point check box.
7
From the Anchor point list, choose Center.
Total Acoustic Pressure (acpr)
1
In the Model Builder window, click Total Acoustic Pressure (acpr).
2
In the Total Acoustic Pressure (acpr) toolbar, click Plot.
The plot should look like that in Figure 2.
Sound Pressure Level (acpr)
1
In the Model Builder window, right-click Sound Pressure Level (acpr) and choose Delete.
Remove the default Sound Pressure Level plot and duplicate the Total Acoustic Pressure plot created previously. Doing this, you make sure that the annotations will be carried over to the new plots.
Total Acoustic Pressure (acpr) 1
1
In the Model Builder window, right-click Total Acoustic Pressure (acpr) and choose Duplicate.
2
In the Settings window for 2D Plot Group, type Total Sound Pressure Level (acpr) in the Label text field.
Surface 1
1
In the Model Builder window, expand the Results>Total Sound Pressure Level (acpr) node, then click Surface 1.
2
In the Settings window for Surface, locate the Expression section.
3
In the Expression text field, type acpr.Lp.
4
Locate the Coloring and Style section. From the Color table list, choose Rainbow.
5
Clear the Symmetrize color range check box.
6
In the Total Sound Pressure Level (acpr) toolbar, click Plot.
The plot should look like that in Figure 3.
Total Sound Pressure Level (acpr) 1
1
In the Model Builder window, right-click Total Sound Pressure Level (acpr) and choose Duplicate.
2
In the Settings window for 2D Plot Group, type Scattered Sound Pressure Level (acpr) in the Label text field.
Surface 1
1
In the Model Builder window, expand the Results>Scattered Sound Pressure Level (acpr) node, then click Surface 1.
2
In the Settings window for Surface, locate the Expression section.
3
In the Expression text field, type acpr.Lp_s.
Selection 1
1
Right-click Surface 1 and choose Selection.
2
3
In the Scattered Sound Pressure Level (acpr) toolbar, click Plot.
The plot should look like that in Figure 4.
1D Plot Group 4
1
In the Home toolbar, click Add Plot Group and choose 1D Plot Group.
2
In the Settings window for 1D Plot Group, type Total Acoustic Pressure Along Cloak Boundary in the Label text field.
3
Click to expand the Title section. From the Title type list, choose Manual.
4
In the Title text area, type Total acoustic pressure along cloak boundary.
5
Locate the Plot Settings section. Select the y-axis label check box.
6
7
Locate the Legend section. From the Position list, choose Center.
Line Graph 1
1
Right-click Total Acoustic Pressure Along Cloak Boundary and choose Line Graph.
2
3
In the Settings window for Line Graph, locate the y-Axis Data section.
4
In the Expression text field, type acpr.p_b.
5
Click to expand the Title section. From the Title type list, choose None.
6
Click to expand the Legends section. Select the Show legends check box.
7
From the Legends list, choose Manual.
8
9
Click to expand the Coloring and Style section. Find the Line markers subsection. From the Marker list, choose Circle.
10
In the Number text field, type 100.
11
In the Total Acoustic Pressure Along Cloak Boundary toolbar, click Plot.
Line Graph 2
1
Right-click Line Graph 1 and choose Duplicate.
2
In the Settings window for Line Graph, locate the y-Axis Data section.
3
In the Expression text field, type acpr.p_t.
4
Locate the Coloring and Style section. Find the Line markers subsection. From the Marker list, choose None.
5
Locate the Legends section. In the table, enter the following settings:
Line Graph 3
1
Right-click Line Graph 2 and choose Duplicate.
2
In the Settings window for Line Graph, locate the Selection section.
3
Click Clear Selection.
4
5
Locate the Legends section. In the table, enter the following settings:
Line Graph 4
1
Right-click Line Graph 3 and choose Duplicate.
2
In the Settings window for Line Graph, locate the Selection section.
3
Click Clear Selection.
4
5
Locate the Legends section. In the table, enter the following settings:
6
In the Total Acoustic Pressure Along Cloak Boundary toolbar, click Plot.
The plot should look like that in Figure 5.
1D Plot Group 5
1
In the Home toolbar, click Add Plot Group and choose 1D Plot Group.
2
In the Settings window for 1D Plot Group, type Speed of Sound in the Homogenized Material in the Label text field.
3
Locate the Plot Settings section. Select the y-axis label check box.
4
5
Locate the Title section. From the Title type list, choose Manual.
6
In the Title text area, type Speed of sound across line.
Line Graph 1
1
Right-click Speed of Sound in the Homogenized Material and choose Line Graph.
2
3
In the Settings window for Line Graph, locate the y-Axis Data section.
4
In the Expression text field, type sqrt(matdiag1.e1)[m/s].
5
Select the Description check box.
6
In the associated text field, type Speed of sound - First direction.
7
Locate the x-Axis Data section. From the Parameter list, choose Expression.
8
In the Expression text field, type x.
9
Locate the Legends section. Select the Show legends check box.
10
From the Legends list, choose Manual.
11
Line Graph 2
1
Right-click Line Graph 1 and choose Duplicate.
2
In the Settings window for Line Graph, locate the y-Axis Data section.
3
In the Expression text field, type sqrt(matdiag1.e2)[m/s].
4
In the Description text field, type Speed of sound - Second direction.
5
Locate the Legends section. In the table, enter the following settings:
Line Graph 3
1
Right-click Line Graph 2 and choose Duplicate.
2
In the Settings window for Line Graph, locate the y-Axis Data section.
3
In the Expression text field, type sqrt(matdiag1.e3)[m/s].
4
In the Description text field, type Speed of sound - Third direction.
5
Locate the Legends section. In the table, enter the following settings:
6
Click the y-Axis Log Scale button in the Graphics toolbar.
7
In the Speed of Sound in the Homogenized Material toolbar, click Plot.
The plot should look like that in Figure 6.
Appendix: Geometry Sequence Instructions
Add Component
In the Home toolbar, click Add Component and choose 2D.
Global Definitions
Parameters 1
1
In the Model Builder window, under Global Definitions click Parameters 1.
2
In the Settings window for Parameters, locate the Parameters section.
3
Click Load from File.
4
Geometry 1
Circle 1 (c1)
1
In the Geometry toolbar, click Circle.
2
In the Settings window for Circle, locate the Size and Shape section.
3
In the Radius text field, type 4.
4
In the Sector angle text field, type 180.
5
Locate the Position section. In the x text field, type x1.
6
In the y text field, type y1.
7
Click to expand the Layers section. In the table, enter the following settings:
Circle 2 (c2)
1
In the Geometry toolbar, click Circle.
2
In the Settings window for Circle, locate the Size and Shape section.
3
In the Radius text field, type 2*R2.
4
In the Sector angle text field, type 180.
5
Locate the Position section. In the x text field, type x2.
6
In the y text field, type y2.
7
Locate the Layers section. In the table, enter the following settings:
Circle 3 (c3)
1
In the Geometry toolbar, click Circle.
2
In the Settings window for Circle, locate the Size and Shape section.
3
In the Radius text field, type 2*R2.
4
In the Sector angle text field, type 180.
5
Locate the Position section. In the x text field, type x3.
6
In the y text field, type y3.
7
Locate the Layers section. In the table, enter the following settings:
Circle 4 (c4)
1
In the Geometry toolbar, click Circle.
2
In the Settings window for Circle, locate the Size and Shape section.
3
In the Radius text field, type 2*R2.
4
In the Sector angle text field, type 180.
5
Locate the Position section. In the x text field, type x4.
6
In the y text field, type y4.
7
Locate the Layers section. In the table, enter the following settings:
8
Click Build All Objects.
9
Click the Zoom Extents button in the Graphics toolbar.
Delete Entities 1 (del1)
1
In the Model Builder window, right-click Geometry 1 and choose Delete Entities.
2
In the Settings window for Delete Entities, locate the Entities or Objects to Delete section.
3
From the Geometric entity level list, choose Domain.
4
On the object c1, select Domain 3 only.
5
On the object c2, select Domain 3 only.
6
On the object c3, select Domain 52 only.
7
On the object c4, select Domain 22 only.
8
Click Build Selected.
The geometry should look like this.
Now that the geometry has been generated, you can proceed to simplify some of its features.
Ignore Edges 1 (ige1)
1
In the Geometry toolbar, click Virtual Operations and choose Ignore Edges.
2
In the Settings window for Ignore Edges, locate the Input section.
3
Clear the Ignore adjacent vertices check box.
4
Click Paste Selection.
5
In the Paste Selection dialog box, type 54-106 183-205 in the Selection text field.
6
The selection should look like this.
7
In the Settings window for Ignore Edges, click Build Selected.
Ignore Vertices 1 (igv1)
1
In the Geometry toolbar, click Virtual Operations and choose Ignore Vertices.
2
In the Settings window for Ignore Vertices, locate the Input section.
3
Click Paste Selection.
4
In the Paste Selection dialog box, type 56-110 191-215 in the Selection text field.
5
The selection should look like this.
6
In the Settings window for Ignore Vertices, click Build Selected.
With this clean geometry, you can proceed to generate a few selections that will be used in the model.
Geometry 1
Explicit Selection 1 (sel1)
1
In the Geometry toolbar, click Selections and choose Explicit Selection.
2
In the Settings window for Explicit Selection, type Selection: Material 1 in the Label text field.
3
Locate the Entities to Select section. Click Paste Selection.
4
In the Paste Selection dialog box, type igv1: 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45, 47, 49, 51, 53, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76 in the Selection text field.
5
The selection should look like this.
Explicit Selection 2 (sel2)
1
In the Geometry toolbar, click Selections and choose Explicit Selection.
2
In the Settings window for Explicit Selection, type Selection: Material 2 in the Label text field.
3
Locate the Entities to Select section. Click Paste Selection.
4
In the Paste Selection dialog box, type igv1: 3, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 56, 59, 61, 63, 65, 67, 69, 71, 73, 75 in the Selection text field.
5
The selection should look like this.
Explicit Selection 3 (sel3)
1
In the Geometry toolbar, click Selections and choose Explicit Selection.
2
In the Settings window for Explicit Selection, type Selection: Homogenized Cloak in the Label text field.
3
Locate the Entities to Select section. Click Paste Selection.
4
In the Paste Selection dialog box, type igv1: 4 in the Selection text field.
5
6
In the Geometry toolbar, click Build All.
It is also possible to select entities based on their spatial position. Through the next steps you will add a few selections based on the position.
Box Selection 1 (boxsel1)
1
In the Geometry toolbar, click Selections and choose Box Selection.
2
In the Settings window for Box Selection, type Selection: 50 Layer Cloak in the Label text field.
3
Locate the Box Limits section. In the x minimum text field, type -2.5+x3.
4
In the x maximum text field, type 2.5+x3.
5
In the y minimum text field, type 0+y3.
6
In the y maximum text field, type 2.5+y3.
7
Locate the Output Entities section. From the Include entity if list, choose Entity inside box.
8
Click Build Selected.
Box Selection 2 (boxsel2)
1
In the Geometry toolbar, click Selections and choose Box Selection.
2
In the Settings window for Box Selection, type Selection: 20 Layer Cloak in the Label text field.
3
Locate the Box Limits section. In the x minimum text field, type -2.5+x4.
4
In the x maximum text field, type 2.5+x4.
5
In the y minimum text field, type 0+y4.
6
In the y maximum text field, type 2.5+y4.
7
Locate the Output Entities section. From the Include entity if list, choose Entity inside box.
8
Click Build Selected.
Union Selection 1 (unisel1)
1
In the Geometry toolbar, click Selections and choose Union Selection.
2
In the Settings window for Union Selection, type Selection: Acoustic Cloak in the Label text field.
3
Locate the Input Entities section. Click Add.
4
In the Add dialog box, in the Selections to add list, choose Selection: Homogenized Cloak, Selection: 50 Layer Cloak, and Selection: 20 Layer Cloak.
5
Box Selection 3 (boxsel3)
1
In the Geometry toolbar, click Selections and choose Box Selection.
2
In the Settings window for Box Selection, type Selection: Symmetry Boundaries, Homogenized Cloak in the Label text field.
3
Locate the Geometric Entity Level section. From the Level list, choose Boundary.
4
Locate the Box Limits section. In the x minimum text field, type -5+x1.
5
In the x maximum text field, type 5+x1.
6
In the y minimum text field, type -0.5+y1.
7
In the y maximum text field, type 0.5+y1.
8
Locate the Output Entities section. From the Include entity if list, choose Entity inside box.
Box Selection 4 (boxsel4)
1
In the Geometry toolbar, click Selections and choose Box Selection.
2
In the Settings window for Box Selection, type Selection: Symmetry Boundaries, No Cloak in the Label text field.
3
Locate the Geometric Entity Level section. From the Level list, choose Boundary.
4
Locate the Box Limits section. In the x minimum text field, type -5+x2.
5
In the x maximum text field, type 5+x2.
6
In the y minimum text field, type -0.5+y2.
7
In the y maximum text field, type 0.5+y2.
8
Locate the Output Entities section. From the Include entity if list, choose Entity inside box.
Box Selection 5 (boxsel5)
1
In the Geometry toolbar, click Selections and choose Box Selection.
2
In the Settings window for Box Selection, type Selection: Symmetry Boundaries, 50 Layer Cloak in the Label text field.
3
Locate the Geometric Entity Level section. From the Level list, choose Boundary.
4
Locate the Box Limits section. In the x minimum text field, type -5+x3.
5
In the x maximum text field, type 5+x3.
6
In the y minimum text field, type -0.5+y3.
7
In the y maximum text field, type 0.5+y3.
8
Locate the Output Entities section. From the Include entity if list, choose Entity inside box.
Box Selection 6 (boxsel6)
1
In the Geometry toolbar, click Selections and choose Box Selection.
2
In the Settings window for Box Selection, type Selection: Symmetry Boundaries, 20 Layer Cloak in the Label text field.
3
Locate the Geometric Entity Level section. From the Level list, choose Boundary.
4
Locate the Box Limits section. In the x minimum text field, type -5+x4.
5
In the x maximum text field, type 5+x4.
6
In the y minimum text field, type -0.5+y4.
7
In the y maximum text field, type 0.5+y4.
8
Locate the Output Entities section. From the Include entity if list, choose Entity inside box.
Box Selection 7 (boxsel7)
1
In the Geometry toolbar, click Selections and choose Box Selection.
2
In the Settings window for Box Selection, type Selection: Homogenized Cloak Domain in the Label text field.
3
Locate the Box Limits section. In the x minimum text field, type -5+x1.
4
In the x maximum text field, type 5+x1.
5
In the y minimum text field, type -0.5+y1.
6
In the y maximum text field, type 0.5+y1.
Box Selection 8 (boxsel8)
1
In the Geometry toolbar, click Selections and choose Box Selection.
2
In the Settings window for Box Selection, type Selection: No Cloak Domain in the Label text field.
3
Locate the Box Limits section. In the x minimum text field, type -5+x2.
4
In the x maximum text field, type 5+x2.
5
In the y minimum text field, type -0.5+y2.
6
In the y maximum text field, type 0.5+y2.
Box Selection 9 (boxsel9)
1
In the Geometry toolbar, click Selections and choose Box Selection.
2
In the Settings window for Box Selection, type Selection: 50 Layer Cloak Domain in the Label text field.
3
Locate the Box Limits section. In the x minimum text field, type -5+x3.
4
In the x maximum text field, type 5+x3.
5
In the y minimum text field, type -0.5+y3.
6
In the y maximum text field, type 0.5+y3.
Box Selection 10 (boxsel10)
1
In the Geometry toolbar, click Selections and choose Box Selection.
2
In the Settings window for Box Selection, type Selection: 20 Layer Cloak Domain in the Label text field.
3
Locate the Box Limits section. In the x minimum text field, type -5+x4.
4
In the x maximum text field, type 5+x4.
5
In the y minimum text field, type -0.5+y4.
6
In the y maximum text field, type 0.5+y4.
7
In the Geometry toolbar, click Build All.