Design of a Direct numerical Simulation of flow and heat transfer in a T-junction