Skip to main content

ddr_cantera

To use this project Cantera should be installed in the environment otherwise module not found error will arise. Cantera is not installed by uinstalling this package. This project includes some basic functionalities with cantera. Most of them includes density calculations using cantera but not all. Most functions calculates properties of air unless otherwise specified.

import ddr_cantera

Air properties calculation

density = ddr_cantera.get_density(pressure=10, temperature=120)

returns air density at 10 bars(~ atm) pressure and 120 degree celcius temperature.

mdot = ddr_cantera.LPM_to_kg_per_sec(LPM=100, pressure=10, temperature=120)

returns mass flow rate of air in kg/s from LPM.

mdot = ddr_cantera.SLPM_to_kg_per_sec(SLPM=100)

returns mass flow rate of air in kg/s from SLPM. standard temperature is taken as 25 degree celcius and standard pressure is 1 atmosphere.

a = ddr_cantera.sound_speed(pressure=2, temperature=25)

returns speed of sound in air. the sound speed is calculated by $\sqrt{\frac{\partial P}{\partial \rho}}$. wherein the gas is first equilibrium at initial TP and then pressure is perturbed and gas is again taken to another equilibrium at constant entropy. Hence from these two states $\partial P$ and $\partial \rho$ can be calculated.

This code is built upon the code from official cantera tutorials.

Metadata

Release files for ddr-cantera 0.0.3

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

Source distribution (sdist)

Source distribution for ddr-cantera 0.0.3
File Size Uploaded Provenance Actions
ddr_cantera-0.0.3.tar.gz 6.1 kB Without provenance Details for ddr_cantera-0.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ddr-cantera 0.0.3
File Interpreter ABI Platform Actions
ddr_cantera-0.0.3-py3-none-any.whl Python 3 none any Details for ddr_cantera-0.0.3-py3-none-any.whl

Total release size: 12.7 kB

Release files / ddr_cantera-0.0.3.tar.gz

Download URL ddr_cantera-0.0.3.tar.gz
Size 6.1 kB
Tags Source
SHA-256 checksum
How to use checksums
f319eb8174109ac54fbc233f7b55e5e49a1b42fff855df726085371e94524d68
BLAKE2b-256 checksum
How to use checksums
95f265dda960a91dbe1a618ef3424a9ac92268509ddce8711e288e0bebfa6352
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.0

Release files / ddr_cantera-0.0.3-py3-none-any.whl

Download URL ddr_cantera-0.0.3-py3-none-any.whl
Size 6.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5057ecc5802d3dfe5edd97600c8bcb0c526d1970567ea8327c153e9071759e93
BLAKE2b-256 checksum
How to use checksums
e14567f3f41ac45ce718354f1272c4cd0bfbf40c517a662c0427db03d183ffaf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.0

Security for ddr-cantera 0.0.3

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.

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