Skip to main content

A Python package for chemical reactor engineering

Project description

Chemics

The Chemics package is a collection of Python functions for conducting calculations in the field of chemical and fluidization engineering. Source code for the package is available on GitHub and contributions from the community are encouraged.

Installation

The Anaconda or Miniconda distribution of Python is recommended for scientific computing. After setting up Python, the Chemics package can be downloaded and installed with the pip package manager:

pip install chemics

Usage

The example below imports the Chemics package then uses the rhog() function to calculate the density of a gas based on its molecular weight, pressure, and temperature.

import chemics as cm
cm.rhog(28, 170100, 773)

An example of calculating the terminal velocity of a particle according to the Haider and Levenspiel 1989 paper is shown below.

import chemics as cm

# Parameters
dp = 0.00016    # particle diameter [m]
mu = 1.8e-5     # gas viscosity [kg/(m s)]
phi = 0.67      # particle sphericity [-]
rhog = 1.2      # gas density [kg/m^3]
rhos = 2600     # particle density [kg/m^3]

# Haider and Levenspiel terminal velocity [m/s]
ut_haider = cm.ut_haider(dp, mu, phi, rhog, rhos)

More examples are available in the chemics-examples repository.

Documentation

Documentation for the Chemics package is available at chemics.github.io.

Contributing

See the CONTRIBUTING.md document for guidelines on contributing to the Chemics package.

License

Chemics is available under the MIT License - see the LICENSE file for more information.

Project details


Download files

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

Source Distribution

chemics-19.5.1.tar.gz (598.5 kB view details)

Uploaded Source

Built Distribution

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

chemics-19.5.1-py3-none-any.whl (610.2 kB view details)

Uploaded Python 3

File details

Details for the file chemics-19.5.1.tar.gz.

File metadata

  • Download URL: chemics-19.5.1.tar.gz
  • Upload date:
  • Size: 598.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for chemics-19.5.1.tar.gz
Algorithm Hash digest
SHA256 1083d3d16b73e769823e6e722094644d8360df17474742709336eee68fb77203
MD5 2128ccbfb4d75fda2845959537237549
BLAKE2b-256 0f9251b64ece151b47c1db17504bbb04971eb360a167391dc7a644b340274d32

See more details on using hashes here.

File details

Details for the file chemics-19.5.1-py3-none-any.whl.

File metadata

  • Download URL: chemics-19.5.1-py3-none-any.whl
  • Upload date:
  • Size: 610.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for chemics-19.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 04d04c78181eb4d311bebc926464b476abbce866eee7d90379f16b07aa643fd9
MD5 31e5c39ad94f6bd717e02ac3a4245789
BLAKE2b-256 58505a368942caecc0fe1550dd7f5c659ffdd9dcdfeb3a2eeee57d4a2962b761

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