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"
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);
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