Càlcul d'un exemple concret amb HGS - fme-mmt/rocket GitHub Wiki

#HGS 1.3 By Arnau Miro, Pau Manent and Manel Soria LOP, ETSEIAT UPC

Properties

properties of a mixture of gases For any issues with the code see the documentation manual.

Usage

[Cp,Cv,MM,Rg,gamma,a,H,G,S]=hgsprop(species,n,T,P)

Inputs

  • species: Cell array with the species of the mixture
  • n: Vector for the number of mols of the species
  • T [K]: Temperature of the mixture
  • p [bar]: ressure of the mixture

Output

  • Cp [kJ/molK]: Heat coef at constant pressure
  • Cv [kJ/molK]: Heat coef at constant volume
  • MM [g/mol]: Molar mass of the mixture
  • Rg [kJ/kgK]: Gas constant of the mixture
  • gamma: Gamma coef of the mixture
  • a [m/s]: Sound speed of the mixture
  • H [kJ]: Enthalpy of the mixture
  • G [kJ]: Gibbs free energy of the mixture
  • S [kJ/K]: Entropy of the mixture

See also hgseq, hgsisentropic, hgssingle, hgsTp

This code is part of the HGS TOOLBOX

OpenLLOP, UPC-ETSEIAT 2014-2015

[Cp,Cv,MM,Rg,gamma,a,H,G,S]=hgsprop({'O2','N2'},[2 4],2700,8)
Cp =
   0.0377
Cv =
   0.0294
MM =
  29.3419
Rg =
   0.2834
gamma =
   1.2827
a =
  990.6580
H =
  499.0400
G =
  -3.6607e+03
S =
    1.5406