Comparisons between tokamak fueling of gas puffing and supersonic molecular beam injection in 2D simulations