52 Systems with variable composition
Foraspontaneous process Ddξ is positive and Ddξ/T is equal to the internal production
of entropy. If there were a mechanism by which one could extract another kind of work
than through a volume change, PdV, then it should have been included in W in the first
definition of the first law, Eqs (1.1) and (1.2), and it would have been considered all
through the derivations and appear in Eq. (3.40). Of course, extracted work should be
given with a minus sign. Equation (3.40)would thus have been modified
dG =−dW
extr
− Ddξ. (3.41)
Forareversible process one obtains
dW
extr
=−dG; W
extr
= G(initial) − G(final). (3.42)
This gives the maximum work that can be extracted. It is clear that G(final) is evaluated
for T and P of the surroundings. It is also evident that G(initial) must be given as
G(initial) = U(T
in
, P
in
) − TS(T
in
, P
in
) + PV(T
in
, P
in
), (3.43)
because any two extensive quantities can only be compared if the law of additivity applies.
The quantity W
extr
can be regarded as the part of the energy of the initial system
that is free to be transformed into useful work. That is why Gibbs energy was initially
called Gibbs free energy. If the surroundings are instead a reservoir of constant T and
V then one should repeat the derivation starting from the Helmholtz energy and that is
the reason why it was initially called Helmholtz free energy. Often one extracts work by
allowing the system to react with a chemical compound in the surroundings, usually O
2
used for burning a fuel. In that case, the appropriate free energy function would be found
by considering a reservoir with constant T, P and µ
O
,
d = d(G − N
O
µ
O
) =−SdT + V dP + µ
j
dN
j
− N
O
dµ
O
− dW
extr
− Ddξ.
(3.44)
Forareversible process under constant P, T, N
j
and µ
O
,wefind
W
extr
= G(initial) − G(final) − µ
O
[N
O
(initial) − N
O
(final)], (3.45)
where N
O
(final) is the total content of O after the system has received enough O
2
from
the surroundings to burn the fuel.
It is evident that, what has here been called free energy, must be defined in different
ways depending on the surroundings or on how the system reacts with the surroundings.
In mechanical engineering it is often called exergy.
3.5 Various forms of the combined law
In Section 3.3 the discussion was based on the energy scheme, which starts from the
combined law in the form
dU = T dS − PdV +µ
i
dN
i
− Ddξ, (3.46)
where all the independent variables are extensive ones. It defines the following set of
conjugate pairs of variables (T, S), (−P, V ) and (µ
i
, N
i
). However, there are many more