Numerical simulation of a marine current turbine in free surface flow