Numerical modeling of wave-current interaction with the use of a two-way coupled system