Initial commit of "Rocket Workbench".
Taken from sources in CVS at:
https://sourceforge.net/projects/rocketworkbench/
Sources extracted in two steps:
1. Pull entire project tree into a subdir "rwb" via "rsync":
rsync -a a.cvs.sourceforge.net::cvsroot/rocketworkbench/ rwb/.
2. Export sources:
export CVSROOT=$(pwd)/rwb
SUBDIRS="analyser cpropep cpropep-web CVSROOT data libcompat libcpropep libnum libsimulation libthermo prop rocketworkbench rockflight"
mkdir rwbx; cd rwbx
cvs export -D now ${SUBDIRS}
After this (and some backups for safety), the directory content was
added to a Git repo:
git init .
git add *
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
This is cpropep version 1.0, a program for determining the
|
||||
theoretical performance of rocket propellant compositions.
|
||||
Cpropep is released under the GPL and is written in ANSI C.
|
||||
It has compiled successfully under the following platforms:
|
||||
|
||||
. i686 Windows 98 (4.10.1998) running Microsoft Visual
|
||||
C++ 6.0 Standard Edition with Microsoft Visual Studio
|
||||
Service Pack 2
|
||||
. i686 Red Hat Linux 6.2 (Kernel 2.2.14-12) with gcc
|
||||
. i586 Debian GNU/Linux 2.2 (Kernel 2.2.16) with gcc
|
||||
|
||||
To compile under linux, type make in the top-level directory.
|
||||
Under MSVC++, create a new Win32 console project file, add
|
||||
all source and header files to the project, set the header
|
||||
file directory to ..\lib\ (or copy all files from \lib to
|
||||
\cpropep or change the #include statements in cpropep.c) and
|
||||
build.
|
||||
|
||||
|
||||
Run using
|
||||
cpropep -h
|
||||
for command-line help and usage.
|
||||
|
||||
|
||||
Cpropep is Copyright (C) 2000 Antoine Lefebvre
|
||||
<antoinelefebvre@softhome.net>
|
||||
@@ -0,0 +1,81 @@
|
||||
.\" Hey, EMACS: -*- nroff -*-
|
||||
.\" First parameter, NAME, should be all caps
|
||||
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
|
||||
.\" other parameters are allowed: see man(7), man(1)
|
||||
.TH CPROPEP 1 "June 30, 2001"
|
||||
.\" Please adjust this date whenever revising the manpage.
|
||||
.\"
|
||||
.\" Some roff macros, for reference:
|
||||
.\" .nh disable hyphenation
|
||||
.\" .hy enable hyphenation
|
||||
.\" .ad l left justify
|
||||
.\" .ad b justify to both left and right margins
|
||||
.\" .nf disable filling
|
||||
.\" .fi enable filling
|
||||
.\" .br insert line break
|
||||
.\" .sp <n> insert n+1 empty lines
|
||||
.\" for manpage-specific macros, see man(7)
|
||||
.SH NAME
|
||||
cpropep \- Propellant Evaluation Program
|
||||
.SH SYNOPSIS
|
||||
.B cpropep
|
||||
.RI [ -voe ] -f infile
|
||||
.br
|
||||
.B cpropep
|
||||
.RI [ -pqtuh ]
|
||||
.br
|
||||
.SH DESCRIPTION
|
||||
.B cpropep
|
||||
is a propellant evaluation program based on the chemical
|
||||
equilibrium algorithm presented by GORDON and McBRIDE in NASA
|
||||
report RP-1311
|
||||
.PP
|
||||
This manual page was written for the Debian GNU/Linux distribution
|
||||
because the original program does not have a manual page.
|
||||
.PP
|
||||
.\" TeX users may be more comfortable with the \fB<whatever>\fP and
|
||||
.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
|
||||
.\" respectively.
|
||||
.SH OPTIONS
|
||||
A summary of options is included below.
|
||||
.TP
|
||||
.B cpropep
|
||||
Shows summary of options.
|
||||
.TP
|
||||
.B \-h
|
||||
Show summary of options.
|
||||
.TP
|
||||
.B \-i
|
||||
Show version of program.
|
||||
.TP
|
||||
.B \-f infile
|
||||
Perform an analysis of the propellant data contained within file 'infile'.
|
||||
.TP
|
||||
.B \-v num
|
||||
Output verbosity, 0 - 10
|
||||
.TP
|
||||
.B \-o outfile
|
||||
Output file. If not specified stdout is used.
|
||||
.TP
|
||||
.B \-e
|
||||
Error file. If not specified stdout is used.
|
||||
.TP
|
||||
.B \-p
|
||||
Print the propellant list.
|
||||
.TP
|
||||
.B \-q num
|
||||
Print information about propellant number
|
||||
.B num
|
||||
.TP
|
||||
.B \-t
|
||||
Print combustion product list.
|
||||
.TP
|
||||
.B \-u num
|
||||
Print information about product number
|
||||
.B num
|
||||
.SH SEE ALSO
|
||||
.\" .BR baz (1).
|
||||
.br
|
||||
.SH AUTHOR
|
||||
This manual page was written by Geoff O'Callaghan <geoff@starbiz.com.au>,
|
||||
for the Debian GNU/Linux system (but may be used by others).
|
||||
@@ -0,0 +1,7 @@
|
||||
This is cpropep version 1.0, a program for determining the
|
||||
theoretical performance of rocket propellant compositions.
|
||||
Cpropep is released under the GPL and is written in ANSI C.
|
||||
|
||||
Run this example using
|
||||
cpropep -f input.pro
|
||||
|
||||
@@ -0,0 +1,106 @@
|
||||
# Cpropep is based on the theory presented by Gordon and McBride
|
||||
# in the NASA report RP-1311. You can download a pdf version of
|
||||
# this document at http://www.arocket.net/library/
|
||||
|
||||
# The thermodynamics data file thermo.dat coma also from McBride
|
||||
# at the NASA Gleen Research center.
|
||||
|
||||
# Here is an example of an input file to be use by cpropep.
|
||||
# Any line beginning by a '#' a space or a new_line is considered
|
||||
# as a comment.
|
||||
|
||||
# This file should first contain a section named 'Propellant' which
|
||||
# contain a list of all substance contain in the propellant. The
|
||||
# number refer to an element in the data file containing propellant
|
||||
# information. In order to have a list of the substance, you could
|
||||
# invoque the program like that: 'cpropep -p'
|
||||
|
||||
# There is two units that are support for ingredient quantity g (gram) or m (mole)
|
||||
|
||||
Propellant
|
||||
+600 6.2012 m
|
||||
+618 7.7632 m
|
||||
|
||||
#Propellant HTPB/KClO4/Al
|
||||
#+108 78 g
|
||||
#+788 11 g
|
||||
#+34 7 g
|
||||
#+788 8.4 g
|
||||
#+108 62 g
|
||||
#+493 18 g
|
||||
|
||||
#Propellant DEXTROSE/KNO3
|
||||
#+1024 35 g
|
||||
#+765 65 g
|
||||
|
||||
#Propellant DEXTROSE/KNO3/AL
|
||||
#+1024 10 g
|
||||
#+765 37 g
|
||||
#+34 20 g
|
||||
|
||||
#Propellant PVC/AIR
|
||||
#+1030 60 g
|
||||
#+15 300 g
|
||||
|
||||
#Propellant H2O2/OCTANE
|
||||
#+673 12 g
|
||||
#+469 80 g
|
||||
|
||||
#Propellant O2/OCTANE
|
||||
#+686 51 g
|
||||
#+673 20 g
|
||||
|
||||
#Propellant O2/PROPANE
|
||||
#+686 51 g
|
||||
#+771 20 g
|
||||
|
||||
#Propellant O2/NH3
|
||||
#+686 28 g
|
||||
#+54 20 g
|
||||
|
||||
#Propellant NITRIC ACID/OCTANE
|
||||
#+630 80 g
|
||||
#+673 19 g
|
||||
|
||||
# You could then specify a list of problem to be solve. There is 4
|
||||
# possible cases:
|
||||
|
||||
# TP for temperature-pressure fixed problem
|
||||
# You have to specify the temperature and the pressure (of course)
|
||||
# There is 4 pressure units (psi, kPa, atm and bar) and 3 temperature units (k, c and f)
|
||||
|
||||
#TP
|
||||
#+chamber_pressure 500 psi
|
||||
#+chamber_temperature 673 k
|
||||
|
||||
# HP for enthalpy-pressure fixed problem. It use the enthalpy of
|
||||
# the propellant describe at the beginning.
|
||||
|
||||
# Only the chamber pressure shoud be specified. The temperature of
|
||||
# the product will be the adiabatic flame temperature.
|
||||
|
||||
#HP
|
||||
#+chamber_pressure 20.4 atm # 136 atm
|
||||
|
||||
# FR is used to compute frozen performance.
|
||||
# You have to specify the chamber pressure and an exit condition.
|
||||
# This condition could be one of the following three:
|
||||
|
||||
# exit_pressure: pressure at the exit.
|
||||
# supersonic_area_ratio: exit to throat area for an area after the nozzle
|
||||
# subsonic_area_ratio: exit to throat area for an area before any nozzle
|
||||
|
||||
FR
|
||||
+chamber_pressure 68.049 atm
|
||||
+exit_pressure 1 atm
|
||||
#+supersonic_area_ratio 8.566
|
||||
#+subsonic_area_ratio 5
|
||||
|
||||
# EQ is used to compute shifting equilibrium performance.
|
||||
# The options are the same as for frozen.
|
||||
|
||||
EQ
|
||||
+chamber_pressure 68.049 atm
|
||||
+exit_pressure 1 atm
|
||||
#+supersonic_area_ratio 10
|
||||
#+subsonic_area_ratio 5
|
||||
Reference in New Issue
Block a user