An immersed boundary based dynamic contact angle framework for handling complex surfaces of mixed wettabilities. (December 2018)