Skip to main content

BAMBOO

Cambridge University Spaceflight

DOI

Bamboo is a Python tool that provides functions and classes for modelling the cooling systems of liquid rocket engines. Alongside this, it contains a range of other miscellaneous tools to aid with general engine design.

An introduction to the package can be found in the 'Introduction to Bamboo.ipynb' Jupyter Notebook. Additional examples can be found in the 'examples' folder.

Installation

Bamboo can be installed via pip, with the following command:

pip install cusfbamboo

Documentation

Made using Sphinx, available at: https://cuspaceflight.github.io/bamboo/

Validation

All validation cases are available as Jupyter notebook, with hyperlinks below. Positive signs on the errors represent an overprediction (i.e. excess heat transfer rate, excess pressure drop, or excess temperature rise).

All validation cases were performed with the Gnielinski equation for coolant-side convection, the Bartz (sigma) equation for exhaust-side convection, and smooth walls were assumed for the pressure drop.

It can be seen that overall, Bamboo tends to overpredict temperatures and pressure drops, and so would usually result in a conservative design if used to design an engine.

A key effect that needs to be investigated is nucleate boiling, and how significantly that affects the results. Test cases that use a supercritical coolant will not be susceptible to nucleate boiling, and so are better modelled by Bamboo (which currently ignores two-phase effects).

Engine Coolant State Peak Heat Flux Error Coolant Temperature Rise Error Coolant Pressure Drop Error
Vulcain Chamber Supercritical +40.3% +17.9% +56.1%
Vulcain Nozzle Extension Supercritical - +2.75% +33.4%
Pavli 1966 Gaseous +22.4% +34.2% -

Release 0.2.1

  • Added additional validation cases.
  • Coolant flow solver can now accommodate compressible coolants automatically.
  • Removed fin heat transfer for now, as it was producing spurious results.
  • Corrected mistakes with spiralling channel geometry.
  • Swapped to using the recovery temperature instead of static temperature for the exhaust gas temperature in thermal circuits.

Useful Packages

These packages are not installed with Bamboo by default, but can be very useful for creating accurate simulations.

CoolProp

CoolProp can be used to get the thermophysical properties of huge range of fluids. It is useful for setting up the transport properties of coolants in Bamboo.

Cantera

Cantera can be used to perform equilibrium calculations and to get the thermophysical properties of ideal gases. It is useful for setting up the transport properties of the exhaust gases in Bamboo. It can also be used to calculate combustion chamber temperatures, although with the default data sets it can only do this for a limited range of fuel/oxidiser combinations.

pypropep

pypropep can be used to calculate combustion chamber temperature and exhaust gas properties (however it cannot calculate calculate some transport properties, such as viscosity and thermal conductivity). Note that when using pypropep, the best results have been observed when you use the gas properties at the throat as your inputs into Bamboo's perfect gas model.

Metadata

Release files for cusfbamboo 0.2.4

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

Source distribution (sdist)

Source distribution for cusfbamboo 0.2.4
File Size Uploaded
cusfbamboo-0.2.4.tar.gz 30.7 kB Details

Release files / cusfbamboo-0.2.4.tar.gz

Download URL cusfbamboo-0.2.4.tar.gz
Size 30.7 kB
Tags Source
SHA-256 checksum
How to use checksums
7eae234eef484f25db25aad938eb1ceccbb8441a159882538b926ac716d9a56f
BLAKE2b-256 checksum
How to use checksums
caaf736d78a73371a2ad82df097d66d92bb7ce6a62c26f383bfba855c39aa5d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.4 tqdm/4.59.0 importlib-metadata/3.10.0 keyring/22.3.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.8

Release history Release notifications | RSS feed

This release

0.2.4 This release

1 release file

0.2.3

1 release file

0.2.2

1 release file

0.2.1

1 release file

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