?? idealgasmodel.h
字號:
/*=================================================================================
Program for Ideal Gas Property Calculation
This program is for the calculation of ideal gas' thermodynamic properties.
The base class for it is IdealGas, in which several functions for some certain
properties calculation are provided. With the right initial data, this program
can be used on any gas with the ideal gas model.
---------------------------------------------------------------------------------*/
#pragma once
#ifndef x_IDEALGAS
#define x_IDEALGAS
#endif
#include "GasBase.h"
namespace XZGas
{
class IdealGasModel:public GasModel
{
public:
IdealGasModel(const GasData &gas);
~IdealGasModel();
inline double Cp(double TT,double pp=0);
inline double Cv(double TT,double vv=0);
inline double Gama(double TT,double pp);
inline double h(double TT,double pp=0);
inline double u(double TT,double vv=0);
inline double s(double TT,double pp);
inline double p(double TT,double vv);
inline double v(double TT,double pp);
inline double T(double pp,double vv);
inline double Alphav(double pp,double vv);
inline double KT(double TT,double vv);
inline double Beta(double pp,double vv);
inline void ChangeGas(const GasData &newgas);
private:
};
}//Build the IdealGas model into the namespace
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -