SCATTER
a program for computing scattering from a smooth periodic surface

User's manual


This on-line manual is designed to be text-only. So it doesn't contain special mathematical graphics, and hence differs a little bit from the original TeX-typeset manual.  Because of this restriction, some notation here differs from that in TeX manual: k corresponds to $\omega$, Aj -- to $u_j^{(+)}$, and Bj -- to $u_j^{(-)}$,
  Contents
  1. Purpose of the program
  2. Mathematical statement of the problem
  3. The program's interface
  4. Admissible quantities
  5. Testing
  6. About the algorithm
  7. Contact information


1. Purpose of the program

The program calculates amplitudes of propagating plane waves resulting from reflection of a plane wave incident upon an infinite cylindrical periodic surface. Cylindrical  means that in coordinates (x,y,z) the cross-section of the surface by a plane   y=y0   is independent of   y0. Periodic   means that the surface is invariant under shift by a period d in  x-direction. The program treats the scattering problem in dimensionless form, with fixed value d= 2 pi = 6.283....

The mathematical model of the scattering is common for acoustic and electromagnetic waves; in the latter case we assume the Poynting vector to lie in the cross-section plane  (x,z).

This version deals with Dirichlet's boundary condition, which corresponds to infinitely conducting surface and E-polarization in case of EM scattering, and to acoustically soft surface for acoustic scattering.

We use here the term   scattering; it is equivalent to   diffraction.


2. Mathematical statement of the problem

Consider the Helmholz equation

uxx + uzz + k2 u = 0,
in the upper half-plane  z > h(x)  with a wavy periodic boundary
z = h(x) = h(x+d).
Function h(x) is assumed smooth (in fact, a trigonometric polynomial).

Let u=u(x,z) be a quasiperiodic function with the Floquet exponent p,  -0.5 < p <= 0.5,  i.e.

u(x+d, z) = exp(6.283.. i p) u(x,z).
If  u  is a quasiperiodic solution of the Helmholtz equation, then components uj(z) in its Fourier-Bloch expansion
u(x,z) = Sumj uj(z) exp(ipjx),     where     pj=p+j,
satisfy ordinary differential equations
d2uj / dz2 - gj2 uj(z) = 0,     where     gj2 = pj2 - k2 ,
when  < I>z > max h(x). We are interested in solutions that are bounded as z tends to infinity. For j such that   |pj| > k,   there is only one bounded mode   exp(-gjz) (assuming natural choice of the square root: gj > 0). There is a finite number of j such that |pj| < k. For such  j define
qj = sqrt(-gj2) > 0.
There are two linearly independent bounded solutions,   exp(-i qj z),   and   exp(+i qj z),   which correspond to incident ("-") and reflected ("+") plane waves.

The total field u in far zone (i.e. for large z > 0) has asymptotics

u(x,z) ~ Sum|pj| < k {Aj exp  i( pj x + qj z) + Bj exp  i( pj x - qj z) }
Linear relationship between the sets of coefficients   {Aj}   and   {Bj}
Aj  =  Sum|pj|< k  Sjl  Bl
is determined by a boundary condition. The matrix  S=(Sjl )   is called  scattering matrix.

This version of SCATTER calculates matrix S in case of the Dirichlet boundary condition

u(x,z)|z=h(x) = 0.


3. The program's interface

Call the program from the DOS command line as follows:

scatter   name  of  data  file [ name  of  result  file]

If the argument in square brackets is not present, the result file will have the same name as the data file, but with extension   .res.  (Data file may have any extension; the author suggests   .dat   as a convention.)

Structure of the data file

The data file contains several numerical parameters written according to their type: integers without decimal point, reals in a standard form (0.34, 9, 1.2E-3 are acceptable alike). The parameters must be separated by blank(s) or by newline (as words in a text file). No other separators such as commas, names of the parameters with equality signs etc. are required.

  The parameters are:

  p   :   Floquet exponent  (real)

  omega (or k)  :  Frequency (wavenumber)  (real)

  NCoef  :   Number of Fourier coefficients of the profile  (integer)

  
   h(x) = Sumj=0NCoef a[j] cos(jx) + Sumj=1NCoef b[j] sin(jx)

  a[0..NCoef]  :   Coefficients at  cos(jx)  (reals)

  b[1..NCoef]  :   Coefficients at  sin(jx)  (reals)

  NPt  :   Number of collocation points  (integer)

  ord  :  Order of the numerical method  (integer, 0..3)

The main result - scattering matrix S - will be written in results file. Elements of S are presented in the form  real  part   + i * imaginary  part.

The matrix is written row by row. If the number of propagating modes is big (i.e. wavelength is short), then rows are long. Keep this in mind when watching the results in a text editor and printing them out.

The program also outputs to the screen: size of the scattering matrix (i.e. a number of such j  that  |p+j|<k) and uniform energy error, i.e. the maximum absolute value of elements of the matrix S*S-I.


4. Admissible quantities
A. The following restrictions are explicitly assumed:
1) -0.5< p<=0.5
2) p< k<= 20.0
3) k+p   and   k-p are not whole numbers (i.e. neither of  qj   is zero)
4) NCoef  in [0..16]
5) NPt  in [1..160]
6) ord  in [0..3]
An error message appears if any of these restriction is violated.
B. For large values of coefficients  a[j], b[j]   and/or large wavenumber k you can obtain incorrect results even using maximal admissible values of NPt and ord. The value  ord=3   is always recommended. Compared with  ord=0  , it doesn't noticeably slow down a computation.


5. Testing

The program has been tested in the following ways:

1) Scattering on flat surface (h(x)=const); analytical solution is known.
2) Small  |h(x)|  and   ; NCoef ; approximate analytical solution is known.
3) Unitarity test; exact matrix S must always be unitary.
4) "Selection rules": if the least period of the boundary is less than d, then some elements of the scattering matrix must vanish.
5) Scaling test: If m is an integer > 1, then the matrix S' for the problem with  h'(x)=m h(mx),  k'=k/m,   p'=p/m   must be a submatrix of the scattering matrix S corresponding to  h(x), k, p.


6. About the algorithm

The calculation of the reflected amplitudes is based on solving an integral equation of the 1-st kind on the boundary. Discretization of the boundary integral equation in case of   ord=0  is a plain trigonometric collocation. The program implements a strong enhancement to the trigonometric collocation method developed in Ph.D. thesis of B.A. Amosov (1989). In the enhanced method, the matrix of discretized integral equation has a form:
    first approximation+corrections.
Parameter  ord  of the program is a number of corrections. Actually, 2-nd correction is zero, so results obtained with  ord=1  and  ord=2  are identical. Theoretical order of convergence is  o(1)  for  ord=0;   O(1 / N2)   for  ord=1,2;  and  O(1 / N4)   for  ord=3.

However, in case of a high or faster-oscillating profiles, or in case of a big wavenumber (~> 10), higher order methods become advantageous only with a big number of discretization points, which may exceed the limit for NPt set in the program.

Computation of the corrections is much faster than computation of the first approximation. The latter requires summation of slowly convergent series (when calculating the kernel of quasiperiodic Green function). For this purpose the Euler-Knopp method of convergence acceleration (a kind of summation by parts) is used.

The program user Gauss's linear solver with partial pivoting.


7. Contact information
The author welcomes your comments and suggestions.

Dr. Sergey Yu.Sadov
Institute of Applied Mathematics,
Miusskaja sq. 4,
125047 Moscow
Russia

Fax: (007-095) 972-07-37

E-mail: sadov@spp.keldysh.ru

Back to the top

SCATTER's home page


Copyright (C) Sergey Yu. Sadov   1995, 1999