Development of phase field methods for direct numerical simulation of wetting processes using OpenFOAM