I understand that I can use wall adhesion to set a specified contact angle and I can vary it with a UDF. However, I would like the contact angle to be able to change freely during some portions of my simulation (basically have wall adhesion disabled), but at other times I'd like to fix a specified contact angle. Is it possible to toggle the boundary condition on and off like this using a UDF? It seems like if I hook a UDF up to the contact angle BC and don't specify a contact angle (which I thought might essentially disable wall adhesion) it behaves strangely and assumes some arbitrary contact angle.
Alternative, if there were a way for me to manually set the contact angle outside of the wall adhesion settings, that could potentially work too. I could just leave wall adhesion disabled and fix the contact angle manually when needed. However, I can't immediately think of a way to do that where it would actually fix the value like it does using the DEFINE_PROFILE macro.