For small irrotational surface gravity waves, write the velocity field as . Incompressibility gives . The rigid walls have at , at , and at . At , the linear kinematic boundary condition and pressure condition are
Separate variables for a rectangular standing surface-gravity mode:
The horizontal cosine factors and vertical hyperbolic cosine satisfy all rigid-wall conditions. Put and . The free-surface conditions give and , hence
Both integers are nonnegative and not both zero. The zero pair would be a spatially uniform displacement, excluded by fixed fluid volume; a spatially constant potential is only a gauge mode.
For
the normal derivative at contains and the normal derivative at contains . Both therefore vanish at the side walls.
At , has exactly the same horizontal dependence as the imposed pressure. The dynamic boundary condition is consequently consistent provided has that same horizontal mode. This is the rectangular standing surface-gravity mode selected by the forcing.