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'

'Psychrometric'

'Incompressible'

'Mixture'

 

Incompressible fluid refers to a substance in the Solid-Liquid Properties library. Brine refers to a brine fluid that requires a concentration as one of the properties.  Psychrometric is returned for fluid AirH2O.

 

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: 

 

$Load Incompressible 

$Load NASA

T1$=fluidtype$(PG)

T2$=fluidtype$(NH3H2O)

T3$=fluidtype$(Glycerin)

T4$=fluidtype$(NH3)

 

{Solution:

T1$='Brine'

T2$='Mixture'

T3$='Incompressible'

T4$='Ideal'}

 

 

Also see:  IsIdealGas

 

Thermophysical Property Functions