The Scale-dependent Energy Transfer Rate as a Tracer for Star Formation in Cosmological N-Body Simulations