Crates.io | comp-flow |
lib.rs | comp-flow |
version | 0.1.1 |
source | src |
created_at | 2024-04-14 20:03:54.428288 |
updated_at | 2024-04-15 19:47:24.588532 |
description | Basic compressible flow relations |
homepage | |
repository | https://github.com/aureliegrebe/comp-flow |
max_upload_size | |
id | 1208509 |
size | 19,906 |
This library contains functions for basic compressible flow relations.
The naming of the API is heavily inspired by the python library compflow
.
The included functions have no input checking or error handling whatsoever. Invalid (non-physical) inputs such as mach < 1 for a shock relation or gamma < 1 may produce non-sensical outputs.
Add this to your Cargo.toml
:
[dependencies]
comp-flow = "0.1"
For API documentation, see docs.rs
Contributions are welcome, particularly optimizing the functions that make use of Newton's method. If a particular relation that you use is not included, feel free to add it.