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

35 lines
841 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"
// 活油:油密度
class M_PVT_EXPORT oilLiveRhoo : public iAlgPvtBase
{
private:
enum PvtAlgMethod
{
PM_Internal = 0
};
public:
oilLiveRhoo();
// 绑定成员变量
virtual void bindMembers();
// 虚函数,计算函数
virtual bool cal(VecDouble vecIns, VecDouble& vecOuts);
public:
bool internal(VecDouble vecP, VecDouble& vecPo);
private:
double m_dRo; //ro,油相比重该油相的密度与4℃时纯水的密度之比无量纲具体情况具体分析,0.8-0.9
double m_dRg; //rg,气体比重,该气体的密度与空气密度之比,无量纲,具体情况具体分析,0.55-0.8
double m_dPw; //pwSC,标况下的水密度1000kg/m3
double m_dpair; //pgSC,标况下空气密度1.293kg/m3
};