A soil-fluiddynamics analysis of a swelling-shrinking process in a clayey soil