Engineering thermodynamics/JouleThomson effect
The rules permit Wikiversity articles to contain original research, which is how this section must be treated until proper references have been found. Please find and contribute references to this article.^{[1]} 
Wikipedia's proof that enthalpy is conserved[edit]
The derivation found in Wikipedia:JouleThomson effect should be learned first. The equations superficially resemble those often introduced in a physics class for a single sealed piston that permits heat flow into or out of the system, as shown to the left. P is pressure, V is volume, T is temperature, and E is internal energy. To model throttling, we require two thermodynamic systems, on each side of the throttle. We use subscripts (1,2) to denote the state variables on each side of the throttle.
The two systems exchange matter, and our attention shall be focused on a specific amount of mass, that is transferred from region 1 to region 2. The state variables and , refer to this mass before and after it passes through the throttle.
Since the walls of the throttle don't move, they do no work on the gas.^{[2]} The two pistons do work on the larger systems at each end, and this work is somehow transferred to the mass, , as it transits the throttle.^{[3]} In spite of all the chaos inside the throttle, this net work is described by the simple equation:^{[4]}
It is possible for a processes occur so rapidly that it may be conveniently described by the adiabatic approximation, meaning that there is not enough time for the transfer of energy as heat to take place to or from the system.^{[5]} We assume this to be the case for the fluid element of mass as it passes through the throttle. Borrowing from the first law of thermodynamics, we equate the work done in an adiabatic process to the change in total (internal plus kinetic) energy:
Rearrange to obtain,
where is the fluid's velocity, and the enthalpy is,
Even though the kinetic energy can be large inside the throttle, the variables, and , refer to the motion while the fluid is in the two pistons, where kinetic energy can be small (if the pistons are sufficiently wide). While passing through the throttle, large external forces can accelerate the fluid to high velocity. These forces can be turbulent and cause irreversible changes.
It is remarkable that this complexity can be modeled by such simple formulas.
Deriving the conservation of enthalpy from Euler's equations[edit]
Here we analyze the situation using Euler's equations for the fluid's motion. Although Euler's equations require vector calculus, they represent one of the simplest (and therefore least accurate) models for the motion of fluid. To avoid confusion, we adopt a somewhat unorthodox notation.
click to see the choice of symbols and the equations in slightly more convential notation 

Avoid the use of:
We shall use h as enthalpy per unit mass, but to avoid its use as height in gravitational potential, we set , so that gravitational potential energy is, .

The internal energy per unit mass is . At steady state, the compressible Euler equations in differential form are: ^{[6]}
Here, is the fluid mass density, is the fluid velocity vector, and is the pressure, and is gravitational potential. The total energy density (total energy per unit volume) is:
with being the specific internal energy (internal energy per unit mass). The specific enthalpy (i.e., per unit mass) is:
The three compressible Euler equations at steady state can be written as:
 terms that are not always zero.^{[7]}
The second equation is the familiar Bernoulli's equation, but extra terms are not shown that do not always vanish. The first and third equations can be combined using a wellknown identity involving the product of a scalar and a vector:
Here, we have used defined to be a unit vector parallel to the motion of the fluid (called the tangent vector in the FrenetSerret coordinate system). Along this direction,
 is a constant.
Other items that might be added to this page[edit]
click to view  


Footnotes and references
 ↑ The only good source I could find using a cursory internet search was Wikipedia. But I am 90% confident that these formulas are correct, and 100% confident that this argument has been presented elsewhere if it is correct. In fact, these arguments have probably been presented elsewhere even if they are wrong.
 ↑ The walls do no work in the reference frame of the throttle; the fluid element "sees" a moving wall compress it, but we are not working in that reference frame.
 ↑ Note how the work is "transferred" from the piston to the mass, , even though the mass is on the opposite side of the piston.
 ↑ The choice of minus sign is dictated by the assumption that the gas is flowing from 1 to 2
 ↑ Bailyn, M. (1994). A Survey of Thermodynamics, American Institute of Physics Press, New York, ISBN 0883187973, pp. 52–53. Text from http://en.wikipedia.org/w/index.php?title=Adiabatic_process&oldid=651370206
 ↑ permalink at http://en.wikipedia.org/w/index.php?title=Euler_equations_(fluid_dynamics)&oldid=654954466#Compressible_Euler_equations
 ↑ http://en.wikipedia.org/w/index.php?title=Euler_equations_(fluid_dynamics)&oldid=654954466#Steady_flow_in_material_coordinates