Contents - Index


FLUIDTYPE$

 

FLUIDTYPE$ returns a string that indicates the type of the fluid provided as the single argument for this function.   FLUIDTYPE$ will return one of the following strings, depending on the fluid.

 

'Ideal'    

'Real'    

'Brine'

'Incompressible'

 

SL fluid refers to a fluid in the Solid-Liquid Properties library. Brine refers to a brine fluid that requires a concentration as one of the properties.  

 

Note that the result of the function must be assigned to a string variable, which is identified by the $ character at the end of its name.

 

Examples:  

 

T1$=FLUIDTYPE$(PG)

T2$=FLUIDTYPE$(NH3)

T3$=FLUIDTYPE$(Glycerin)

 

After solving, T1$ will be set to 'Brine', T2$ will be set to 'Ideal' and T3$ will be set to 'Incompressible'.

 

Also see:  IsIdealGas

 

Thermophysical Property Functions