.Modelica.Media.IdealGases.Common.MixtureGasNasa

Information

This model calculates the medium properties for single component ideal gases.

Sources for model and literature:
Original Data: Computer program for calculation of complex chemical equilibrium compositions and applications. Part 1: Analysis Document ID: 19950013764 N (95N20180) File Series: NASA Technical Reports Report Number: NASA-RP-1311 E-8017 NAS 1.61:1311 Authors: Gordon, Sanford (NASA Lewis Research Center) Mcbride, Bonnie J. (NASA Lewis Research Center) Published: Oct 01, 1994.

Known limits of validity:
The data is valid for temperatures between 200 K and 6000 K. A few of the data sets for monatomic gases have a discontinuous 1st derivative at 1000 K, but this never caused problems so far.

This model has been copied from the ThermoFluid library. It has been developed by Hubertus Tummescheit.

Contents

Name Description
 ThermodynamicState Thermodynamic state variables
 BaseProperties Base properties (p, d, T, h, u, R_s, MM, X, and Xi of NASA mixture gas
 setState_pTX Return thermodynamic state as function of p, T and composition X
 setState_phX Return thermodynamic state as function of p, h and composition X
 setState_psX Return thermodynamic state as function of p, s and composition X
 setState_dTX Return thermodynamic state as function of d, T and composition X
 setSmoothState Return thermodynamic state so that it smoothly approximates: if x > 0 then state_a else state_b
 pressure Return pressure of ideal gas
 temperature Return temperature of ideal gas
 density Return density of ideal gas
 specificEnthalpy Return specific enthalpy
 specificInternalEnergy Return specific internal energy
 specificEntropy Return specific entropy
 specificGibbsEnergy Return specific Gibbs energy
 specificHelmholtzEnergy Return specific Helmholtz energy
 h_TX Return specific enthalpy
 h_TX_der Return specific enthalpy derivative
 gasConstant Return gasConstant
 specificHeatCapacityCp Return specific heat capacity at constant pressure
 specificHeatCapacityCv Return specific heat capacity at constant volume from temperature and gas data
 MixEntropy Return mixing entropy of ideal gases / R
 s_TX Return temperature dependent part of the entropy, expects full entropy vector
 isentropicExponent Return isentropic exponent
 velocityOfSound Return velocity of sound
 isentropicEnthalpyApproximation Approximate method of calculating h_is from upstream properties and downstream pressure
 isentropicEnthalpy Return isentropic enthalpy
 gasMixtureViscosity Return viscosities of gas mixtures at low pressures (Wilke method)
 dynamicViscosity Return mixture dynamic viscosity
 mixtureViscosityChung Return the viscosity of gas mixtures without access to component viscosities (Chung, et. al. rules)
 lowPressureThermalConductivity Return thermal conductivities of low-pressure gas mixtures (Mason and Saxena Modification)
 thermalConductivity Return thermal conductivity for low pressure gas mixtures
 isobaricExpansionCoefficient Return isobaric expansion coefficient beta
 isothermalCompressibility Return isothermal compressibility factor
 density_derp_T Return density derivative by pressure at constant temperature
 density_derT_p Return density derivative by temperature at constant pressure
 density_derX Return density derivative by mass fraction
 molarMass Return molar mass of mixture
 T_hX Return temperature from specific enthalpy and mass fraction
 T_psX Return temperature from pressure, specific entropy and mass fraction

Generated at 2020-06-05T21:39:08Z by OpenModelica 1.16.0~dev-442-g2e5bc9f