CubeSatPropulsion:
-------------------------------------------------------------------------------
Returns the force, torque and mass flow for a cold gas system.
-------------------------------------------------------------------------------
Form:
[force, torque, mDot] = CubeSatPropulsion( mass, d )
-------------------------------------------------------------------------------
------
Inputs
------
mass (1,1) Total system mass
p (1,1) Parameter data structure
d (1,1) Data structure
.fuel (1,:) Fuel name
.throatArea (1,1) Area of throat (m^2)
.volumeTank (1,1) Tank volume (m^3)
.temperature (1,1) Tank temperature (deg-K)
.expansionRatio (1,1) Expansion ratio of nozzle
.rNozzle (3,n) Position of thruster (m)
.cM (3,1) Center-of-mass (m)
.uNozzle (3,n) Thrust unit vector
.r (3,1) ECI position (km)
.v (3,1) ECI velocity (km/s)
.att (1,1) Attitude data structure
-------
Outputs
-------
force (3,1) ECI Force vector (N)
torque (3,1) Torque vector (N)
mDot (1,1) Mass flow rate (kg/s)
-------------------------------------------------------------------------------
Children:
Common: Coord/QTForm
Common: Math/Cross
CubeSat: Utilities/CubeSatAttitude
Propulsion: Chemical/GasProperties
Propulsion: Rocket/IdealRkt