ModelSetComponentEOSQVolumeShift

Top  Previous  Next

Writes the volume shift parameter for PR or SRK EOS

 

 

This function is defined in C++ as:

extern "C" __declspec(dllexport) int __stdcall ModelSetComponentEOSQVolumeShift(int ComponentIndex, int BlockIndex, double Value)

 

Return

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

 

Input

Argument

Type

Description

ComponetIndex

int

Index the component has in the total component list

BlockIndex

int

The block the parameter is for

Value

double

Volume shift parameter for SRK or PR

Units: [cm3/g]