Entropy Generation in Multifield Flows: Equations and Examples of Applications