The first law of thermodynamics states that the change in internal energy of a system is equal to the heat supplied to the system minus the work done by the system. For a closed system undergoing a process, this can be expressed as ΔU=Q-W. The first law applies to both closed systems undergoing non-flow processes as well as open systems undergoing steady flow processes. For non-flow processes such as constant volume, constant pressure, isothermal, and adiabatic processes, the first law allows determining the relationships between heat, work and changes in internal energy or enthalpy. For steady flow processes, the general energy equation accounts for changes in kinetic and potential energy of the fluid in addition to heat