12.07.2015 Views

analysis of water injection into high-temperature mixture of ...

analysis of water injection into high-temperature mixture of ...

analysis of water injection into high-temperature mixture of ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

105MW=sum(Y.*M);R=Ru/MW;cv=cp-R;Qconv1=hcoeff*(pi*b^2/2+4*V/b)*(y(2)-Tw);Qconv2=hcoeff*(pi*b^2/2+4*V/b)*(Tv-Tw);Const1=1/omega/mass;yprime(3)=p*dVdtheta;yprime(4)=Const1*mass*(Qconv1-Qconv2);yprime(5)=Cblowby*mass/omega*h;Uchangeptheta=-yprime(4)-yprime(3)-yprime(5)-Cblowby*mass<strong>water</strong>in*XSteam('h_pT',Pr*patm,Tin)*1000/omega;yprime(2)=Uchangeptheta/(mass*cv);yprime(1)=yprime(2)/Tb-p*dVdtheta/V;% Two-zone Thermodynamic Modelload('ecpdata','dlvlTb','dlvlpb','cpb','Rb','ub','vb');load('Wdata','dlvlTw','dlvlpw');% mass <strong>of</strong> <strong>water</strong>di=thetaWa*180/pi;m<strong>water</strong>T=eps1*phi*Xv*18.05/di;mwpmf=m<strong>water</strong>T/mfuel;mass<strong>water</strong>T=massfuel*mwpmf;RW=Ru/18.05;QconvW=hcoeff*(pi*b^2/2+4*V/b)*(Tw-Tv);% heat lossQconvb=hcoeff*(pi*b^2/2+4*V/b)*(Tw-y(2));% heat lossvw=XSteam('v_pT',Pr*patm,Tin); % Specific volume <strong>of</strong> <strong>water</strong>cpw=XSteam('Cp_pT',Pr*patm,Tin)*1000*(1/274.15); % Specific isobaric heatcapacity <strong>of</strong> <strong>water</strong>uw=XSteam('u_pT',Pr*patm,Tin)*1000; % Specific internal energy <strong>of</strong> <strong>water</strong>hw=XSteam('h_pT',Pr*patm,Tin)*1000; % Specific enthapy <strong>of</strong> <strong>water</strong>% Equally VolumeRPW=0;%0.1*yprime(1)*omega;TemW1V=Tv*RPW*((1-(dlvlTw+dlvlpw)))/(Pr*patm*101.325*1000)+QconvW/(mass<strong>water</strong>T*RW);TemW2V=(1+(cpw/RW-dlvlTw));RTWV=TemW1V/TemW2V;MasB1V=Qconvb;MasB2V=(y(1)+Pr*patm*101.325*1000)*V*((cpb/Rb-dlvlTb)+(dlvlTb+dlvlpb));MasB3V=ub-uw-RW*Tv-(cpb*y(2)-(y(1)+Pr*patm*101.325*1000)*vb*dlvlTb)+(p)*vw*((cpb/RbdlvlTb)+(dlvlTb+dlvlpb));RMBV=(MasB1V+MasB2V)/MasB3V;RPWV=0;RPBV=yprime(1)*omega;%dVdtheta*omegaTemB1V=RMBV*(hw-ub)+Qconvb-V*RPBV*(dlvlTb+dlvlpb);TemB2V=mass1*cpb-mass1*Rb*dlvlTb;RTBV=TemB1V/TemB2V;

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!