14 #ifndef CT_MIXTUREFUGACITYTP_H
15 #define CT_MIXTUREFUGACITYTP_H
30 #define FLUID_UNSTABLE -4
31 #define FLUID_UNDEFINED -3
32 #define FLUID_SUPERCRIT -2
34 #define FLUID_LIQUID_0 0
35 #define FLUID_LIQUID_1 1
36 #define FLUID_LIQUID_2 2
37 #define FLUID_LIQUID_3 3
38 #define FLUID_LIQUID_4 4
39 #define FLUID_LIQUID_5 5
40 #define FLUID_LIQUID_6 6
41 #define FLUID_LIQUID_7 7
42 #define FLUID_LIQUID_8 8
43 #define FLUID_LIQUID_9 9
188 err(
"getdlnActCoeffdlnN_diag");
312 virtual void getCp_R(doublereal* cpr)
const;
388 virtual void setState_TP(doublereal T, doublereal pres);
395 virtual void setState_TR(doublereal T, doublereal rho);
407 virtual void setState_TPX(doublereal t, doublereal p,
const doublereal* x);
466 void setMoleFractions_NoState(
const doublereal*
const x);
534 #ifdef H298MODIFY_CAPABILITY
713 doublereal
z()
const;
722 virtual doublereal
sresid()
const;
730 virtual doublereal
hresid()
const;
742 virtual doublereal
psatEst(doublereal TKelvin)
const;
758 virtual doublereal
liquidVolEst(doublereal TKelvin, doublereal& pres)
const;
785 virtual doublereal
densityCalc(doublereal TKelvin, doublereal
pressure,
int phaseRequested,
786 doublereal rhoguess);
798 int corr0(doublereal TKelvin, doublereal pres, doublereal& densLiq,
799 doublereal& densGas, doublereal& liqGRT, doublereal& gasGRT);
811 int phaseState(
bool checkState =
false)
const ;
840 doublereal
calculatePsat(doublereal TKelvin, doublereal& molarVolGas,
841 doublereal& molarVolLiquid);
852 virtual doublereal
pressureCalc(doublereal TKelvin, doublereal molarVol)
const;
866 virtual doublereal
dpdVCalc(doublereal TKelvin, doublereal molarVol, doublereal& presCalc)
const;
870 virtual void updateMixingExpressions();
882 virtual int evalSS(
const doublereal t,
const doublereal*
const y, doublereal*
const r);
943 spinodalFunc* fdpdv_;
950 doublereal
err(std::string msg)
const;