Skip to main content

flowtube Package

PyPI Version License: MIT Tests codecov Documentation Status

A Python package for transport and diffusion calculations in cylindrical flow reactors using the KPS method published in Knopf et al., Anal. Chem., 2015. The package is currently designed for coated wall reactor (CWR) and boat reactor analysis with plans to support aerosol flow reactors in future versions.

Author: Corey Pedersen

Documentation: https://flowtube.readthedocs.io/

Features

  • Flow Calculations: Flow rates, velocities, residence times, and Reynolds numbers.
  • Transport Properties: Dynamic viscosity and density
  • Diffusion Analysis: Binary diffusion coefficients, Péclet numbers, and mixing parameters
  • Uptake Modeling: Diffusion correction factors and uptake coefficient calculations
  • Support for Inserts: Handles coated cylindrical inserts within flow tubes
  • Support for Boats: Handles boat reactors which are placed inside of a flow tube and filled with an analyte solution.

Scientific Applications

This package is designed for atmospheric chemistry and aerosol research, particularly for:

  • Heterogeneous reaction kinetics studies
  • Uptake coefficient measurements
  • Flow reactor design and optimization
  • Transport phenomena analysis in laminar flow systems

Installation

pip install flowtube

Acronyms

  • sccm = standard cubic centimeter per minute
  • FT = flow tube
  • FR = flow rate
  • MR = mixing ratio
  • CWR = coated wall reactor

Assumptions

KPS method assumptions (Knopf et al., 2015):

  1. The interacting gas species is a trace gas in the bulk flow
  2. Laminar flow is established in the flow reactor
  3. The gas temperature and viscosity are homogeneous
  4. The axial diffusion velocity is negligible compared to bulk flow velocity
  5. The amount of gas species taken up is small compared to its reservoir
  6. There is an absence of gas-phase reactions impacting gas species concentration

Bibliography (more citations within package files)

Knopf, D.A., Pöschl, U., Shiraiwa, M., 2015. Radial Diffusion and Penetration of Gas Molecules and Aerosol Particles through Laminar Flow Reactors, Denuders, and Sampling Tubes. Anal. Chem. 87, 3746–3754. https://doi.org/10.1021/ac5042395

Metadata

Release files for flowtube 1.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for flowtube 1.5.0
File Size Uploaded
flowtube-1.5.0.tar.gz 44.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for flowtube 1.5.0
File Interpreter ABI Platform
flowtube-1.5.0-py3-none-any.whl Python 3 none any Details

Total release size: 87.8 kB

Release files / flowtube-1.5.0.tar.gz

Download URL flowtube-1.5.0.tar.gz
Size 44.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d5a668a6d010b2991bb905637533efcb7b0eb0ab01d65a96a65624d7ecfc831f
BLAKE2b-256 checksum
How to use checksums
4d004367fa6a4da20b2af0b71f459685ca196becd3f5a27e81ec0bb01efb5f95
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / flowtube-1.5.0-py3-none-any.whl

Download URL flowtube-1.5.0-py3-none-any.whl
Size 43.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
918e51b18cb0b5a4ac86c030d6bf91a197ce9574e6ddcc4d6f6fbafc7b4d6ea4
BLAKE2b-256 checksum
How to use checksums
75ccfda1198f338cdb068ad7e9adac997e8fdfec21bb7be1e5ef15c90c22a901
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

This release

1.5.0 This release

2 release files

1.4.0

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page