Numerical simulation of a wawe generator: a case of study