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.
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
|
|
#include "iAlgPvtBase.h"
|
|
|
|
|
|
|
|
|
|
|
|
// 气水比Rsw
|
|
|
|
|
|
class M_PVT_EXPORT triRsw : public iAlgPvtBase
|
|
|
|
|
|
{
|
|
|
|
|
|
private:
|
|
|
|
|
|
|
|
|
|
|
|
enum PvtAlgMethod
|
|
|
|
|
|
{
|
|
|
|
|
|
PM_MeehanRamey = 0,
|
|
|
|
|
|
PM_McCain,
|
|
|
|
|
|
PM_Unknown
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
|
|
triRsw();
|
|
|
|
|
|
|
|
|
|
|
|
// 绑定成员变量
|
|
|
|
|
|
virtual void bindMembers();
|
|
|
|
|
|
|
|
|
|
|
|
// 虚函数,计算函数
|
|
|
|
|
|
virtual bool cal(VecDouble vecIns, VecDouble& vecOuts);
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
|
|
bool calByMcCain(VecDouble vecP, VecDouble& vecRsw);
|
|
|
|
|
|
bool calByMeehanRamey(VecDouble vecP, VecDouble& vecRsw);
|
|
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
|
|
|
|
|
|
double m_dT; //rt, 油藏温度,°C
|
|
|
|
|
|
double m_dws; //ws,含盐质量分数,无量纲;ws=矿化度(mg/L)/1000000
|
|
|
|
|
|
};
|