Skip to main content

Implementation of the Zukauskas correlations for crossflow over banks of tubes.

Project description

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

MIT

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tubebank-1.0.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tubebank-1.0-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file tubebank-1.0.tar.gz.

File metadata

  • Download URL: tubebank-1.0.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.7

File hashes

Hashes for tubebank-1.0.tar.gz
Algorithm Hash digest
SHA256 22b2665d0519c40a66bcf15bffa7723f7ac029f070c461a4e34fdf0312723a08
MD5 fc90bade05eb4b3437024d456555a7b0
BLAKE2b-256 2ec98209892b3e3d0d98420a9ac9294adda630a3910be2bc9be05d551fc78957

See more details on using hashes here.

File details

Details for the file tubebank-1.0-py3-none-any.whl.

File metadata

  • Download URL: tubebank-1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.7

File hashes

Hashes for tubebank-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3301ad13aa5a0ff4f6185caa419142b64238af2c7691b84a9b5d5321cbfdf811
MD5 a7a21e1b58c65eacac057154ee4698b9
BLAKE2b-256 646843c97316db830817a01913903c9ed25261bab8d79a179f4545b7eb24147b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page