Smart interfaces for wetting and phase change control