A theory on water activity between drill-fluid and shale