155
Using Equations (8.18) and (8.19) we can nd the position and velocity at the end of each interval in terms of their
values at the beginning. A general algorithm of the simulations is presented in Figure 8.7.
Identify the parameters, m, A, C
D
, C
L
, and r
Choose the time interval Δt and the
initial values of x, y, v
x
, v
y
, and t
Choose the maximum number of intervals
N. The maximum time will be t
max
= NΔt
Calculate the
acceleration
components
a
x
and a
y
Plot x, y, v
x
, v
y
, a
x
, and a
y
Calculate the new velocity
components v
x
and v
y
using Equation 13
Calculate the new coordinates
x and y using Equation 14
Increment the time by Δt
Stop
Iterate these steps
while n < N or t < t
max
Find flow function for
arbitrary cross section area
Transform function to
Laplace equation with the boundary
condition on the stream contours
Using a Schwarz's integral
calculate function
Find u(x, y) by Lavrentyev-
Shabat method
Find equivalent radius
by Polya-Szego method
Describe turbulent flow of air
by 2-layered Prandtle -Taylor
structure model
Figure 8.7. General algorithm of numerical analysis.
Projectile trajectories were numerically simulated according to the algorithm provided in Figure 8.7 with time inter-
val ∆t = 1 s for the fragment with mass m = 11g, face area A = 2.21 cm
2
, detonation velocity v
0
= 1,000 m/s, and initial
launch angle θ = 45°. A variation of numerically simulated projectile trajectories with drag coecient, detonation
velocity, initial launch angle, and mass of the fragment are shown in Figures 8.8–8.11, respectively.
8.2 SAMPLE PROBLEM