|
Only one port should be excited at a time if the purpose is to compute S-parameters. The S-parameters are defined as acpr.S11, acpr.S21, and so on, and can be used in postprocessing.
An evaluation group for the Scattering Coefficient exists as a Predefined Plot. When evaluating, change the Data Series Operation for the port sweep parameter (PortName) to Sum to get the proper data formatting.
|
•
|
For User defined enter user defined expressions for the Mode shape pn and the Mode wave number kn (SI unit: rad/m). The modes shape will automatically be scaled before it is used in the port condition. The normalized mode shape can be visualized by plotting acpr.port1.pn (here for Port 1, and so on). Use the user defined option to enter a known analytical expression or to use the solution from The Pressure Acoustics, Boundary Mode Interface. The solutions from the boundary mode analysis can be referenced using the withsol() operator.
|
The User defined option can be used to easily define a plane-wave mode. Simply enter 1 for the mode shape and acpr.k as the mode wave number.
|
•
|
The Numeric port option is used for waveguide cross sections that are neither circular nor rectangular. In this case, a boundary mode problem is solved on the port face to compute the desired propagating mode. This option requires the use of a Boundary Mode Analysis step in the study. It should be placed before the Frequency Domain step. In the study, add one Boundary Mode Analysis step for each Numeric port and make sure to reference the proper Port name in the study step.
|
-
|
In general, for a model with losses, use the default Out-of-plane wave number option; then the wave number is taken from the Boundary Mode Analysis step. In this case, it is not possible to perform a frequency sweep in the Frequency Domain study step. Only one frequency can be used and it should correspond to the Mode analysis frequency entered in the Boundary Mode Analysis step(s). One option is to add a Parametric Sweep and define a parameter for the frequency used in both the steps. In this case, care should be taken when setting up the search criteria in the mode analysis.
|
-
|
For a model without any losses (nondispersive), select the Computed lossless mode cutoff frequency option. In this case, a frequency sweep is possible. The Boundary Mode Analysis should only be carried out at the highest frequency in the sweep. The wave number is computed analytically for all the other frequencies.
|
When the Numeric port option is used and the boundary mode analysis is run, the boundary conditions from the Pressure Acoustics model are automatically inherited in the boundary problem. For this automatic procedure, there is only support for the Sound Hard Boundary (Wall), Symmetry, Pressure, and Sound Soft conditions. If you need a more complex behavior, use the Pressure Acoustics, Boundary Mode interface in combination with the User defined port type.
|
When running a frequency domain sweep, in a model that uses either the Circular, the Annular, or the Rectangular port options, you can get a solver warning: New constraint force nodes detected: These are not stored.
|
•
|
The Circular port option is used for a port with a circular cross section. Enter the Mode number, azimuthal m (in 3D) and the Mode number, radial n to define the mode captured by the port. In 3D, also right-click the Port condition to add the Port Reference Axis when the Circular port type is selected. In 3D, also select the Azimuthal angle dependency as Sine (the default) or Cosine. This option is used to add the two orthogonal modes that exist for a given azimuthal mode number, add a new Port feature for each variant. The cutoff frequency of the mode can be evaluated in Results using the variable acpr.port1.fc (here for Port 1, and so on).
![]() |
•
|
The Annular port option is used for a port with an annular cross section. Enter the Mode number, azimuthal m (in 3D) and the Mode number, radial n to define the mode captured by the port. In 3D, also right-click the Port condition to add the Port Reference Axis when the Annular port type is selected. In 3D, also select the Azimuthal angle dependency as Sine (the default) or Cosine. This option is used to add the two orthogonal modes that exist for a given azimuthal mode number; add a new Port feature for each variant. Also enter the Tolerance (default value 1e-8) used when computing the shape of the analytical modes (used for solving the associated Bessel-like equation). The default value is in general a good choice. The cutoff frequency of the mode can be evaluated in Results using the variable acpr.port1.fc (here for Port 1, and so on).
![]() |
For the Annular option, if performing a parametric sweep over the port mode numbers m or n, only the Parametric Sweep can be used. The Auxiliary sweep option cannot be used, for this specific case.
|
•
|
The Slit port option is only valid in 2D geometries. Enter the Mode number m to define the mode captured by the port.
|
The cutoff frequency of the port modes can be evaluated in Results using the variable acpr.port1.fc (here for Port 1, and so on).
|
To ensure that the port conditions describe the acoustic field fully at an inlet/outlet it is important to include all propagating modes to form a full basis. For the Circular and Annular ports this also means including both the Sine an Cosine azimuthal angle dependencies. Add one port for each angle dependency, as soon as an azimuthal mode number m larger than 0 is included. Simply duplicate the port and switch the option.
|
•
|
The User defined (nondispersive) option is useful for models without losses (nondispersive waveguides). In this case, the mode shape remains constant over a frequency sweep and only the mode wave number kn changes. Enter an expression for the user-defined Mode shape pn; then enter the Mode wave number k0 and the Mode analysis frequency f0 at which the mode wave number k0 is defined. The wave number kn for a given frequency is then automatically computed and used for setting up the port.
|
•
|
When Use symmetries is selected, symmetry conditions adjacent to the port will automatically be taken into account if the Port area multiplication factor is set to Automatic (the default); if set to User defined, enter the area multiplication factor Ascale manually.
|
•
|
When Selected boundaries is selected, the port will have the area of the selected boundaries, without taking any symmetry conditions into account.
|
The Port condition can only be applied to connected boundaries and the boundaries should typically be coplanar. The port condition can in principle be applied to a curved continuous boundary, but care should be taken that the setup is mathematically and physically consistent.
|
The Port boundary conditions should in general be placed at least one waveguide diameter from other geometry features to ensure that only a pure fully developed propagating wave exists at the port. Note also that the port condition does not treat possible evanescent waves.
|
•
|
For Amplitude, enter the amplitude
![]() |
•
|
For Power, enter the power
![]() |
•
|
For both options, enter the phase φ (SI unit: rad) of the incident wave. This phase contribution is multiplied with the amplitude defined by the above options. The Amplitude input can be a complex number.
|
For the Circular and Rectangular options make sure to only select modes that are actually symmetric according to the symmetry planes.
|
The port condition is in general not compatible with the Background Pressure Field domain feature. Combining the two will generate unphysical results if placed next to each other.
|
|