Advertisement
Guest User

Untitled

a guest
Mar 31st, 2020
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 1.04 KB | None | 0 0
  1. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2. %%%%%%%%%%%%%%%%%%%%%%% PRESA D'ARIA %%%%%%%%%%%%%%%%%%%%%%%
  3. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  4.  
  5. function [Tt_2, Pt_2] = presa_daria(Ta, Pa)
  6.  
  7. global gamma_aria eta_d M
  8.  
  9. Tt_2 = Ta*(1+(gamma_aria-1)*(M^2)/2)
  10. Pt_2 = Pa*(1+eta_d*(gamma_aria-1)*(M^2)/2)^(gamma_aria/(gamma_aria-1))
  11.  
  12.  
  13. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  14. %%%%%%%%%%%%%%%%%%%%%%% COMPRESSORE %%%%%%%%%%%%%%%%%%%%%%%%
  15. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  16.  
  17. function [Tt_3, Pt_3] = compressore(Tt_2, Pt_2, pi_c)
  18.  
  19. global gamma_aria eta_c
  20.  
  21. Tt_3 = Tt_2+(1/eta_c)*(Tt_2*(pi_c^((gamma_aria-1)/gamma_aria)-1))
  22. Pt_3 = Pt_2*pi_c
  23.  
  24.  
  25. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  26. %%%%%%%%%%%%%%%%%%%% CAMERA COMBUSTIONE %%%%%%%%%%%%%%%%%%%%
  27. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  28.  
  29. function [Tt_4, Pt_4] = camera_combustione(Tt_3, Pt_3)
  30.  
  31. global eta_cc, eta_m, delta_p, cpf, cpc, Tt_5, Tt_2
  32.  
  33. pi_b = 1-delta_p/Pt_3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement