A four-port scattering junction is shown in Fig. 2.
When viewed as a mechanical system, each junction is bounded by the following conditions:
The port velocities at a given junction must be equal because the medium is continuous at that point:
The forces exerted by all the connections must balance or sum to zero at the junction:
The traveling-wave components at the junction,
and
, are related by their respective port wave impedances:
and
.
When these relationships are combined, the following lossless scattering equations for a generalized -port junction can be derived:
For homogeneous, isotropic media, the various wave impedances are equal, allowing the junction velocity calculation above to be simplified to:
For the case of a four-port () junction, the scale factor reduces to , which can be implemented in fixed-point arithmetic with a bit shift.
The junctions are separated from each other by unit delays, so an input wave variable of one port of one junction is equal to the output at the adjacent junction port from the previous time step:
The various junction equations can be manipulated to show that the 2D digital waveguide mesh structure implements the standard second-order finite difference scheme applied to the partial differential wave equation of the ideal membrane (see this link
for details),
with wave propagation speed
and the time and spatial sampling intervals (, , ) all equal to one another.
The 2D rectilinear mesh implements a wave propagation speed equivalent to one-half unit diagonal distance per time sample. Intuitively, this can be understood as occuring because of a doubling of waveguide mass density.