For gradient based optimization a dedicated operator exists in 3D for the pressure pext_opt(x,y,z) and for the sound pressure level Lp_pext_opt(x,y,z). These two operators can be used to define objective functions, like specifying a target spatial response. The operator only exists when the Symmetry type option is set to Symmetry planes (the default), this is in particular true when all symmetry planes are set to Off.
An example is given in the Shape Optimization of a Rectangular Loudspeaker Horn in 3D tutorial. Application Library path Acoustics_Module/Optimization/rectangular_horn_shape_optimization
|
•
|
For Symmetry planes, if no symmetry conditions are used (the default) the exterior field feature boundaries should form a fully closed surface. If necessary, select and add a condition for one of the Cartesian coordinate planes (with a possible offset) to model either a symmetry condition in the plane (which is the same as an infinite sound hard boundary) or an antisymmetry condition in the plane (which is the same as an infinite sound soft boundary). The infinite sound hard boundary option is especially useful when modeling system with an infinite baffle configuration.
|
•
|
The Sector symmetry options allows the underlying geometry to represent only a sector (an subdivision of a full 360o rotation). Select and define the properties of the sector. First select the Transformation applied to the sector, either Rotation (the default) or Reflection and rotation. For the latter enter the Reflection plane used for the initial reflection of the sector. The selection is restricted to the main coordinate planes (move and rotate the geometry if necessary). The offset distance (x0, y0, z0) is given by the point a0. Enter the coordinates for the Point on sector symmetry axis, a0 as well as the Sector symmetry axis direction, adir (default is adir = (0, 0, 1)). Enter the Number of sectors n, which has to be an integer and for the Reflection and rotation option an even integer. Finally, if the pure Rotation option is selected enter an optional Azimuthal mode number m (the default it 0). This option is typically only relevant when used together with Periodic Condition.
|
•
|
The Sector symmetry with one symmetry plane option allows for the combination of sector symmetry and a single symmetry plane, under certain restrictions. First, select the single Symmetry plane and symmetry Condition. The offset distance (x0, y0, z0) is given by the point a0. Then follow the same settings as for the Sector symmetry option. Note that the sector symmetry axis direction adir is automatically defined as being normal to the single symmetry plane.
|
The exterior field pressure is evaluated using the exterior field operator (the name is defined in the Exterior field variable name input field, the default is pext).
To evaluate the pressure in a point (x0,y0,z0), simply write pext(x0,y0,z0). To evaluate the sound pressure level in the same point, it is advantageous to use the subst() operator and write, for example, subst(acpr.efc1.Lp_pext,x,x0,y,y0,z,z0).
An example of this is given in the Loudspeaker Driver — Frequency-Domain Analysis tutorial model from the Acoustics Application Libraries.
|
If the subst() operator and the exterior field operator pext() are used together, you should never use the frame coordinates as arguments. Instead use dummy variables and write, for example:
|
In 2D axisymmetry the evaluation of the exterior-field integral automatically includes the Azimuthal mode number m from the Pressure Acoustics Equation Settings. For postprocessing purposes, for example in a Radiation Pattern plot, it is necessary to include the azimuthal component explicitly by writing: pext(r,z)*exp(-i*acpr.m*phi).
|
The ppr() operator is not added when the exterior field calculation is performed on an external boundary or a boundary adjacent to a perfectly matched layer (PML) domain. In the latter case, the down() or up() operator is automatically added in order to retrieve values of variables from the physical domain only.
|
|
|