DesignUpperStage:

Path: Propulsion/Chemical

% Design an upper stage.
 Creates four components, oxidizer tank, fuel tank, shell and engine
 nozzle. The origin is at the base of the nozzle.
--------------------------------------------------------------------------
   Form:
   g = DesignUpperStage( d, fileName )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   d        (.)  Data structure
                 .name    (1,:) Model name
                 .mR      (1,1) Mixture ratio fuel/oxidizer
                 .sR      (1,1) Structural ratio
                 .mF      (1,1) Fixed mass including payload
                 .rhoO    (1,1) Density oxidizer
                 .rhoF    (1,1) Density fuel
                 .iSp     (1,1) Specific impulse
                 .dV      (1,1) Delta-V (km/s)
                 .nD      (1,1) Nozzle diameter
                 .nL      (1,1) Nozzle Length
                 .eR      (1,1) Nozzle exit ratio
                 .aR      (1,1) Vehicle length/width
   fileName (1,:) Create an obj file filename.obj

   -------
   Outputs
   -------
   g       (1,1) CAD data structure

--------------------------------------------------------------------------

Children:

AeroUtils: CAD/BuildCADModel
AeroUtils: CAD/CreateBody
AeroUtils: CAD/CreateComponent
AeroUtils: CAD/ExportOBJ
Propulsion: Rocket/RocketMass

Back to the Propulsion Module page