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.10.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.10-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: compressible_flow-0.1.10.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.10.tar.gz
Algorithm Hash digest
SHA256 e9f7510fca08fa54bccc83bd4ddaf623e9aa7984f1093d6a21421145cbc22eaa
MD5 f67c2a7a2893801797a3469e84c9a737
BLAKE2b-256 ee23e139c4f127a4be127f4ccba3e9c247d9157e5454dd6268a1241250820877

See more details on using hashes here.

File details

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

File metadata

  • Download URL: compressible_flow-0.1.10-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.10-py3-none-any.whl
Algorithm Hash digest
SHA256 bbeb5147a8116ba6585c362dba26763ba9fbebfc9e432a0d6e99098e350db2e2
MD5 5df58c87d29bd9914efd53bc77b02e09
BLAKE2b-256 b1223b9f43041eeb32f646ee03895abba3b51e0500d3d2fbeb713098dd4c3546

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