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

📄 bbgasmodel.h

📁 气体热力性质计算程序
💻 H
字号:
/*===============================================================
                        Introduction
  This is the computation of J.A.Beattie - O.C.Bridgeman's model,
which is revised from ver de Waals equation. The form of this 
equation is like this:
		
	p=R*T[1-c/(V*T^3)]/V^2*[V+B0*(1-b/V)]-A0*(1-a/V)/V^2

This equation is much acute than the RK equation. But it is full
of complicated items and requires more original data. This 
equation can be still be very accurate when the special volume is 
more than two times of that on critical point.
---------------------------------------------------------------*/

#pragma once

#ifndef BBGas
#define BBGas
#endif

#include "GasBase.h"

namespace XZGas
{  
    class BBGasModel:public GasModel
    {
    public:
        BBGasModel(const GasData &gas);
        ~BBGasModel();

        inline double Cp(double TT,double pp);
		inline double Cv(double TT,double vv);
	
		inline double Gama(double TT,double pp);
		inline double h(double TT,double pp);
		inline double u(double TT,double vv);
		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);

    protected:
        inline double dpdvT(double TT,double vv);
		inline double dpdTv(double TT,double vv);
		
	private:
		double A0;
        double a;
        double B0;
        double b;
        double c;                   
    };
}

⌨️ 快捷键说明

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