Project 2 Bottle Rocket Modeling

$24.99 $18.99

1. Background and Introduction 1.1. Project Motivation The goal of this project to model the trajectory of the bottle rocket launch, using numerical integration of a system of ordinary differential equations. Numerical, computational, or mathematical model is a common tool used by engineers to understand or predict the behavior of a physical system. Further, engineers…

5/5 – (2 votes)

You’ll get a: zip file solution

 

Categorys:

Description

5/5 – (2 votes)

1. Background and Introduction

1.1. Project Motivation

The goal of this project to model the trajectory of the bottle rocket launch, using numerical integration of a system of ordinary differential equations. Numerical, computational, or mathematical model is a common tool used by engineers to understand or predict the behavior of a physical system. Further, engineers can use the results of their numerical simulations to determine how to best design the physical system.

A bottle rocket is a very simple rocket and consists of a plastic bottle (typically a two-liter soda bottle) filled partially with a liquid (usually water) and pressurized by air. When the stopper is removed, the water is forced out leading to a reactionary force that propels the bottle according to Newton’s laws of motion. The photograph below shows a typical bottle rocket launch.

To prepare you for the Bottle Rocket Design and Performance Analysis Lab in ASEN 2004 in spring, you will numerical simulation a bottle rocket flight trajectory to understand the functional dependence of bottle rocket performance on the design parameters, such as the volumetric fraction of water in the bottle, the initial pressure of air, drag of their rocket, and the launch angle. Your task is to use the knowledge you have gained to date to develop a MATLAB code to determine the bottle rocket thrust as a function of time, and predict the resulting height and range of the rocket. You are then asked to use the code to explore the parameter space in order to determine how each of the parameters affect the height and the range of the rocket, and what combination of parameters will allow the rocket to land within 1 meter of a 80meter marker.

10/29/20 1

1.2. Trajectory of a Bottle Rocket

To determine the bottle rocket trajectory, we will apply Newton’s laws of motion, using a free body diagram. We will simplify this problem to only look at motion in 2 dimensions, in the horizontal (x) and vertical (z) directions:

  • Drag

θ

x

Thrust

Gravity

!

!

0⃑̇

0⃑

!

(1)

!

=

= ,

# – =

=−+ ⃑

! is the mass of the rocket. is the acceleration vector of the rocket. is the thrust vector of the rocket (note that F is used instead of T to avoid confusion with temperature below). is the gravity vector, with only a z component equal to 9.8 m/s2. 0⃑ is the velocity vector of the rocket. Note that !, V, F, and D are all functions of time t.

To find the components of the F and D forces in the x and z directions, you can multiply the magnitude of the force by the heading. The heading of the rocket at any instant can be found by the velocity components at that instant:

0⃑

0000⃑ $

#

= |0000⃑ $|

%

#%

%

#%

9

+

9

+

These components are equivalent to cos and sin respectively by trigonometry and can be used to determine the respective components of the forces acting on the rocket.

The magnitude of the drag force is a function of dynamic pressure = &% %, where is density and V is

the magnitude of the rocket’s velocity, the drag coefficient , and the cross-sectional area of the front of the bottle (:

= ‘(=%& %‘(

(2)

The drag coefficient, CD, depends on a variety of factors, including the Reynolds number of the flow, any flow separation toward the rear of the bottle, the drag on the stabilizing surfaces and the shape of the nose cone, and is hard to determine theoretically. It is usually measured in a wind tunnel, but we can expect = 0.3 to 0.5.

The most important term in Eq. (1) is the thrust F. It can be estimated by applying the laws of thermodynamics and aerodynamics you have been taught to the expansion of air in the bottle (see Section

10/29/20 2

1.3). Note that the nomenclature “F” was chosen to reduce confusion with “T” used for temperature.

We also need to keep track of the mass of the rocket, as water and later air is expelled through its mouth (we will call it the throat in conformity with rocket terminology).

1.3. Bottle Rocket Thermodynamics

Let pairi ,vairi and Tairi be the initial pressure, volume and temperature of air inside the bottle. Then the initial

mass of air in the bottle is

)*!*

=

-.!”#

where R = 287 J kg-1K-1. The bottle rocket thrust phase can be

+!”#,!”#

divided into two phases: 1. Before the water is exhausted and 2. After the water is exhausted.

1.3.1. Before the water is exhausted

During this phase, the mass of air mair remains constant but the air volume v increases as water is expelled, and therefore the air density is inversely proportional to its volume. We will assume the expansion of air during the rocket operation is isentropic, meaning the process is adiabatic (no heat transfer to or from the air mass) and there are no frictional losses. This is a good approximation and the air pressure p at any future time t is then given by:

+

= F

,!”#

/

(3)

+!”#

,

G

where the specific heat ratio g = 1.4.

The mass flow rate of water out the throat of the bottle is:

̇= 01 23

(4)

where ρ4 is the density of water, Ve is the velocity of the exhaust, At is the throat area and c5 is the discharge coefficient, which is less than 1. The thrust of a rocket (F) is given by:

= ̇ +( − )

(5)

where pa is the ambient pressure and pe is the pressure at the exit. Since the water is incompressible, applying the Bernoulli equation for incompressible flows using the air pressure (p):

( − )) = 6%$ V7%

(6)

so that the exhaust velocity:

%(+9+!)

(7)

V7=M

6$

Since pe = pa (the exit pressure equals the ambient air pressure), Eq. (5)’s second term is zero and the thrust, when plugging in Eq. (7) for the exit velocity (Ve) is:

= ̇ = 2 ( − )

(8)

Note that the thrust is independent of the liquid density! The air pressure p decreases with time as the air volume expands and therefore the thrust decreases with time. The air pressure at time t can be computed if the volume is known from Eq. (3). The rate of change of volume of air with time is:

10/29/20 3

0,

= c5A;V7

= c5A;M

%(+9+!)

%

P < P

,%

/

)Q

(9)

02

6$

= c5A;M6$

,

Q

This formulation involves first inserting Eq. (7) and then the relationship in Eq. (3), but now using initial condition nomenclature for the volume (v0 = ) and air pressure (p0 = ). From Eq. (9) the volume v(t) of air can be determined. Eq. (9) needs to be solved with the initial condition v = )*!* at time t = 0.

Because of its nonlinear nature, this has to be done numerically using an ODE solver such as the 4th order Runge-Kutta. The integration stops when v = vB, the volume of the bottle, and all the water has been expelled.

Eq. (3) can be used to determine p(t). From this F(t) can be determined from Eq. (8).

The rocket mass changes with time as the water mass flows out of the bottle, according to:

̇! = − ̇= −c5ρ4A;V7 = −c5A;92ρ4( − ))

(10)

The initial mass of the rocket is the sum of the masses of the bottle, the initial pressurized air, and the initial water:

= + +

(11)

Substituting in, this can be formulated in terms of the density of the water (ρw), the initial volume of the water ( ) which is the difference between the total volume of the bottle (vB) and that of the air initially

(), and finally, the pressure and temperature of the air.

!* = ( + ρ4R ( )*!*S +

-.!”#

(12)

+!”#

,!”#

1.3.2. After the water is exhausted:

Let pend be the pressure and Tend be the temperature of air in the bottle at the time all the water is expelled:

3=0 = )*!*

F

,!”#

G

/

F

,!”#

/9&

(13)

,&

; 3=0 = )*!*

,&

G

Once the water is exhausted, the volume of air remains constant but its mass decreases, and therefore the density is proportional to the mass. Again, we assume air expands isentropically, until the air pressure p drops to the ambient pressure pa. Then the pressure at any time t is given by:

/

+ = F>!”#G (14)

+‘() >!”#

and the corresponding density and temperature are:

=

>!”#

; =

+

(15)

,&

?-

To determine the exit velocity of the air, define critical pressure:

= P/A&%Q

B(/9&)

(16)

/

1. If p* > pa, the flow is choked (exit Mach number Me = 1) and the exit velocity is:

10/29/20 4

on a test stand, which guides the rocket during the initial portion of flight to ensure a straight trajectory.

The initial angle of the test stand is the launch angle * and the initial velocity 0⃑ * = 0. You may assume the test stand is 0.5m in length, and after the rocket clears the test stand it is free to change heading. Putting the rocket on the test stand elevates it off the ground by 0.25m.

To check your code, you will be given a “Test Case”, showing the range and height for particular parametric combination. You should aim to replicate the flight trajectory (z vs. x position) and thrust profile (F vs. time). Once you have reproduced this result, you will know your code is working and you can then move on to explore the parameter space.

The performance of the bottle rocket depends on four parameters: )*!* the initial pressure of air (the limit being the burst pressure of the bottle, with some factor of safety), the initial volume fraction of water (or equivalently initial mass), the drag coefficient, and the launch angle. Part 2 of the assignment is to investigate the 4 design parameters and determine how varying each will affect range and height.

Note that you should do some independent research on water bottle rocket parameters to develop your code prior to matching your code to the “Test Case”. You are advised to use consistent units. We prefer SI units.

Submission details will be provided in the coming weeks.

Please note: All projects will be graded exactly as you submitted. There will be no exceptions to this policy, so please ensure your submission is accurate and completed on time. No late work will be accepted.

References

Anderson, J. D., Jr., Introduction to Flight, 7th Ed., McGraw-Hill (2009).

Sutton, G. and Biblarz, O., Rocket Propulsion Elements, 8th Ed., Wiley (2010).

10/29/20 6

Project 2 Bottle Rocket Modeling
$24.99 $18.99