Implementation Of The Phase Field Method With The Immersed Boundary Method For Application To Wave Energy Converters