Streams of air and water vapor are mixed adiabatically. Both streams are at a pressure of 1 atm. You can set the values of the molar flow rate and temperature of the two streams.
This Demonstration computes the outlet stream's temperature using the energy balance equation for nonreactive systems: .
The specific enthalpies of air and water are computed using the temperature-dependent expressions of the constant-pressure heat capacities given in [1, Appendix B2]. In addition, we chose these reference states: air (gas) and water (vapor) both at 25 °C and 1 atm.
It is straightforward to extend this calculation to a larger number of streams and/or components.