An immersed boundary based dynamic contact angle framework for handling complex surfaces of mixed wettabilities | Synapse