Engineering Equation Solver Ees Cengel Thermo Iso Page
"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.
EES is case-insensitive but uses ^ for power. 3. Implementing Iso-Processes in EES a) Isobaric (( P = constant )) Cengel rule: ( P_1 = P_2 ), ( Q - W_b = \Delta H ) (for closed system, often ( W_b = P\Delta V )). Engineering Equation Solver EES Cengel Thermo Iso
P1 = 300 [kPa] T1 = 60 [C] m = 0.5 [kg] Fluid$ = 'Water' v1 = volume(Fluid$, P=P1, T=T1) u1 = intEnergy(Fluid$, P=P1, T=T1) s1 = entropy(Fluid$, P=P1, T=T1) "1st law for ideal gas isothermal: Δu=0" Q_in
"Given final state: superheat to T2" T2 = 80 [C] v2 = volume(Fluid$, P=P2, T=T2) u2 = intEnergy(Fluid$, P=P2, T=T2) h2 = enthalpy(Fluid$, P=P2, T=T2) Implementing Iso-Processes in EES a) Isobaric (( P
x = (v - v_f)/(v_g - v_f) "Or directly:" x = quality(Fluid$, P=P, h=h_mix) | Mistake | Correction | |---------|-------------| | Forgetting units | Use [kPa] , [C] , [kJ/kg] in comments or EES unit system | | Using P*v = R*T for steam | Use v = volume(Steam, P=P, T=T) | | Isentropic but wrong fluid | s2 = s1 only if reversible & adiabatic | | Confusing W_b sign | EES doesn’t enforce sign convention; write Q - W = ΔU | | Not initializing variables | EES solves iteratively; provide guesses if needed: T2 = 300 | 6. Example Problem: Cengel 7-41 (Isentropic Compression) Problem: Air at 100 kPa, 300 K is compressed isentropically to 1 MPa. Find final temp and work.
"Isentropic turbine work" W_s = h1 - h2s "kJ/kg"
R = 0.287 [kJ/kg-K] "Air" T = 300 [K] m = 1 [kg] P1 = 100 [kPa] P2 = 500 [kPa] v1 = R T/P1 v2 = R T/P2