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'    

'Solution'

'Psychrometric'

'Incompressible'

'Mixture'

 

Incompressible fluid refers to a substance in the Solid-Liquid Properties library. Solution refers to amixture of a solute in water 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{provides liquid and vapor properties for ammonia-water mixtures}

T2$=fluidtype$(NH3W)      {provides liquid solution properties for ammonia-water mixtures}

T4$=fluidtype$(Glycerin)

T5$=fluidtype$(NH3)

 

{Solution:

T1$='Solution'

T2$='Mixture'

T3$='Solution'

T4$='Incompressible'

T5$='Ideal'}

 

 

Also see:  IsIdealGas

 

Thermophysical Property Functions