Assigment 1: Rocket Science
While high budget endeavours such as manned or interplanetary space
flight receive media headlines, much space research is actually done
in more humble settings. Medium size rockets are used for low
and medium altitude experiments. Centres of competence in Canada
are at York and Calgary universities.
Likewise, manned interplanetary missions are still elusive. Instead
research is done in so called "analogue environments", a fancy term for
places which in suitable ways simulate conditions in space. The
Mars analogue research station is set up in northern Canada on
Devon island. There a model space station has been setup, a remote operated
green house to feed the earth-bound "astronauts", and radio
signals are used both for local communication and to call home
(to CSA in Montreal) where a delay is added to the audio link just like
if they had been on Mars.
In this assignment we will study a rocket model suitable for short and medium
range flight on earth. Thus we will use a simple assumption of turbulent drag
represented as a quadratic term. (A detailed understanding of Navier Stokes equations under turbulent flow is still
elusive, and it was posed in year 2000 as one of seven Millenium Problems)
You will learn how to rework the mathematical model
into one suitable to supply to a numerical routine, and experiment with
numerically computed trajectories.
For the assignment everyone is welcome to try all exercises and questions,
but in particular:
4xx does Q1-4
6xx does Q1-8
All consider additional four bullet questions at end.
A rocket at practical velocities can be modeled by Newton's laws.
In particular, its motion is governed by the 2nd law:
where
- is the mass. It is varying with time as fuel is burned.
- is the velocity vector.
- is the total force on the rocket. It consists of
three parts:
- Engine thrust, assumed constant in the direction of motion as long as there is fuel, then 0.
- Gravitational force in the negative .
- Turbulent air drag
, in the direction of motion, where is a shape dependent drag parameter (similar to for cars), is the air density, and is the scalar velocity magnitude (
).
Ignoring disturbances due to e.g. side winds, the above can be simplified
into a system of 2 ODE in the horizontal and vertical x-y plane. Here \Theta is the angle of inclination w.r.t. the ground plane. For compactness
we adopt the conventional notation for time derivatives
where we have lumped in
.
- Q1
- To work with this using conventional ODE solution methods you need
to re-express the system of 2nd order ODE as a system of 4 1st order ODE. Show your derivations.
Hint: notice
and
,
take derivatives once more. Substitute in above two ODE and rework/simplify
into a system of ODE for
The government of Alberta decides to fund the following medium size
rocket:
The University of Alberta administration is consulted and sets
up a campus lab to measure:
Furthermore a local contractor is employed to build a launch ramp,
which launches the rocket at a 45 degree angle. (Why do you think they
choose this?)
Due to a confusion in geographical knowledge the initial experimental
goal is to reach Devon, AB, 20km away to the south west. On the first launch, with the rocket fully tanked and the president
of UA, provincial premier and other high brass present, not all goes as
planned.
- Q2
- Show the trajectory and explain what went wrong
(An Internet search will show that many real world early rockets
also failed, until scientists learned to properly understand and
mathematically model the systems.)
Use the built in ode45 routine and one routine of your own design
for the numerical integration. In the below a function rprime
is defined as follows:
% rprime compute derivative of x,y,phi,v for rocket ODE at time t
function yprime = rprime(t,y)
yprime = zeros(4,1);
<your computations>
yprime(1) =
yprime(2) =
:
To avoid numerical difficulties at the start an initial velocity
of 1m/s is used (to think about: why).The coordinate system is in the origin. The initial
conditions are then
. and a suitable
duration has to be guessed, here 40s.
ode45 is then called as follows:
[t,Y]=ode45('rprime',[0,40],[0,0,pi/4,1]');
plot(Y(:,1),Y(:,2))
A fuel supply of 80kg remains. The rocket is relaunched with this, and
results are slightly more encouraging.
- Q3
- Show also this trajectory and explain.
After public trust in the government and UofA administration has
been exhausted, it is decided to give the CDE class
a chance to correct the problems. A new amount of fuel is purchased
and made available to the class.
- Q4
- Modify the fuel amount. What amount is needed to reach Devon?
Next however, local newspapers expose the mistake that the MARS analogue
environment is not in Devon AB, but instead in Devon Nunavut.
- Q5
- What further modifications are needed to reach Devon, Nunavut?
Hint: Are starting angle and air density assumptions reasonable?
What are some other issues in rocket modeling?
- Q6
- Is the assumption of constant thrust reasonable? When? Why?
- Q7
- Is the assumption of quadratic drag reasonable? When? Why?
- Q8
- What is the cruising altitude of a commercial jet airline,
and why?
Numerical issues to think about:
- Are there areas of singularity or numerical difficulty?
- How does ode45 adapt to this? (Hint: Look at all 5 output var, t,y(1:4),
Where is ode45 samplingt he densest?)
- Can changing the thrust direction help? How?
- Can changing the fuel burn rate help? How?
Martin Jagersand, Computational Differential Equations course