Advances in Water Resources Accurate determination of characteristic relative permeability curves