Ignoring time dilation for a moment, we can examine the movement of any point within the tube via Newton’s second law, i.e. that the acceleration that some object or particle experiences is the force acted on it divided by it’s mass (a = F / m), and that the Force is the sum of all forces acting on it.
In a situation such as this, there will be three main forces acting on the particle: the force of gravity exerted by the mass, the pressure exerted by the gas above some point, and the pressure exerted by the gas below some point. For the latter two, above will be furthest from the mass, while below will be closest to the mass. This gives us a somewhat general F = F_below - F_above - F_Grav. This leads to a natural equilibrium at F_Grav = Δp. Now, an ideal gas from your problem follows the equation pV=nRT, where p = pressure, V = volume, n = number of moles of a the gas, R = gas constant of 8.314 j/mol*k, and T is temperature.
Let’s take some infinitesimally thin slice of the tube. since we want a slice where F_Grav = Δp. Derivation of the ideal gas law gives us that ΔpV+pΔV=nRΔT (or, in its infinitesimal form, dpV+pdV=nRdT). Since ΔV = 0, we are left with ΔpV=nRΔT => Δp*V / nR = ΔT. This implies that the ideal gas that is closer to the mass is at a higher temperature than the gas further from the mass. Mind you, only parts of the tube within an area of high gradient of gravity will see any appreciable differences in temperature.
As to the exact relationship that we’ll see, gravity falls of as 1 / r[sup]2[/sup], so the exact conditions in the tube will depend on several factors; where the tube starts and ends and how much gas is within the tube. Of course, this is with an ideal gas.
Now, bringing time dilation into play, as people above have said, based on how fast particles are traveling and how close they are to the mass, they’ll experience varying amounts of time dilation. To put it simply, the closer to the mass or the faster you are going, the more dilation there is. The full equation near a non-rotating body is as thus: link because black text on black background
Just assume that math is happening in the above equation.
The momentum is conserved, but the energy is affected. At least, based on how fast it’s moving, via special relatively. At relativistic speeds, kinetic energy is subject to the lorentz transformation. K = mc[sup]2[/sup] / (1 - v[sup]2[/sup]/c[sup]2[/sup])[sup]1/2[/sup] - mc[sup]2[/sup]. Indeed, energy is affected by velocity, as we should expect from special relativity. However, it’s important to note that this is not a consequence of time dilation.
Short version: There’s a temperature gradient that’s related to the force of gravity at a point, are time dilation exists for particles close to the mass and are are traveling fast, and YES, it can be shown mathematically.
EDIT: And no, time dilation does changes only the passage of time. Temperature and energy are unaffected.