We investigate the water distribution and the link between suction and water content in granular media. Firstly, we examine the effect of suction on the shape and the volume of the liquid bridge for different parameters (grain radius, inter-particle distance, contact angle, surface tension). This local behaviour is then used in a discrete element study of a sample composed of several thousands of grains. We focus our study on the pendular state. The existence of a liquid film around the grains which involves the continuity of the liquid phase is assumed. The water distribution and the water content associated with a given suction are calculated. Then retention curves of the granular media are built. Four different methods are used. The first is based on the local expression of the capillary force coupled with the “gorge method,” the second is based on the Laplace equation, and the third and the fourth are based on the integration of the differential equation that defines the liquid bridge shape. A parametric study is made to bring to light the effect of macroscopic parameters (grain-size distribution, density) and physical parameters (liquid/air surface tension, contact angle) on the water retention curve. Finally, numerical data are compared to experimental results. [ABSTRACT FROM AUTHOR]