The early phases of galaxy clusters formation in IR: Coupling hydrodynamical simulations with GRASIL-3D