pub fn dispersed_motor(
motor: &SolidMotor,
impulse_scale: f64,
burn_time_scale: f64,
) -> Result<SolidMotor, AnalysisError>Expand description
motor with its total impulse times impulse_scale and its burn time times
burn_time_scale: thrust F′(t) = (k/s) F(t/s) and propellant mass k m_p, with k and s
the two factors. The impulse is k I and the effective exhaust velocity I/m_p (the specific
impulse) is kept, as a motor of the same propellant burning more or less of it would; the dry
mass, the nozzle and the propellant’s shape are kept. A column’s mass is scaled; BATES grains’
density, so their geometry and regression are kept.
§Errors
AnalysisError::Domainfor a factor that isn’t finite and positive.AnalysisError::Unsupportedfor a propellant model this doesn’t know.- As
SolidMotor::new.