Engineering Equation Solver Ees Cengel Thermo Iso -
"Isentropic expansion" s2 = s1 h2s = enthalpy(Fluid$, P=P2, s=s2) T2s = temperature(Fluid$, P=P2, s=s2) x2s = quality(Fluid$, P=P2, s=s2) "If in two-phase"
"1st law for ideal gas isothermal: Δu=0" Q_in = W_b Most powerful in EES – just set ( s_2 = s_1 ) and EES finds the rest. Engineering Equation Solver EES Cengel Thermo Iso
P1 = 3 [MPa] T1 = 400 [C] P2 = 50 [kPa] Fluid$ = 'Steam' s1 = entropy(Fluid$, P=P1, T=T1) h1 = enthalpy(Fluid$, P=P1, T=T1) "Isentropic expansion" s2 = s1 h2s = enthalpy(Fluid$,
Q_in = m*(u2 - u1) "W=0" Cengel use: Often for ideal gas (( Pv = RT )) or phase change (but constant T in two-phase region implies constant P). s=s2) T2s = temperature(Fluid$