SACHIN  SHANBHAG

 Research Teaching Publications Links | Resources

Resources: Thermodynamics

PROPERTY DATABASES
• Antoine Coefficients: AntoineData.m
% usage: AntoineData('water')

• Ideal Gas Specific Heat: CpData.m
% usage: CpData('methane')

• Critical Properties Database: CriticalData.m
% usage CriticalData('water')

• vanLaar Database: vanLaarData.m
% usage: vanLaarData('acetone-water') (alphabetically)

• IDEAL GAS
• IG deltaH: deltaH_IG.m
% usage: deltaH_IG(Ti,Tf,'methane') [J/mol]

• IG deltaS: deltaS_IG.m
% usage: deltaS_IG(Ti,Tf,Pi,Pf,'methane') [J/molK]. Needs initial and final pressure also.

• PENG-ROBINSON EOS
• Plot_PengRobinsonPV.m: Plot_PengRobinsonPV.m
% usage: Plot_PengRobinsonPV(T,CriticalData('methane'))

• Z_PengRobinsonPT.m: Z_PengRobinsonPT.m
% usage: Z_PengRobinsonPT(P,T,CriticalData('methane'))

• Peng Robinson Hdep: Hdep_PengRobinsonPT.m
% usage: Hdep_PengRobinson(P, T, CriticalData)

• PengRobinson Sdep: Sdep_PengRobinsonPT.m
% usage: Sdep_PengRobinson(P, T, CriticalData)

• Peng-Robinson pure component fugacity: fugacity_purePR.m
% usage: fugacity_purePR(P,T,CriticalData('methane'))

• Valid Compressibility factors: ValidZ.m
% usage: ValidZ(Z). Discards complex and negative Z - unphysical from solutions of cubic equations of state.

• MIXTURES
• Raoults_BubbleDewPress.m: Raoults_BubbleDewPress.m
% usage: Raoults_BubbleDewPress(T,z1,AntoineData('n-pentane'),AntoineData('n-heptane'))

• Raoults_BubbleDewTemp.m: Raoults_BubbleDewTemp.m
% usage: Raoults_BubbleDewTemp(P,z1,AntoineData('n-pentane'),AntoineData('n-heptane'))

• van Laar activity coefficients: gamma_vanLaar.m
% usage: [g1 g2] = gamma_vanLaar(x1, vanLaarData('acetone-water'))

• lowP_vanLaar_BubbleDewPress.m: lowP_vanLaar_BubbleDewPress.m
% usage: lowP_vanLaar_BubbleDewPress(T,z1,'acetone','water')

• MISCELLANEOUS
• Pvap_Antoine.m: Pvap_Antoine.m
% usage: Pvap_Antoine(T,AntoineData('water'))

• PsatvdW.m: PsatvdW.m
% usage: [Psat ZL ZV] = PsatvdW(298,CriticalData('water'))

• Tvap_Antoine.m: Tvap_Antoine.m
% usage: Tvap_Antoine(P,AntoineData('water'))

• XSteam.m: XSteam.m
Water-Steam tables based on IAPWS IF-97, created by Magnus Holmgren. Works for P=0-1000 bar and T=0-2000C. Documentation contained inside program and also available in PDF format on the web. Google "XSteam".