Skip to main content
Version: 8.1

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

TypeParameterDescription
DoublehSpecific Enthalpy (J/kg)
DoublepAbsolute Pressure (Pa)
DoublesSpecific Entropy (J/(kg·K))
DoubletTemperature (K)
DoublerhoDensity (kg/m³)
DoublelWavelength (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