In the realm of kinetic theory of gases, the internal energy of gas is solely due to the sum of kinetic energies of all particles, since kinetic energy is frame dependent I was thinking whether a container having gas will heat up if I put it in a moving train, which is accelerating?
The total energy of the gas is the sum of its internal energy at the molecular level and its external energy at the macroscopic level.
The external kinetic energy is due to the velocity of the center of mass of the collection of molecules with respect to an external frame of reference. The internal kinetic energy does not depend on an external frame of reference.
The temperature of the container of gas will not increases due to the velocity of the container.
Hope this helps