Python framework for computing evaporative cooling of liquid jets in vacuum using the Knudsen model
Project description
temp_liq_jet
temp_liq_jet is a Python package for computing the temperature of liquid jets (water, argon, krypton) in vacuum using the Knudsen evaporative cooling model.
The package solves coupled mass evaporation and heat transport equations for concentric shells and provides interpolated profiles for temperatures, jet radius, and mass loss along the jet.
Features
- Evaporative cooling of liquid jets and droplets
- Supported liquids: water, argon, krypton
- Cylindrical (filament) and spherical (droplet) geometries
- Coupled mass and heat transport solved using SciPy ODE solvers
- Interpolated profiles for:
- Shell temperatures
- Jet / droplet radius
- Average, surface, and core temperatures
- Multiple density and heat-capacity models for water
Installation
Install the package via terminal:
python -m pip install temp_liq_jet
Quick start
from temp_liq_jet import KnudsenModel
liquid_jet = KnudsenModel(
liquid="water", # 'water', 'argon', or 'krypton'
w_cp_model="Angell1982", # Water heat capacity model ('Angell1982', 'Archer2000', 'Pathak2021')
w_rho_model="Hare1987", # Water density model ('Hare1987', 'Caupin2019')
D=3, # Geometry, with 2 = filament, 3 = droplet
T_nozzle=292, # Nozzle temperature (K)
d=8e-6, # Initial jet/droplet diameter (m)
v=20.0, # Jet velocity (m/s)
N=100, # Number of concentric shells
z_end_mm=10, # Integration length (mm)
evap_coef=0.9, # Evaporation coefficient. Default is 1
p_amb=0.1, # Ambient pressure (mbar). Default is 0 mbar
accuracy='high' # Numerical accuracy, which can be set to 'low', 'medium' (default), or 'high'
)
Accessing simulation results
Retrieve normalized outer shell mass
z_mass, mass = liquid_jet.norm_mass()
Retrieve interpolated temperature splines
z_range, T_shell_splines = liquid_jet.temperature()
Interpolated average jet temperature
avg_temp_spline = liquid_jet.avg_temperature()
Interpolated surface and core temperatures
surface_temp_spline = liquid_jet.surface_temp()
core_temp_spline = liquid_jet.core_temp()
Interpolated jet radius
radius_spline = liquid_jet.radius()
Evaluate any quantity at a given distance z
z_point = 0.005 # m
avg_temp = avg_temp_spline(z_point)
surface_temp = surface_temp_spline(z_point)
core_temp = core_temp_spline(z_point)
radius = radius_spline(z_point)
Credits
Please cite as:
C. Goy, R. E. Grisenti (2026)
KnudsenModel: A Physically Consistent Python Framework for Computing Evaporative Cooling of Liquid Jets
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file temp_liq_jet-0.2.3.tar.gz.
File metadata
- Download URL: temp_liq_jet-0.2.3.tar.gz
- Upload date:
- Size: 11.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
67c5d5de7b91517d7c5b137a76c39448867fe829efaddbb3f737159cc55b45a0
|
|
| MD5 |
8dcfe3ef0f8ec207924445ec101f93ae
|
|
| BLAKE2b-256 |
f5ef5e3c5221d3cc8011b9d45fbeb310f08236418ea952c01919a4e33eca21ec
|
File details
Details for the file temp_liq_jet-0.2.3-py3-none-any.whl.
File metadata
- Download URL: temp_liq_jet-0.2.3-py3-none-any.whl
- Upload date:
- Size: 11.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dd2e0f07bf2b6eb23662e60ddbbad6ea794dc83701a499103f3b88921af7304a
|
|
| MD5 |
86ee5d8804de187d31b2a5e33f8470db
|
|
| BLAKE2b-256 |
629c9f0dfaae3942c2270b1f89463a4445c8ad9ed5de18958441921b63e04175
|