Based on the original Rocket Workbench on SourceForge in CVS at: https://sourceforge.net/projects/rocketworkbench
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

106 lines
2.6 KiB

  1. # Cpropep is based on the theory presented by Gordon and McBride
  2. # in the NASA report RP-1311. You can download a pdf version of
  3. # this document at http://www.arocket.net/library/
  4. # The thermodynamics data file thermo.dat coma also from McBride
  5. # at the NASA Gleen Research center.
  6. # Here is an example of an input file to be use by cpropep.
  7. # Any line beginning by a '#' a space or a new_line is considered
  8. # as a comment.
  9. # This file should first contain a section named 'Propellant' which
  10. # contain a list of all substance contain in the propellant. The
  11. # number refer to an element in the data file containing propellant
  12. # information. In order to have a list of the substance, you could
  13. # invoque the program like that: 'cpropep -p'
  14. # There is two units that are support for ingredient quantity g (gram) or m (mole)
  15. Propellant
  16. +600 6.2012 m
  17. +618 7.7632 m
  18. #Propellant HTPB/KClO4/Al
  19. #+108 78 g
  20. #+788 11 g
  21. #+34 7 g
  22. #+788 8.4 g
  23. #+108 62 g
  24. #+493 18 g
  25. #Propellant DEXTROSE/KNO3
  26. #+1024 35 g
  27. #+765 65 g
  28. #Propellant DEXTROSE/KNO3/AL
  29. #+1024 10 g
  30. #+765 37 g
  31. #+34 20 g
  32. #Propellant PVC/AIR
  33. #+1030 60 g
  34. #+15 300 g
  35. #Propellant H2O2/OCTANE
  36. #+673 12 g
  37. #+469 80 g
  38. #Propellant O2/OCTANE
  39. #+686 51 g
  40. #+673 20 g
  41. #Propellant O2/PROPANE
  42. #+686 51 g
  43. #+771 20 g
  44. #Propellant O2/NH3
  45. #+686 28 g
  46. #+54 20 g
  47. #Propellant NITRIC ACID/OCTANE
  48. #+630 80 g
  49. #+673 19 g
  50. # You could then specify a list of problem to be solve. There is 4
  51. # possible cases:
  52. # TP for temperature-pressure fixed problem
  53. # You have to specify the temperature and the pressure (of course)
  54. # There is 4 pressure units (psi, kPa, atm and bar) and 3 temperature units (k, c and f)
  55. #TP
  56. #+chamber_pressure 500 psi
  57. #+chamber_temperature 673 k
  58. # HP for enthalpy-pressure fixed problem. It use the enthalpy of
  59. # the propellant describe at the beginning.
  60. # Only the chamber pressure shoud be specified. The temperature of
  61. # the product will be the adiabatic flame temperature.
  62. #HP
  63. #+chamber_pressure 20.4 atm # 136 atm
  64. # FR is used to compute frozen performance.
  65. # You have to specify the chamber pressure and an exit condition.
  66. # This condition could be one of the following three:
  67. # exit_pressure: pressure at the exit.
  68. # supersonic_area_ratio: exit to throat area for an area after the nozzle
  69. # subsonic_area_ratio: exit to throat area for an area before any nozzle
  70. FR
  71. +chamber_pressure 68.049 atm
  72. +exit_pressure 1 atm
  73. #+supersonic_area_ratio 8.566
  74. #+subsonic_area_ratio 5
  75. # EQ is used to compute shifting equilibrium performance.
  76. # The options are the same as for frozen.
  77. EQ
  78. +chamber_pressure 68.049 atm
  79. +exit_pressure 1 atm
  80. #+supersonic_area_ratio 10
  81. #+subsonic_area_ratio 5