Skip to main content

Functions for working with compressible inviscid flow of gases

Project description

Compressible_flow

Functions for working with compressible inviscid flow of gases.

Description

This package provide a class for the most common function used in calculations of supersonic flow of an ideal gas, including adiabatic flow properties, normal shock wave properties, theta-beta-Mach relation, and Prandtl-Meyer function.

Installation

pip install -i compressible-flow

Usage

Create an Ideal_Gas using the adiabatic ratio $\gamma$ and the effective gas constant $R_{specific}=R/M$ as parameters

import compressible_flow as cf
air = cf.Ideal_Gas(R=287, gamma=1.4)

Calculate the total temperature to temperature ratio T_0/T as a function of the Mach number

air.T0T(M=1.5)

Repository

https://gitlab.com/itorre/compressible_flow

License

This project is released under the MIT license.

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

compressible_flow-0.1.9.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

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

compressible_flow-0.1.9-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file compressible_flow-0.1.9.tar.gz.

File metadata

  • Download URL: compressible_flow-0.1.9.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.10 Linux/5.15.154+

File hashes

Hashes for compressible_flow-0.1.9.tar.gz
Algorithm Hash digest
SHA256 25f45a1719f6f3a52abcf10b8f1a95bfe46877b1ee0ffdb50535f32bbe8c15d5
MD5 7e2d0e3e8ba567dad2a88fe06c1c310b
BLAKE2b-256 c230169a55adcdd3d6aa77cfb353374cac9aeb8a1913dddf0aacd93a252eeb0c

See more details on using hashes here.

File details

Details for the file compressible_flow-0.1.9-py3-none-any.whl.

File metadata

  • Download URL: compressible_flow-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.10 Linux/5.15.154+

File hashes

Hashes for compressible_flow-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 ea1ddd54baba138bf7484417b2879269dcea11b5f81cca9e9e3a3d8b4c5c900f
MD5 ba55c57a55cc8bd12481e44ebc4c3475
BLAKE2b-256 1bdba57b2a225773f57400efbacd3b0a6ec1ef590d67146bae6369a6850bb419

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