Skip to content

runphilrun/TDU

Repository files navigation

Thruster Design Utility

Documentation Status Build status GitHub issues PyPI GitHub stars GitHub forks GitHub license

Tool to aid in design of small monopropellant thrusters. View this project on STEMN

Scope

The purpose of this script is to make it easy to see how tweaks in nozzle geometry, propellants, chamber conditions, and ambient conditions affect nozzle performance in order to find the optimal design solution. This script does not perform any optimization.

Features

  • Simulate the performance of a thruster in space for a given set of parameters and output performance metrics.
  • Output simulation data in a useful manner.
  • Allow the user to easily tweak parameters.

Usage

Generating an input file

TDU loads propellant properties, inlet conditions, and nozzle geometry from a specially formatted tab-delimited text file with the extension *.tdu.

In general, the format of an input file is as follows:

PropellantNameString
Gamma    MolecularWeight
T0    P0
NumberofNodes
xLocation0    radius0
xlocation1    radius1
    .            .
    .            .
    .            .
xlocationN    radiusN

Running the script

  • Open tdu.m in Matlab 2014 or newer.
  • Specify the desired input file as the value of filein. (For example, filein='sample.tdu';)
  • To show additional plots and print verbose actions and data to the command line, set debug=true;.
  • Run tdu Mach number, temperature ratio, and pressure ratio at the exit of the nozzle agree with NASA Report 1135 for air at 1 atm with an area ratio of 2.005.

If you encounter any bugs, please report them in the Issue Tracker!