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