The momentum equation without body forces
Expanding the substantial derivative
The first and second law of thermodynamics gives
Insert from the momentum equation
Definition of total enthalpy ()
The last term can be rewritten as
which gives
Insert in the entropy equation gives