PropUpdatePropertyTP

Top  Previous  Next

This function update a range of properties at fixed temperature and pressure

 

 

This function is defined in C++ as:

extern "C" __declspec(dllexport)int __stdcall PropUpdate_TP(double Temperature, double Pressure, int VolumeType)

 

Return

The function return -1 if no problem was found. If a different number is returned check the argument ErrorString for more information.

 

Input

Argument

Type

Units

Description

Temperature

double

User defined

Temperature to use in calculation

Pressure

double

User defined

Pressure to use in the calculation

 

VolumeType

 

int

 

[-]

Type of volume root to use from the EOS

0: Liquid
1: Vapor
2: Auto  (Stable root)

 

Note

If a error/problem is found use the function ErrorIndex and ErrorMessage to get more information