FThrustLander:

Path: LunarMissions/DynamicalModels

% Returns thrust and exhaust velocity for a rocket engine.
 Outputs thrust aligned with the specified vector. The thrust is set to
 zero once the fuel mass is at or below zero.
--------------------------------------------------------------------------
   Form:
   [thrust, uE] = FThrustLander( massFuel, d )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   massFuel (1,1) Mass of fuel (kg)
   d        (.)   Data structure
                  .thrust  (1,1) Thrust magnitude (N)
                  .uE      (1,1) Exhaust velocity (m/s)
                  .uThrust (3,1) Thrust unit vector

   -------
   Outputs
   -------
   thrust	(3,1)	Thrust vector (N)
   uE      (1,1) Exhaust velocity (m/s)

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

Back to the LunarMissions Module page