⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 nasalewis.h

📁 Flowlive The thermo library provides thermodynamical, chemical and physical properties of elements
💻 H
字号:
//---------------------------------------------------------------------------
//  Project:         FlowLive
//  Module:          thermo
/*!\file             nasalewis.h
	\brief            Computes thermodynamic data with NASA-Glenn (formerly NASA-Lewis) coefficients
	\version          0.0.2.0
	\date             Created: 2005-01-18
	\date             Last modified: 2005-02-26
	\author           <a href="mailto:xtobias@gmx.net">Tobias Severin, xtobias@gmx.net</a>
*/
//---------------------------------------------------------------------------
#ifndef NASALEWIS_H
#define NASALEWIS_H
//---------------------------------------------------------------------------
#include <thermo/thermo.h>

#include <string>
#include <vector>

#include <thermo/thermo_types.h>

//---------------------------------------------------------------------------
THERMO_BEGIN
/*
typedef struct
{
	double A,B,C,D,E,F,G;
} t_nlc;

*/

//---------------------------------------------------------------------------
//! Returns a pointer to the NASA-Lewis Coefficients of the given specie
THERMO_EXPORT t_nlc* GetNASALewisCoefficients(const std::string &aSpecie, double aTemperature);

//! Returns the specific heat capacity of the given specie at the specified temperature [J/(mol K)]
THERMO_EXPORT double SpecificHeat(const std::string &aSpecie, double aTemperature);

//! Returns the specific heat capacity of a gas mixture at the specified temperature [J/(mol K)]
THERMO_EXPORT double SpecificHeat(std::vector<std::string> &aSpecieNamesList,
	std::vector<double> &aMolarFractions, double aTemperature);

//! Returns the sensible enthalpy of the given specie at the specified temperature [J/mol]
THERMO_EXPORT double Enthalpy_sensible(const std::string &aSpecie, double aTemperature);

//! Returns the enthalpy of formation of the given specie at 298.15 K [J/mol]
THERMO_EXPORT double Enthalpy_formation(const std::string &aSpecie);

//! Returns the total (sensible + formation) enthalpy of the given specie at the specified temperature [J/mol]
THERMO_EXPORT double Enthalpy_total(const std::string &aSpecie, double aTemperature);

//! Returns the sensible enthalpy of a mixture at the specified temperature [J/mol]
THERMO_EXPORT double Enthalpy_sensible(std::vector<std::string> &aSpecieNamesList,
	std::vector<double> &aMolarFractions, double aTemperature);

//! Returns the enthalpy of formation of a mixture at 298.15K [J/mol]
THERMO_EXPORT double Enthalpy_formation(std::vector<std::string> &aSpecieNamesList,
	std::vector<double> &aMolarFractions);

//! Returns the total enthalpy of a mixture at the specified temperature [J/mol]
THERMO_EXPORT double Enthalpy_total(std::vector<std::string> &aSpecieNamesList,
	std::vector<double> &aMolarFractions, double aTemperature);

//! Returns the entropy of the given specie at the specified temperature [J/(mol K)]
THERMO_EXPORT double Entropy(const std::string &aSpecie, double aTemperature);

//! Returns the entropy of a mixture at the specified temperature [J/(mol K)]
THERMO_EXPORT double Entropy(std::vector<std::string> &aSpecieNamesList,
	std::vector<double> &aMolarFractions, double aTemperature);

//! Returns the Gibbs enthalpy of the given specie at the specified temperature [J/mol]
THERMO_EXPORT double GibbsEnthalpy(const std::string &aSpecie, double aTemperature);

//! Returns the Gibbs enthalpy of a mixture at the specified temperature [J/mol]
THERMO_EXPORT double GibbsEnthalpy(std::vector<std::string> &aSpecieNamesList,
	std::vector<double> &aMolarFractions, double aTemperature);

//---------------------------------------------------------------------------
THERMO_END

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -