tubebank
tubebank is a Python library for dealing with tube banks in crossflow. You can learn more about tube banks at Thermopedia.
tubebank is based on empirical data from A. Zukauskas. It is not highly accurate, especially in the low-intermediate Re range.
tubebank was developed by Ellie Litwack for Baltimore Aircoil Company.
Installation
Use the package manager pip to install tubebank.
pip install tubebank
Usage
import tubebank
# If n <= 7, a correction factor for short tube banks is applied.
n = 6 # The number of rows.
diameter = 0.02 # tube diameters (length)
st = 0.03 # transverse pitch (length)
sl = 0.03 # longitudinal pitch (length)
mean_superficial_velocity = 2 # (length/time)
density = 1.2 # mass/(length*time)
viscosity = 1.8e-5 # dynamic viscosity (mass/(length*time))
staggered = True # False for inline banks, true for stagggered ones
# alpha, beta, viscosity_ratio, and bounds_warnings are optional.
# get the pressure drop across a tube bank
tubebank.get_pressure_drop(n, staggered, diameter, st, sl,
mean_superficial_velocity, density, viscosity)
prandlt_number = 0.7
# get the Nusselt number of a tube bank
# valid for n >= 20, 0.7 ~<= Prandlt number ~<= 500,
# 1000 ~<= Re ~<= 2e6
tubebank.get_nusselt_number(staggered, diameter, mean_superficial_velocity,
density, viscosity, st, sl, prandlt_number, n)
Contributing
Pull requests are welcome! I would be particularly interested in contributions that could incorporate more recent/accurate data. Find the project on Github.
License
Metadata
Release files for tubebank 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 | Provenance | Actions |
|---|---|---|---|---|
| tubebank-1.0.tar.gz | 8.2 kB | Without provenance | Details for tubebank-1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tubebank-1.0-py3-none-any.whl | Python 3 | none | any | Details for tubebank-1.0-py3-none-any.whl |
Total release size: 16.5 kB
Release files / tubebank-1.0.tar.gz
| Download URL | tubebank-1.0.tar.gz |
|---|---|
| Size | 8.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
22b2665d0519c40a66bcf15bffa7723f7ac029f070c461a4e34fdf0312723a08
|
|
BLAKE2b-256 checksum How to use checksums |
2ec98209892b3e3d0d98420a9ac9294adda630a3910be2bc9be05d551fc78957
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.7
|
Release files / tubebank-1.0-py3-none-any.whl
| Download URL | tubebank-1.0-py3-none-any.whl |
|---|---|
| Size | 8.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3301ad13aa5a0ff4f6185caa419142b64238af2c7691b84a9b5d5321cbfdf811
|
|
BLAKE2b-256 checksum How to use checksums |
646843c97316db830817a01913903c9ed25261bab8d79a179f4545b7eb24147b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.7
|
Security for tubebank 1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.