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.
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"
// 活油:油体积系数
class M_PVT_EXPORT oilLiveBo : public iAlgPvtBase
{
private :
enum PvtAlgMethod
{
PM_Standing = 0 ,
PM_VasquezAndBeggs ,
PM_Glaso ,
PM_PetroskyAndFarshad
} ;
public :
oilLiveBo ( ) ;
// 绑定成员变量
virtual void bindMembers ( ) ;
// 虚函数,计算函数
virtual bool cal ( VecDouble vecIns , VecDouble & vecOuts ) ;
public :
bool standing ( VecDouble vecP , VecDouble & vecBo ) ;
bool vasquezAndBeggs ( VecDouble vecP , VecDouble & vecBo ) ;
bool glaso ( VecDouble vecP , VecDouble & vecBo ) ;
bool PetroskyAndFarshad ( VecDouble vecP , VecDouble & vecBo ) ;
private :
double m_dRs ; //Rs,溶解气油比, m3/m3
double m_dRo ; //ro,油相比重, 该油相的密度与4℃时纯水的密度之比, 无量纲, 具体情况具体分析,0.8-0.9
double m_dRg ; //rg, 气体比重,该气体的密度与空气密度之比,无量纲,具体情况具体分析,0.55-0.8
double m_dPsep ; //Psep,分离器压力, MPa, 0.791MPa
double m_dTsep ; //tsep,分离器温度, F, 60F
double m_dT ; //rt,油藏温度, °C
} ;