using hygroscopic material or material swelling in the presence of liquid