You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nmWTAI-Platform/Include/mAlg/mAlgPvt/gasCompressbility.h

33 lines
668 B
C++

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

#pragma once
#include "iAlgPvtBase.h"
#include "gasCompressFactor.h"
enum eCgMethod
{
Cg_Dranchuk = 0
};
class M_PVT_EXPORT gasCompressbility : public iAlgPvtBase
{
public:
gasCompressbility();
// 绑定成员变量
virtual void bindMembers();
// 虚函数,计算函数
virtual bool cal(VecDouble vecIns, VecDouble& vecOuts);
public:
bool dranchuk(VecDouble vecP, VecDouble& vecCg);
private:
double m_dTpr; //tpr,拟对比温度Tpr=T/Tc温度与临界温度的比值无量纲
double m_dT; // rt,油藏温度°C
double m_dTc; //tc,临界温度,不同的组分有不同的临界温度值,°C
};