pypbomb

pypbomb: A Python package with tools for the design of detonation tubes - Published in JOSS (2022)

https://github.com/cartemic/pypbomb

Science Score: 95.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 1 DOI reference(s) in JOSS metadata
  • Academic publication links
    Links to: joss.theoj.org, zenodo.org
  • Committers with academic emails
    1 of 1 committers (100.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
    Published in Journal of Open Source Software

Keywords

detonation

Scientific Fields

Mathematics Computer Science - 84% confidence
Last synced: 6 months ago · JSON representation

Repository

A small package to assist with detonation tube design

Basic Info
Statistics
  • Stars: 3
  • Watchers: 0
  • Forks: 1
  • Open Issues: 5
  • Releases: 4
Fork of SoftwareDevEngResearch/pypbomb
Topics
detonation
Created almost 8 years ago · Last pushed over 1 year ago
Metadata Files
Readme Changelog License

README.md

pypbomb

Black badge Isort badge Travis build badge Codecov badge Documentation badge status DOI


For when you want the detonation to stay on the inside.

Overview

This package was made to help with the design of a closed-end detonation tube, and was written as part of my PhD research in the propulsion lab at Oregon Sate University. It contains some tools that can be used to iteratively determine initial design parameters for a closed-end detonation tube.

The main items of interest are:

  • Bolt: Methods relating to bolt calculations and property lookup.
  • DDT: Methods for estimating the deflagration-to-detonation transition (DDT).
  • Flange: Methods pertaining to flange class and max pressure calculations.
  • Tube: Methods for designing and determining operational limits of a detonation tube.
  • Window: Methods for the design of viewing windows for optical access.

Full documentation can be found here.

Installation

Once cloned to your local machine, pypbomb can be installed via pip from within the project's top-level directory:

bash pip install .

Further instructions can be found in the full documentation if needed.

Short Example

To get an estimate for the maximum initial pressure that a tube with a given geometry can handle:

```python import pint from pypbomb import Tube

ureg = pint.UnitRegistry() quant = ureg.Quantity

initialpressure = Tube.calculatemaxinitialpressure( tubeid=quant(5.76, "in"), tubeod=quant(6.625, "in"), initialtemperature=quant(70, "degF"), speciesdict={"H2":2, "O2":1}, mechanism="gri30.yaml", maxpressure=(2, "kpsi"), elasticmodulus=quant(200, "GPa"), density=quant(8, "g/cm**3"), poisson_ratio=0.27, ) ```

Owner

  • Name: Mick
  • Login: cartemic
  • Kind: user

C is for cell size, that's good enough for me. A software developer who is trying desperately to finish a PhD in mechanical engineering in his free time

JOSS Publication

pypbomb: A Python package with tools for the design of detonation tubes
Published
May 18, 2022
Volume 7, Issue 73, Page 4143
Authors
Mick Carter
School of Mechanical, Industrial, and Manufacturing Engineering, Oregon State University, Corvallis, OR, USA
David Blunck
School of Mechanical, Industrial, and Manufacturing Engineering, Oregon State University, Corvallis, OR, USA
Editor
Kyle Niemeyer ORCID
Tags
detonation

GitHub Events

Total
  • Watch event: 1
Last Year
  • Watch event: 1

Committers

Last synced: 7 months ago

All Time
  • Total Commits: 357
  • Total Committers: 1
  • Avg Commits per committer: 357.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Mick Carter c****c@o****u 357
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 8
  • Total pull requests: 11
  • Average time to close issues: 7 days
  • Average time to close pull requests: about 18 hours
  • Total issue authors: 2
  • Total pull request authors: 1
  • Average comments per issue: 1.38
  • Average comments per pull request: 0.64
  • Merged pull requests: 11
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • cartemic (5)
  • mefuller (3)
Pull Request Authors
  • cartemic (11)
Top Labels
Issue Labels
bug (1)
Pull Request Labels

Dependencies

.github/workflows/Documentation.yml actions
  • actions/checkout v2 composite
  • ad-m/github-push-action master composite
  • r-lib/actions/setup-pandoc v1 composite
docs/requirements.txt pypi
  • ipython *
  • jupyter *
  • markupsafe <2.1.0
  • matplotlib *
  • nbsphinx *
  • seaborn *
  • sphinx *
  • sphinx-rtd-theme *
  • tables *
pyproject.toml pypi
requirements.txt pypi
  • cantera ==2.6.0
  • numpy ==1.22.3
  • pandas ==1.4.2
  • pint <=0.11
  • scipy ==1.8.0
requirements_dev.txt pypi
  • black * development
  • flake8 * development
  • isort * development
  • pre-commit * development
requirements_test.txt pypi
  • mock * test
  • pytest * test
  • pytest-cov * test
setup.py pypi