liquid-helium-svp
Python functions for properties of liquid helium-4 at saturated vapour pressure.
Installation
python -m pip install liquid-helium-svp
Usage
import liquid_helium_svp as helium
density = helium.density(4.2) # kg/m^3
pressure = helium.pressure_SVP(4.2) # Pa
Functions accept scalars, Python lists, and one-dimensional NumPy arrays where applicable. Temperatures are in kelvin, pressures are in pascals, densities are in kg/m^3, and velocities are in m/s unless stated otherwise.
Available properties
The library describes helium-4 at saturated vapour pressure using fits and
interpolations based primarily on Donnelly and Barenghi (1998). The input
temperature is normally named TemperatureK and the input pressure
PressurePa.
| Function | Property | Result unit |
|---|---|---|
density(T) |
Total liquid density | kg/m^3 |
density_superfluid(T) |
Superfluid component density | kg/m^3 |
density_normalfluid(T) |
Normal-fluid component density | kg/m^3 |
viscosity(T) |
Dynamic viscosity | Pa s |
pressure_SVP(T) |
Saturated vapour pressure | Pa |
temperature_from_pressure_SVP(P) |
Temperature corresponding to saturated vapour pressure | K |
surface_tension(T) |
Surface tension | N/m |
ion_mobilities(T) |
Ion mobility fit | See source data |
dispersion(T) |
Dispersion fit | See source data |
structure_factor(T) |
Structure factor fit | See source data |
enthalpy(T) |
Specific enthalpy fit | See source data |
specific_heat_SVP(T) |
Specific heat at saturated vapour pressure | J/(kg K) |
sound_velocity_first(T) |
First-sound velocity | m/s |
sound_velocity_second(T) |
Second-sound velocity | m/s |
sound_velocity_fourth(T) |
Fourth-sound velocity | m/s |
friction_mutual_B(T) |
Mutual-friction coefficient B | Dimensionless |
friction_mutual_B_prime(T) |
Mutual-friction coefficient B' | Dimensionless |
friction_mutual_alpha(T) |
Mutual-friction coefficient alpha | Dimensionless |
friction_mutual_alpha_prime(T) |
Mutual-friction coefficient alpha' | Dimensionless |
For low-temperature pressure corrections, the following functions accept both pressure and temperature arrays. They are based on Abraham et al. (1970):
| Function | Property | Result unit |
|---|---|---|
density_from_pressure_low_temperature(P, T) |
Density corrected for pressure | kg/m^3 |
sound_velocity_first_from_pressure_low_temperature(P, T) |
First-sound velocity corrected for pressure | m/s |
The fits are intended for the temperature and pressure ranges covered by the source data. Values outside those ranges may be extrapolated by SciPy and should be treated with caution.
The module is based on publication by:
Russell J. Donnelly and Carlo F. Barenghi J. Phys. Chem. Ref. Data 27, 1217 (1998); http://dx.doi.org/10.1063/1.556028 "The Observed Properties of Liquid Helium at the Saturated Vapor Pressure"
In addition to the replication of the publication, the module has a function to infer temperature of liquid helium from saturated vapour pressure.
import liquid_helium_svp as helium
temperature = 4.2 # K
pressure = helium.pressure_SVP(temperature)
recovered_temperature = helium.temperature_from_pressure_SVP(pressure)
print(f'Liquid helium at {temperature} K has vapour pressure of {pressure:.2f} Pa')
print(f'{pressure:.2f} Pa corresponds to {recovered_temperature:.2f} K')
License
MIT
Metadata
Release files for liquid-helium-svp 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| liquid_helium_svp-0.1.0.tar.gz | 13.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| liquid_helium_svp-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 25.5 kB
Release files / liquid_helium_svp-0.1.0.tar.gz
| Download URL | liquid_helium_svp-0.1.0.tar.gz |
|---|---|
| Size | 13.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5f28efed82835eede8dc25bc3d0afd4d9ba949d143afffe87e93ba7e41576697
|
|
BLAKE2b-256 checksum How to use checksums |
49159fe9a532269c807d7fbefb97b44e1b9eddd321881dba5ec27acf13574dee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.11
|
Release files / liquid_helium_svp-0.1.0-py3-none-any.whl
| Download URL | liquid_helium_svp-0.1.0-py3-none-any.whl |
|---|---|
| Size | 12.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
35f127466036185563569426a2946f2b683df939b61f51e40c5b5c38c5394a41
|
|
BLAKE2b-256 checksum How to use checksums |
98280a9d60f3672ab2f6299bd40a7c449ab2b535202a82471cf34cc7b0c58d5d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.11
|