Moving Boundary Conditions for Wave Generation