Generation of stable solitary waves by a piston-type wave maker