Expansion

GT

First Law of Thermodynamics: w˙turb=h3h4>0
Second Law of Thermodynamics: s3=s4

Free Expansion

First Law of Thermodynamics: h3=h4 (w˙=0)
Second Law of Thermodynamics: s4>s3