Determination of wave energy dissipation factor and numerical simulation of wave height in the surf zone