?? heat_capacity_ratio.h
字號:
//---------------------------------------------------------------------------
// Project: FlowLive
// Module: thermo
/*!\file heat_capacity_ratio.h
\brief constants for heat capacity ratios of gases
\version 0.0.1.1
\date Created: 2006-09-13
\date Last modified: 2006-09-13
\author <a href="mailto:xtobias@gmx.net">Tobias Severin, xtobias@gmx.net</a>
*/
//---------------------------------------------------------------------------
#ifndef HEAT_CAPACITY_RATIO_H
#define HEAT_CAPACITY_RATIO_H
//---------------------------------------------------------------------------
#include <thermo/thermo.h>
//---------------------------------------------------------------------------
THERMO_BEGIN
// The value of the heat capacity ratio 'kappa' for various gases @ 1 atm, 20癈
// data taken from en.wikipedia.org on 2006-09-12
// H2
static const double kKappa_H2 = 1.41;
// He
static const double kKappa_He = 1.66;
// H2O
static const double kKappa_H2O = 1.33;
// Ar
static const double kKappa_Ar = 1.67;
// Dry Air
static const double kKappa_Air = 1.40;
// CO2
static const double kKappa_CO2 = 1.30;
// CO
static const double kKappa_CO = 1.40;
// O2
static const double kKappa_O2 = 1.40;
// NO
static const double kKappa_NO = 1.40;
// N2O
static const double kKappa_N2O = 1.31;
// Cl2
static const double kKappa_Cl2 = 1.34;
// CH4
static const double kKappa_CH4 = 1.32;
//---------------------------------------------------------------------------
//! Returns the heat capacity ratio of a given specie [W/(m K)]
THERMO_EXPORT double Heat_Capacity_Ratio(const std::string &aSpecieName);
//! Returns the heat capacity ratio of a given mixture [W/(m K)]
THERMO_EXPORT double Heat_Capacity_Ratio(std::vector<std::string> &aSpeciesNames, std::vector<double> &aMolarFractions);
//---------------------------------------------------------------------------
THERMO_END
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -