This question already has an answer here:
Suppose I place a cylinder filled with ideal gas is placed on a train, which starts moving. Does the kinetic energy of the gas molecules increase? Will the temperature of the gas rise as a consequence?
Further details: This question arises from a book I was reading, which states that
The motion of molecules is truly random. In other words, the center of mass of the gas is assumed to be at rest and any rotation about the center of mass is assumed to be absent. Any systematic motion of a gas sample has no effect on temperature.