Thermodynamics
The first and second laws of thermodynamics
Fondamental : Definition of the internal energy
Consider a thermodynamic system at rest in the laboratory reference (R) (gas in a vessel, solid, ...).
The internal energy is a state function of a system : it is defined in the equilibrium state of the thermodynamic system.
Sum of microscopic kinetic energies of the system constituents and of the potential energy of mutual interaction between the constituents.
It is a function of the system state variables.
If the system (with masse ) is in movement in (R), the mechanical energy will then take into account the macroscopic kinetic energy and macroscopic gravitational potential energy :
Where is the center of inertia of the system.
Fondamental : Statement of the first law
Consider a closed and motionless thermodynamic system in the laboratory frame (R).
This system undergoes a transformation in which its internal energy varies :
This variation is due to two contributions :
To the work of forces (pressure, for example) that act on the system .
To heat transfer (amount of heat) received by the system .
The first law of thermodynamics is the law of conservation of energy :
For an elementary transformation (reversible or quasistatic) :
If the system is driven by an ensemble movement which respects to the laboratory frame (R) :
Fondamental : Special transformations

Pure thermal transformation ( ) :

Adiabatic transformation ( ) :

Cyclic transformation (suite of transformations during which the system returns to its original state) :
Fondamental : Statement of the second law of thermodynamics
A fun video : "Entropy viewed by The Shadoks"
Entropy is a state function, additive and extensive.
Elementary expression of 2^{nd} law :
The system receives work and heat from a heat source of temperature .
Its variation of entropy verifies :
What is written in the form :
With :
: entropy of exchange depends on the heat exchange with the outside ; its sign is arbitrary.
: the entropy of creation (positive or zero, only in the case of a reversible transformation) is related to the internal transformation within the system and characterizes the degree of irreversibility of the transformation (heterogeneity of temperature, concentrations, pressure disequilibrium, ...).
Expression of the 2^{nd} principle to a finite transformation :
The system receives work and heat from a heat source of temperature .
Its entropy variation verifies :
What is written in the form :
With :
Complément : A video "What is Entropy ?"
Méthode : In practice, how to realize an entropy balance ?

Calculating :
Is calculated by imagining a reversible transformation bringing from the same IS (Initial Sate) to the same FS (Final Sate) or directly if we know the entropy function (perfect gas, for example).

Calculating :
is calculated on the path really followed.

Calculating :
Then calculates :
If the transformation is reversible (with ) :
Exemple : An example of entropy balance
Hot metal is placed at temperature (mass , specific heat capacity ) in the pool water at constant temperature .
Make an entropy balance.
Calculate the change in entropy of metal (incompressible phase) :
Entropy of exchange is calculated on the path really followed :
We deduce the entropy of creation :
Or again :
Fondamental : Entropy of an ideal gas

In variables and (for moles) :

In variables and (for moles) :
With :
.
Complément : Statistical interpretation of entropy
Does the entropy of a student's office look like the one of the left office or the one of the right office ?
If we call the number of microscopic states accessible by the macroscopic system, then the entropy can be written as :
where is the Boltzmann constant.
Finally, a system will be all the more disorderly as its entropy is big.
In particular, when changing from liquid state to gas, for example, the entropy will increase as the gas state is less ordered than the liquid state.
A video about "Statistical interpretation of entropy" :