Contents - Index


MODE = TRN (90)

Note that the inputs and outputs will be automatically converted from and to the unit system defined in EES if the $ConvertEESREFPROPUnits directive is used in the EES program.  If EES is configured in SI units, the units of viscosity will be Pa-sThe units shown in the following description apply for the inputs and outputs apply when the $ConvertEESREFPROPUnits directive is not used.

Description: Calculate transport properties for given temperature and density
     In1 = Temperature in K
     In2 = Density in kmol/m3
     In3 = mole fraction of first component (skip for pure fluid)
     ...
     InN  = mole fraction of next to last component
           Note: If the /mass flag is provided with the $CONVERTEESREFPROPUNITS directive, mass fractions should be provided instead of mole fractions.

     Out1 = Viscosity in µPa-sec
     Out2 = Thermal conductivity in W/m-K

Example 1: 
TRN=90                   "mode for transport properties"
T=350 [K]                 "temperature"
rho=13.1 [kmol/m^3]  "density"
mf=0.3                      "mole fraction"
Call ees_refprop('R32+R134a', TRN, T, rho, mf : Visc, Cond)

{Solution:
Cond=0.09088 [W/m-K]
Visc=161.2 [ µPa-sec]
}


Example 2:
$UnitSystem SI K kPa molar
$ConvertEESREFPROPUnits
 
TRN=90                   "mode for transport properties"
T=350 [K]                 "temperature"
rho=13.1 [kmol/m^3]  "density"
mf=0.3                      "mole fraction"
Call ees_refprop('R32+R134a', TRN, T, rho, mf : Visc, Cond)

{Solution:
Cond=0.09088 [W/m-K]
mf=0.3 
rho=13.1 [kmol/m^3]
T=350 [K]
TRN=90 
Visc=0.0001612 [Pa-s]
}

Return