The flow in a trapezoidal cavity (including the rectangular and triang
ular cavities) with one moving wall is studied numerically by finite d
ifferences with special treatment in the corners. It is found that str
eamlines and vorticity distributions are sensitive to geometric change
s. The mean square law for core vorticity is valid for the rectangle b
ut ceases to be valid for the triangular cavity.