Numerical simulation of dynamic contact angle using a force based formulation