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.
Metadata
Release files for chemics 19.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| chemics-19.5.tar.gz | 597.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| chemics-19.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.2 MB
Release files / chemics-19.5.tar.gz
| Download URL | chemics-19.5.tar.gz |
|---|---|
| Size | 597.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
49962396e19c873abac1a9039983e857aeed14be96e1b7966391361d7e9599a0
|
|
BLAKE2b-256 checksum How to use checksums |
67bc460c1328442434d2732c3b8af21200374e9799ec0e117d6b2e54d373444c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / chemics-19.5-py3-none-any.whl
| Download URL | chemics-19.5-py3-none-any.whl |
|---|---|
| Size | 609.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8c7ca080cef96c66080de2adc309a648d433299315f629c354f867de449f4465
|
|
BLAKE2b-256 checksum How to use checksums |
d157b43fee7f4d251c16154d0bdc658ef974a6a5470cddd134a824625300f3b5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|