GetFluid

It returns the library name and composition of the working fluid.

 

The general syntax for programming languages like Fortran is:

GetFluid(FluidObj, Library, nComp, Comp(), Conc(), ErrorMsg)

The syntax for object oriented programming languages like VB, C++ and Matlab is:

FluidObj.GetFluid( Library, nComp, Comp(), Conc(), ErrorMsg)

 

Arguments:

FluidObj:

An object variable created at runtime

Library:

String, name of library

nComp:

Long Integer, number of components

Comp():

String Array, names of components  

Conc():  

Double Array, concentrations of components

ErrorMsg:

String

 

 

Note: this method is not available in Excel.

In case of a predefined mixture and if nComp = -1 is assigned as input value then the composition of the mixture is returned instead of just the mixture name.