# First Law of Thermodynamics

### From Thermal-FluidsPedia

The first law of thermodynamics, an expression of the principle of conservation of energy, states that energy can be transformed (changed from one form to another), but cannot be created or destroyed. It is usually formulated by saying that the change in the internal energy of a system is equal to the amount of heat supplied to the system, minus the amount of work done by the system on its surroundings.

## Open Systems

In open systems, matter may flow in and out of the system boundaries. The first law of thermodynamics for open systems states: the increase in the internal energy of a system is equal to the amount of energy added to the system by matter flowing in and by heating, minus the amount lost by matter flowing out and in the form of work done by the system. The first law for open systems is given by:

where Uin is the average internal energy entering the system and Uout is the average internal energy leaving the system

The region of space enclosed by open system boundaries is usually called a control volume, and it may or may not correspond to physical walls. If we choose the shape of the control volume such that all flow in or out occurs perpendicular to its surface, then the flow of matter into the system performs work as if it were a piston of fluid pushing mass into the system, and the system performs work on the flow of matter out as if it were driving a piston of fluid. There are then two types of work performed: flow work described above which is performed on the fluid (this is also often called PV work) and shaft work which may be performed on some mechanical device. These two types of work are expressed in the equation:

Substitution into the equation above for the control volume cv yields:

The definition of enthalpy, H, permits us to use this thermodynamic potential to account for both internal energy and PV work in fluids for open systems:

where E represents the energy of the system. In the absence of an external field, the enthalpy may be defined, as it is generally known, by:

where (all units given in SI)

- H is the enthalpy (in joules),
- U is the internal energy (in joules),
- p is the pressure of the system, (in pascals), and
- V is the volume, (in cubic meters).

During steady-state operation of a device (see turbine, pump, and engine), any system property within the control volume is independent of time. Therefore, the internal energy of the system enclosed by the control volume remains constant, which implies that dUcv in the expression above may be set equal to zero. This yields a useful expression for the power generation or requirement for these devices in the absence of chemical reactions:

This expression is described by the diagram above.