Drain and Undrain boundary?

Hi everyone,

When I want to conduct drain or undrain experiments, how should I add boundary conditions to my model?

Thank you!