Interacting expensive functions on rectangular and spherical domains