Among the tools which serve to predict heat and mass transfer in a mechanically ventilated room, the CPD is increasingly used . However, this type of tool needs a correct description of the boundary conditions, especially concerning the air inlet. The ventilation inlet is often geometrically complex and many models exist in order to simplify their eq uivalent bou ndary conditions included in CFD codes. Nevertheless , none of these simplified models can pred ict the correct behavior of flows issuing ,for example, from a T-pipe, a bend or a more complex ventilation system. The main idea is then to model a part of the ventilation system with the help of CFD and to impose the boundary conditions on a fully developped flow section situated far from the inlet. The val idation of our approach consists in the comparison of experimental and numerical data obtained for a mechan ically ventilated room with and without thermal effects. Our model has also been tested with more complex diffusers to illustrate its interest.