In the seminar we present a multiphase multicomponent model originally developed at LH2 for the simulation of non-isothermal multiphase processes in the subsurface and the modifications necessary for modeling multiphase processes in the diffusion layer of PEM fuel-cells.The results of two studies one on the influence of capillary pressure and another on the effect of different flow regimes on the system behavior will be discussed.