|
Vulcan
Aerospace Engineering Utilities Built on Janus
|
Functions | |
| template<typename Scalar> | |
| Scalar | thrust_from_mdot (const Scalar &mdot, const Scalar &Ve) |
| Calculates thrust from mass flow rate and effective exhaust velocity. | |
| template<typename Scalar> | |
| Scalar | exhaust_velocity (const Scalar &Isp, double g0=9.80665) |
| Calculates effective exhaust velocity from specific impulse. | |
| template<typename Scalar> | |
| Scalar | specific_impulse (const Scalar &thrust, const Scalar &mdot, double g0=9.80665) |
| Calculates specific impulse from thrust, mass flow rate, and gravity. | |
| template<typename Scalar> | |
| Scalar | delta_v (const Scalar &Ve, const Scalar &m0, const Scalar &mf) |
| Calculates Delta-V using the Tsiolkovsky rocket equation. | |
| template<typename Scalar> | |
| Scalar | propellant_mass (const Scalar &delta_v, const Scalar &m0, const Scalar &Ve) |
| Calculates required propellant mass for a given Delta-V. | |
| template<typename Scalar> | |
| Scalar | mass_flow_rate (const Scalar &thrust, const Scalar &Ve) |
| Calculates mass flow rate from thrust and exhaust velocity. | |
| template<typename Scalar> | |
| Scalar | burn_time (const Scalar &propellant_mass, const Scalar &mdot) |
| Calculates burn time for a given propellant mass and flow rate. | |
| Scalar vulcan::propulsion::rocket::burn_time | ( | const Scalar & | propellant_mass, |
| const Scalar & | mdot ) |
Calculates burn time for a given propellant mass and flow rate.
t = mp / mdot
| Scalar | Variable type |
| propellant_mass | Mass of propellant to burn [kg] |
| mdot | Mass flow rate [kg/s] |
| Scalar vulcan::propulsion::rocket::delta_v | ( | const Scalar & | Ve, |
| const Scalar & | m0, | ||
| const Scalar & | mf ) |
Calculates Delta-V using the Tsiolkovsky rocket equation.
dV = Ve * ln(m0 / mf)
| Scalar | Variable type |
| Ve | Effective exhaust velocity [m/s] |
| m0 | Initial mass [kg] |
| mf | Final mass [kg] |
| Scalar vulcan::propulsion::rocket::exhaust_velocity | ( | const Scalar & | Isp, |
| double | g0 = 9.80665 ) |
Calculates effective exhaust velocity from specific impulse.
Ve = Isp * g0
| Scalar | Variable type |
| Isp | Specific impulse [s] |
| g0 | Standard gravity [m/s^2] (default: 9.80665) |
| Scalar vulcan::propulsion::rocket::mass_flow_rate | ( | const Scalar & | thrust, |
| const Scalar & | Ve ) |
Calculates mass flow rate from thrust and exhaust velocity.
mdot = F / Ve
| Scalar | Variable type |
| thrust | Thrust force [N] |
| Ve | Effective exhaust velocity [m/s] |
| Scalar vulcan::propulsion::rocket::propellant_mass | ( | const Scalar & | delta_v, |
| const Scalar & | m0, | ||
| const Scalar & | Ve ) |
Calculates required propellant mass for a given Delta-V.
mp = m0 * (1 - exp(-dV / Ve))
| Scalar | Variable type |
| delta_v | Target Delta-V [m/s] |
| m0 | Initial mass [kg] |
| Ve | Effective exhaust velocity [m/s] |
| Scalar vulcan::propulsion::rocket::specific_impulse | ( | const Scalar & | thrust, |
| const Scalar & | mdot, | ||
| double | g0 = 9.80665 ) |
Calculates specific impulse from thrust, mass flow rate, and gravity.
Isp = F / (mdot * g0)
| Scalar | Variable type |
| thrust | Thrust force [N] |
| mdot | Mass flow rate [kg/s] |
| g0 | Standard gravity [m/s^2] (default: 9.80665) |
| Scalar vulcan::propulsion::rocket::thrust_from_mdot | ( | const Scalar & | mdot, |
| const Scalar & | Ve ) |
Calculates thrust from mass flow rate and effective exhaust velocity.
F = mdot * Ve
| Scalar | Variable type (e.g., double or casadi::MX) |
| mdot | Mass flow rate [kg/s] |
| Ve | Effective exhaust velocity [m/s] |