[6184.108.40.206] In this section we discuss how the experiment is represented mathematically.
[6220.127.116.11] The four mass balance equations (1) are solved numerically.
[618.104.22.168] First, equations (6) and (7)
are used to eliminate and .
[622.214.171.124] The primary variables are and .
[6126.96.36.199] The mass balances are discretized in space by cell centered finite volumes with upwind fluxes.
[6188.8.131.52] They are discretized in time with a first order implicit fully coupled scheme.
[6184.108.40.206] The corresponding system of nonlinear equations is solved with the Newton-Raphson method.
[6220.127.116.11] The whole scheme is implemented in Matlab.
[618.104.22.168] The simulation is run with a resolution of one cell per centimeter,
i.e. with collocation points.
[622.214.171.124] Details of the algorithm are given elsewhere .
[6126.96.36.199] Dirichlet boundary conditions for the pressure of the percolating water phase are imposed at the lower boundary (), where pressure is determined by the water reservoir. [6188.8.131.52] Dirichlet boundary conditions for the atmospheric pressure of the percolating air phase are chosen at the upper boundary () of the column. [6184.108.40.206] All the other boundaries are impermeable so that the flux across them must vanish.
[6220.127.116.11] The initial conditions are , , , for all [618.104.22.168] Initial conditions for the pressures are not required because of the implicit formulation. [622.214.171.124] Before the protocol for the pressure is started, the system is given one day under hydrostatic water pressure conditions to equilibrate.
[6126.96.36.199] The parameters for the simulation are given in Table 1. [6188.8.131.52] They were obtained by fitting the primary drainage curve of the capillary pressure saturation relationship obtained in the residual decoupling approximation  to the primary drainage curve of van Genuchten parametrization that  obtained by a fit to data of the first drainage process in the experiment. [6184.108.40.206] The van Genuchten parameters in  are , , , , , , , . [6220.127.116.11] The resulting capillary pressure curves are compared in Figure 2. [618.104.22.168] The viscous resistance coefficients were obtained through , , where was again taken from . [622.214.171.124] The viscous resistance coefficients for the non-percolating phases are assumed to be much larger than those for the percolating phases . [6126.96.36.199] For the time-scale of the experiment the results do not depend on the numerical values of the resistance coefficients given in Table 1 .