The paper presents the mathematical modelling of selected isothermal separation processes of gaseous mixtures, taking place in plants using membranes, in particular nonporous polymer membranes. The modelling concerns membrane modules consisting of two channels - the feeding and the permeate channels. Different shapes of the channels cross-section were taken into account. Consideration was given to co-current and counter-current flows, for feeding and permeate streams, respectively, flowing together with the inert gas receiving permeate. In the proposed mathematical model it was considered that pressure of gas changes along the length of flow channels was the result of both - the drop of pressure connected with flow resistance, and energy transfer by molecules of gas flowing in a given channel to molecules which penetrate this channel from the adjacent channel. The literature on membrane technology takes into account only the drop of pressure connected with flow resistance. Consideration given to energy transfer by molecules of gas flowing in a given channel to molecules which penetrate this channel from the adjacent channel constitute the essential novelty in the current study. The paper also presents results of calculations obtained by means of a computer program which used equations of the derived model. Physicochemical data concerning separation of the CO2/CH4 mixture with He as the sweep gas and data concerning properties of the membrane made of PDMS were assumed for calculations.