Dynamics_Team1_Project_1(christmas final version)

advertisement
Dynamics Project #1
2011.12. 23
Team1
Dong-Kyeong Lee
Eunjeong Hyeon
Uihwan Choi
Jeongyeon Lee
1. Problem definition
At t=0, the thrust, T(t), begins. The launching is at angle πœƒ0 to the ground, which is the
surface of the Earth. At time t = 𝑑0 , the fuel runs out, so the rocket falls back down to the
ground. During this, all the reaction forces acting upon the rocket are the same, but there is no
longer a thrust force. Find the exact coordinate of the rocket landing. The initial mass of the
rocket (including the fuel) is 𝑀0 and the total mass of the fuel is π‘š0 . Although there may
need to be several assumptions made to simplify and solve this problem, use as few
(significant) assumptions as possible.
2. Method approach
(1) Assume that the surface of the Earth is perfectly round.
(2) Use the drag coefficient of cylinder.
(3) Assume that the Earth does not undergo rotation.
(4) Assume that there is no centripetal force.
(5) The initial launch velocity is 𝑣0 , initial launch angle is πœƒ0
(6) The density is changed with altitude. (We used U.S. Standard Atmosphere).
(7) There is no lift and angle of attack on the rocket. (That is, the moving direction of the
rocket is parallel to wind (drag) direction)
(8) The rocket does not escape the atmosphere of Earth. Therefore the time of fuel
consumption does not exceed the minimum period needed for the rocket to go out into space
and the rocket does not have enough speed to perform satellite motion.
(9) Our rocket model is KSLV-1. It is simple (or streamlined) cylinder with maximum
diameter 2.9m.
** <Step 1>~<Step 7> contains history of our projects. These are in the previous reports of
our team.
<Step 8> Considering mass consumption, thrust, drag, curved ground (and
gravity) together – Summation of works of <Step 5>, <Step 6>, <Step 7> and
considering more conditions
Works of <Step 5>, <Step 6> and <Step 7> are individual solution for differential equation
of certain condition. In each step above, we were able to find real mathematical solution.
However we should sum all of these works to get better model for real rocket trajectory. So in
this step, we want to make perfect differential equation model that includes above 3 steps
together.
Before we start, it is good to review the basic differential forms for polar coordinate in
<Step 2>.
Then, at first, we assume that the mass of rocket linearly decreases until the constant thrust
exists. From the <Step 6> discussion and aerospace text book, we know the formula for the
thrust:
𝑇 = π‘šΜ‡ × π‘‰π‘’
We can consider the direction of the thrust is the same with rocket’s velocity vector, that is,
⃗⃗⃗𝑇
= βƒ—βƒ—βƒ—
(treated as unit vector)
|𝑇|
|𝑣|
𝑣
So, we can get the vector form of thrust like:
βƒ—βƒ—βƒ—βƒ—βƒ—
𝑣
|𝑣|
In this case, we should treat 𝑣 as polar coordinate vector like:
π‘‘π‘Ÿ
π‘‘π‘Ÿ
π‘‘πœƒ
𝑣 =
= π‘ŸΜ‚ + π‘Ÿ πœƒΜ‚
βƒ— = π‘šΜ‡ × π‘‰π‘’
𝑇
𝑑𝑑
𝑣 = √(
𝑑𝑑
𝑑𝑑
π‘‘π‘Ÿ 2
π‘‘πœƒ 2
) + (π‘Ÿ )
𝑑𝑑
𝑑𝑑
From this, we can write the thrust as
π‘šΜ‡ × π‘‰π‘’
π‘‘π‘Ÿ
π‘‘πœƒ
βƒ— =
𝑇
( π‘ŸΜ‚ + π‘Ÿ
πœƒΜ‚)
2
2 𝑑𝑑
𝑑𝑑
√(π‘‘π‘Ÿ) + (π‘Ÿ π‘‘πœƒ)
𝑑𝑑
𝑑𝑑
− − − − (1)
Second, we assume that the earth is (2 dimensional) circle, and also the direction of gravity
is toward that center of circle. From this, we can write the gravitational force in polar
coordinate like below (gravitational acceleration is not constant):
πΊπ‘€π‘š
βƒ—βƒ—βƒ—βƒ—
𝐹𝐺 = − 2 π‘ŸΜ‚ − − − − (2)
π‘Ÿ
Third, the drag force is proportional to the square of velocity and the direction of it is
opposite to velocity vector. From the flight dynamics, we know drag force is Fd =
1
πœŒπ‘£ 2 𝑆 𝐢𝐷 . That is,
2
π‘‘π‘Ÿ 2
π‘‘πœƒ 2 π‘‘π‘Ÿ
π‘‘πœƒ
βƒ—βƒ—βƒ—βƒ—
𝐹𝐷 = −π‘˜π‘‘ 𝑣 𝑣 = −π‘˜π‘‘ √( ) + (π‘Ÿ ) ( π‘ŸΜ‚ + π‘Ÿ
πœƒΜ‚) − − − − (3)
𝑑𝑑
𝑑𝑑
𝑑𝑑
𝑑𝑑
1
, where k d = 2 𝜌 𝑆 𝐢𝐷 . At this point, we should consider that the air density 𝜌 is not
constant with altitude. To consider this fact, we used U.S. Standard Atmosphere data to
interpolate air density value at specific altitude. ( http://www.engineeringtoolbox.com/standardatmosphere-d_604.html)
We know the Newton’s 2nd law in this case:
𝑑2 π‘Ÿ
βƒ— + βƒ—βƒ—βƒ—βƒ—
𝑇
𝐹𝐺 + βƒ—βƒ—βƒ—βƒ—
𝐹𝐷 = π‘šπ‘Ž, where π‘Ž = 2
𝑑𝑑
2
2
π‘‘π‘Ÿ
π‘‘πœƒ
Then, we put (1) ~ (3) to this Newton’s 2nd law. That is, (v = √( 𝑑𝑑 ) + (π‘Ÿ 𝑑𝑑 ) )
π‘šΜ‡π‘‰π‘’ π‘‘π‘Ÿ
π‘‘πœƒ
πΊπ‘€π‘š
π‘‘π‘Ÿ
π‘‘πœƒ
( π‘ŸΜ‚ + π‘Ÿ
πœƒΜ‚) − 2 π‘ŸΜ‚ − π‘˜π‘‘ 𝑣 ( π‘ŸΜ‚ + π‘Ÿ
πœƒΜ‚)
𝑣 𝑑𝑑
𝑑𝑑
π‘Ÿ
𝑑𝑑
𝑑𝑑
𝑑2π‘Ÿ
π‘‘πœƒ 2
𝑑2 πœƒ
π‘‘π‘Ÿ π‘‘πœƒ
= π‘š (( 2 − π‘Ÿ ( ) ) π‘ŸΜ‚ + (π‘Ÿ 2 + 2
) πœƒΜ‚) − − − − (4)
𝑑𝑑
𝑑𝑑
𝑑𝑑
𝑑𝑑 𝑑𝑑
Also, we should consider mass ‘decreasing’. So we consider m as π‘š = π‘š0 − π‘šΜ‡π‘‘, a
function of time.
Solving for (4) in terms of π‘Ÿ, πœƒ will show us the trajectory of the rocket in polar coordinate.
But it is very complicated for us to solve directly. So, to solve it numerically, we will use the
Runge-Kutta 4th order method. <Step 9, 10> will cover this.
<Step 9> Transformation of equitation (4) to 1st order differential form to use
Runge-Kutta 4th order method
Equation (4) is composed of 3 variables (π‘Ÿ, πœƒ, 𝑑). However, in view of programming, this
equation is composed of below:
π‘‘π‘Ÿ π‘‘πœƒ 𝑑 2 π‘Ÿ 𝑑 2 πœƒ
π‘Ÿ, πœƒ, ,
,
,
,𝑑
𝑑𝑑 𝑑𝑑 𝑑𝑑 2 𝑑𝑑 2
t is independent variable, and others are dependent variable to t.
We should eliminate 2nd order differential part because RK4 method need 1st order form.
Therefore we define 4 variables(x1, x2, x3, x4) that are correspondent like:
x1 = π‘Ÿ
x2 = π‘‘π‘Ÿ/𝑑𝑑
{
x3 = πœƒ
x4 = π‘‘πœƒ/𝑑𝑑
Substituting these to (4) and sorting (4) with π‘ŸΜ‚ , πœƒΜ‚ terms lead us to:
𝑑π‘₯1
= π‘₯2
𝑑𝑑
𝑑π‘₯2 1
π‘₯2 πΊπ‘€π‘š
= (π‘˜π‘š − 2 − π‘˜π‘‘ 𝑣π‘₯2 ) + π‘₯1 π‘₯42
𝑑𝑑
π‘š
𝑣
π‘₯1
− − − −(5)
𝑑π‘₯3
= π‘₯4
𝑑𝑑
𝑑π‘₯4
1
π‘₯1 π‘₯4
2π‘₯2 π‘₯4
=
(π‘˜π‘š
− π‘˜π‘‘ 𝑣π‘₯1 π‘₯4 ) −
{ 𝑑𝑑
π‘šπ‘₯1
𝑣
π‘₯1
1
where 𝑣 = √π‘₯2 2 + (π‘₯1 π‘₯4 )2 , π‘˜π‘š = π‘šΜ‡π‘‰π‘’ , π‘˜π‘‘ = 2 𝜌 𝑆 𝐢𝐷 , π‘š = π‘š0 − π‘šΜ‡π‘‘
(5) is a kind of
d𝐗
dt
= 𝑭(𝑿) form. That is, we are ready to operate RK4 method using (5).
3. Results
Solving Equitation (5) through using Runge-Kutta 4th order method
We already wrote the Matlab code for solving equation (5) with Runge-Kutta method. Our
remaining task is to consider the reasonable constants. For doing this, we consider the model
of Naro rocket.
The reference is Dynamics lecture,
http://www.astronautix.com/lvs/kslvi.htm,
http://en.wikipedia.org/wiki/Thrust_specific_fuel_consumption,
http://en.wikipedia.org/wiki/Drag_coefficient,
http://www.engineeringtoolbox.com/standard-atmosphere-d_604.html, etc.
m0 (rocket total mass) = 140 t, Fuel mass = 130t
π‘šΜ‡ =384.6kg/s (treating it as a constant)
𝑀𝑓𝑒𝑒𝑙 ×101972
(π‘šΜ‡ =
, where 𝐼𝑠𝑝 = 338𝑠𝑒𝑐, wfuel = 130(× 103 π‘˜π‘”) × 9.8, )
𝐼
𝑠𝑝
Ve = 3315m/s (fuel exit velocity relative to rocket)
Cd = 0.04(streamlined body), 0.82(long cylinder)
2.9 2
S = π ( 2 ) = 6.6π‘š2 (reference area of rocket)
G = 6.6742 × 10−11 (Gravitational constant)
M = 5.9742 × 1024 (Earth mass)
We take the density data from U.S. Standard Atmosphere. To get density value at specific
altitude, we used Cubic Spline method (Matlab built-in function: interp1(…,’spline’)).
Our rocket is launched at the North Pole. Also, we choose some value for initial velocity and
launch angle. That is,
v0 = 1000 π‘š/𝑠
θ0 = πœ‹/2.5 (π‘Ÿπ‘Žπ‘‘)
Then we can get the result like below:
If we change the launch angle more small, that is,
θ0 = πœ‹/2.7 (π‘Ÿπ‘Žπ‘‘)
We get
4. Analysis
Our rocket model considers many realistic things. Round Earth, change of gravity and
density with altitude, fuel consumption, thrust, aerodynamic drag force, etc. However our
model has also limits.
First one is initial velocity and initial angle. In real case, initial velocity is always zero.
But our model starts with 1000m/s velocity – about Mach 3. Also, the initial angle is flexible
in real case, but to get better result using our code, we took just some specific angle value.
Second one is about constant thrust. In real case, thrust value is changing. But our model
uses constant mass consumption and constant fuel exit velocity – it means constant thrust.
Other limits are about external wind, aerodynamic force (wave drag, induced drag, lift, etc.),
etc. These are also to be considered.
Now, our team has some question about this project.
1. In plotting the rocket trajectory using Matlab, there are many cases that shows the
results about ‘lnf’, ‘NaN’ especially when we use a little bigger values of initial
condition, drag coefficient. For example, if we choose initial velocity as 2000m/s,
there are many ‘NaN’ results in Workspace and graph shows strange trajectory of
rocket(changing its direction to 180 degree at short time, exceeding 10^100 m/s, etc.).
We wanted to find any error in our code or our deriving, but we cannot find. We now
think it is a little bit related to the fact that the values we are using in this model are
very big (Earth radius, Earth mass, etc.). We want to know the way to avoid this kind
of situation.
2. We want to know the analysis method to treat external wind, aerodynamic force,
fluctuation thrust, etc.
Download