Sequential optimization of the geometrical parameters of an OWC device based on the specific wave characteristics