Nonequilibrium thermodynamics

Nonequilibrium thermodynamics is a branch of thermodynamics concerned with studying timedependent thermodynamic systems, irreversible transformations and open systems. Nonequilibrium thermodynamics is most successful in the study of stationary states, where there are nonzero forces, flows and entropy production, but no time variation.
Contents 
Basic concepts
The basic thermodynamic potential in equilibrium thermodynamics is, depending on the conditions, the internal energy (U) or a variation such as enthalpy (H = U + PV), Helmholz free energy (F = U  TS) or Gibbs free energy (G = U + PV  TS). However, in nonequilibrium thermodynamics it is entropy (S) that takes center stage. Irreversible transformations are characterized by net entropy production.
Nonequilibrium thermodynamics applies to situations where the system under study is not in thermodynamic equilibrium but can be broken into subsystems which are sufficiently small to be in equilibrium, while still being large enough that thermodynamics is applicable to them. This hypothesis is known as local equilibrium. In some cases, there will be a discrete collection of systems interacting with each other through a discrete collection of channels. Continuous systems are studied by measuring extensive quantities per unit volume (as densities) and assuming that intensive quantities have locally defined values; this means that all thermodynamic variables can be represented by fields. Differences or gradients of intensive parameters are called thermodynamic forces, and they cause flows of the extensive variables.
When an open system is allowed to reach a stationary state, it organizes itself so as to minimize total entropy production. This principle, emphasized by Ilya Prigogine among others, allows one to formulate stationarystate nonequilibrium thermodynamics using variational principles. Another powerful tool is provided by the Onsager reciprocal relations, which assert a certain symmetry between the response of two different flows to each other's thermodynamic forces.
Flows and forces
Suppose that entropy S is given as a function of a collection of extensive variables E_{i}. Each extensive variable has a conjugate intensive variable called a thermodynamic force:
 <math> I_{i} := \partial{S}/\partial{E_{i}} \mbox{,} \! <math>
so that
 dS = Σ_{i} I_{i} dE_{i}.
Each of the extensive variables E_{i} is assumed to be conserved. This means that the following continuity equations hold:
 <math> \partial{E_{i}}/\partial{t} + \nabla \cdot \mathbf{J}_{i} = 0 \mbox{,} \! <math>
where J_{i} is the flux density of E_{i}.
It is possible to add source terms to the righthand side if necessary.
Entropy production, the second law, and the Onsager relations
The timevariation of the entropy is then equal to
 <math> \partial{S}/\partial{t} = \sum_{i} I_{i}\, \nabla \cdot \mathbf{J}_{i} = \nabla \cdot \sum_{i} I_{i}\mathbf{J}_{i} + \sum_{i} \nabla{I_{i}} \cdot \mathbf{J}_{i} \mbox{.} \! <math>
Here, Σ_{i} I_{i}J_{i} is a reversible entropy flow (resulting in entropy thansfer through the boundaries of the system) and Σ_{i} ∇I_{i} · J_{i} is the rate of entropy production in the bulk.
In this context, the second law of thermodynamics can be stated as requiring that the rate of entropy production be nonnegative, that is,
 Σ_{i} ∇I_{i} · J_{i} ≥ 0.
Otherwise, it would be possible to set up a configuration of thermodynamic forces and flows resulting in a decrease of entropy in an isolated system. This condition restricts what flows are possible in the pressence of given thermodynamic forces, without applying external work.
In the regime where both the flows are small and the thermodynamic forces vary slowly, there will be a linear relation between them, parametrized by a matrix of coefficients conventionally denoted L:
 J_{i} = Σ_{j} L_{ij} ∇I_{j}.
The second law of thermodynamics requires that the matrix L be positive definite. Statistical mechanics considerations involving microscopic reversibility of dynamics imply that the matrix L is symmetric. This fact is called the Onsager reciprocal relations.
Stationary states and the principle of minimal entropy production
Still needed.
Applications
Still needed.