Simulation of a gas-condensate mixture passing through a porous medium in depletion mode