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/waterViscosity.h

30 lines
671 B
C

#pragma once
#include "iAlgPvtBase.h"
enum euwMethod
{
VanWingenAndFrick_uw = 0,
MeehanAndRamey_uw
};
class M_PVT_EXPORT waterViscosity : public iAlgPvtBase
{
public:
waterViscosity();
// 绑定成员变量
virtual void bindMembers();
// 虚函数,计算函数
virtual bool cal(VecDouble vecIns, VecDouble& vecOuts);
public:
bool VanWingenAndFrick(VecDouble vecP, VecDouble& vecUw);
bool MeehanAndRamey(VecDouble vecP, VecDouble& vecUw);
private:
double m_dT; //rt,油藏温度°C
double m_dws; //ws,含盐质量分数无量纲ws=矿化度mg/L/1000000
double m_dp; //rp,油藏压力MPa
};