system.thermo.if97.refractiveIndex
Calculates refractive index.
Syntax
system.thermo.if97.refractiveIndex(h, s, l) # Enthalpy, Entropy, and Wavelength
system.thermo.if97.refractiveIndex(p, h, l) # Pressure, Enthalpy, and Wavelength
system.thermo.if97.refractiveIndex(p, s, l) # Pressure, Entropy, and Wavelength
system.thermo.if97.refractiveIndex(p, t, l) # Pressure, Temperature, and Wavelength
system.thermo.if97.refractiveIndex(rho, t, l) # Density, Temperature, and Wavelength
info
This function must be called with named parameters.
Parameters
Type | Parameter | Description |
---|---|---|
Double | h | Specific Enthalpy (J/kg) |
Double | p | Absolute Pressure (Pa) |
Double | s | Specific Entropy (J/(kg·K)) |
Double | t | Temperature (K) |
Double | rho | Density (kg/m³) |
Double | l | Wavelength (nm) |
Returns
Double - Refractive Index [-]
The refractive index of the substance under the specified conditions.
Scope
Gateway, Designer, Client, Perspective Session
Example
Pressure, Temperature, and Wavelength
p = 101325
t = 373.15
l = 5.0e-07
result = system.thermo.if97.refractiveIndex(p=p, t=t, l=l)
print result
Result
1.00019186213