.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

NameDescription
ThermodynamicStateThermodynamic state variables
BasePropertiesBase properties (p, d, T, h, u, R_s, MM, X, and Xi of NASA mixture gas
setState_pTXReturn thermodynamic state as function of p, T and composition X
setState_phXReturn thermodynamic state as function of p, h and composition X
setState_psXReturn thermodynamic state as function of p, s and composition X
setState_dTXReturn thermodynamic state as function of d, T and composition X
setSmoothStateReturn thermodynamic state so that it smoothly approximates: if x > 0 then state_a else state_b
pressureReturn pressure of ideal gas
temperatureReturn temperature of ideal gas
densityReturn density of ideal gas
specificEnthalpyReturn specific enthalpy
specificInternalEnergyReturn specific internal energy
specificEntropyReturn specific entropy
specificGibbsEnergyReturn specific Gibbs energy
specificHelmholtzEnergyReturn specific Helmholtz energy
h_TXReturn specific enthalpy
h_TX_derReturn specific enthalpy derivative
gasConstantReturn gasConstant
specificHeatCapacityCpReturn specific heat capacity at constant pressure
specificHeatCapacityCvReturn specific heat capacity at constant volume from temperature and gas data
MixEntropyReturn mixing entropy of ideal gases / R
s_TXReturn temperature dependent part of the entropy, expects full entropy vector
isentropicExponentReturn isentropic exponent
velocityOfSoundReturn velocity of sound
isentropicEnthalpyApproximationApproximate method of calculating h_is from upstream properties and downstream pressure
isentropicEnthalpyReturn isentropic enthalpy
gasMixtureViscosityReturn viscosities of gas mixtures at low pressures (Wilke method)
dynamicViscosityReturn mixture dynamic viscosity
mixtureViscosityChungReturn the viscosity of gas mixtures without access to component viscosities (Chung, et. al. rules)
lowPressureThermalConductivityReturn thermal conductivities of low-pressure gas mixtures (Mason and Saxena Modification)
thermalConductivityReturn thermal conductivity for low pressure gas mixtures
isobaricExpansionCoefficientReturn isobaric expansion coefficient beta
isothermalCompressibilityReturn isothermal compressibility factor
density_derp_TReturn density derivative by pressure at constant temperature
density_derT_pReturn density derivative by temperature at constant pressure
density_derXReturn density derivative by mass fraction
molarMassReturn molar mass of mixture
T_hXReturn temperature from specific enthalpy and mass fraction
T_psXReturn temperature from pressure, specific entropy and mass fraction

Generated at 2024-04-28T18:16:21Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos