فوتوبیز | وبلاگ محصولات فتوشاپی

محصولات فتوشاپی | طرح لایه باز | بک دراپ و...

۲ مطلب با کلمه‌ی کلیدی «matlab» ثبت شده است

کد متلب محاسبه ی آنتالپی مخلوط

کد متلب محاسبه ی آنتالپی مخلوط

کد متلب محاسبه ی آنتالپی مخلوط

ورودی ها: (x,P,T,state,eos,mxp)

خروجی ها: [Z H]

نوع فایل: Matlab

% Estimation of enthalpy of mixture
% Inputs:
% x: mole fractions of all components (column vector)
% P, T: pressure(Pa) and temperature(K)
% state: fluid state('L': liquid, 'V': vapor)
% eos: equation of state('RK', 'SRK', or 'PR')
% mxp: structure with property fields
% mxp.Pc, mxp.Tc: critical P(Pa) and T(K) (column vector)
% mxp.w: acentric factors of all components (column vector)
% mxp.k: binary interaction parameter matrix(n x n symmetric)
% mxp.Afi: coefficients of ideal gas heat capacity relation(J/mol/K)
% Outputs:
% Z: compressibility factor
% H: enthalpy of mixture (J/mol)

۰ نظر موافقین ۰ مخالفین ۰
کد متلب محاسبه ی فوگاسیته ی جزء خالص

کد متلب محاسبه ی فوگاسیته ی جزء خالص

کد متلب محاسبه ی فوگاسیته ی جزء خالص

ورودی ها: (state,eos,T,P,Tc,Pc,w)

خروجی ها: [phig f]

نوع فایل:Matlab

% Estimates the fugacity coefficient using the virial and cubic EOS.
% input
% state: fluid state('L': liquid, 'V': vapor)
% eos: equation of state (VR, VDW, RK, SRK, PR)
% P,T: pressure(bar) and temperature(K)
% Tc,Pc: critical T(K) and P(bar)
% w: acentric factor
% output:
% phig: fugacity coefficient
% f: fugacity (bar)

۰ نظر موافقین ۰ مخالفین ۰