Nist Fluid Properties

v0.2.1
io.github.pipeworx-io/nist-fluid-properties Checked 2 hours ago Published 28 days ago

NIST Chemistry WebBook — Thermophysical Properties of Fluid Systems.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

nist_fluid_properties

Density, specific volume, internal energy, enthalpy, entropy, Cv, Cp, speed of sound, Joule-Thomson coefficient, viscosity, thermal conductivity and phase (liquid/vapor/supercritical) for one of NIST's ~76 reference fluids (water, nitrogen, oxygen, argon, CO2, hydrocarbons, refrigerants...) at a given temperature and pressure. Every value carries its unit. Call nist_fluid_list first if unsure a fluid is covered.

ParameterTypeDescription
fluid *stringFluid name, formula or refrigerant code, e.g. "water", "CO2", "R134a", "nitrogen".
pressure *numberPressure at which to evaluate properties.
temperature *numberTemperature at which to evaluate properties.
pressure_unitstringUnit of `pressure`. Default "atm".
temperature_unitstringUnit of `temperature`. Default "C".

nist_fluid_saturation

Liquid/vapor saturation (phase-boundary) properties for one of NIST's ~76 reference fluids — give EITHER a saturation temperature (returns the matching saturation pressure, e.g. boiling point at 1 atm) OR a saturation pressure (returns the matching saturation temperature), plus density, enthalpy, entropy, viscosity, thermal conductivity and surface tension on both the liquid and vapor side of the boundary. Do not pass both temperature and pressure.

ParameterTypeDescription
fluid *stringFluid name, formula or refrigerant code, e.g. "water", "propane", "R134a".
pressurenumberSaturation pressure to evaluate. Omit if passing `temperature` instead.
pressure_unitstringUnit of `pressure`. Default "atm".
temperaturenumberSaturation temperature to evaluate. Omit if passing `pressure` instead.
temperature_unitstringUnit of `temperature`. Default "C".

nist_fluid_list

List the ~76 fluids NIST's Chemistry WebBook carries full thermophysical property surfaces for (water, nitrogen, oxygen, argon, CO2, light hydrocarbons, refrigerants R11-RC318, and a few industrial gases). Optionally filter by a substring of the name or refrigerant code.

ParameterTypeDescription
querystringOptional substring filter, e.g. "R1" or "propane". Omit to list all fluids.