January 27, 2020 by

### Soil Hydraulic Functions in Matlab

#### Water Retention Functions

The *van Genuchten* (1980) model is the most widely used water retention curve function:

where the effective saturation is defined as:

\[\Theta = \frac{(\theta - \theta_{r})}{ (\theta_{s} - \theta_{r})}\]The hydraulic conductivity function is defined using Mualem Model.

The hydraulic capacity function.

The following function takes a scalr or vector of `u`

as input:
test