A meteorological sensor pod of mass is released from rest at height above a valley floor
PHYSICS · Subjective · Fermi University Physics · Computational Physics · Mechanics & Dynamical Systems · Kinematics and Newtonian dynamics of particles
Computational Physics, Ch A falling body that knows about air: the first simulation
Problem
A meteorological sensor pod of mass m=0.40kg is released from rest at height y0=20m above a valley floor. Take downward as negative and g=9.81ms−2. Above a fog bank that begins at height yfog=15m, the drag coefficient in mv˙=−mg+bv2 is bclear=0.030kgm−1; at or below that height the denser fog gives bfog=0.090kgm−1, and the switch is treated as sharp, with no transition region. Use the update rule with the order vn+1=vn+a(yn,vn)Δt followed by yn+1=yn+vnΔt, with a(y,v)=−g+(b(y)/m)v2 and b(y) evaluated at the height yn that starts the step, and take a step Δt=0.25s.
(a) Beyond y0, v0, m, dt, t_end, state the extra named arguments (with their SI units) that a function fall_two_layer would need to model this descent, with g fixed inside the function as in fall, and say in one sentence why each must be a named argument rather than a number fixed inside the function body.
(b) Carry out the update rule by hand, keeping four decimal places, until you reach the first step number n at which the state (yn,vn) used to compute the acceleration has yn≤15m. Give that n together with yn and vn.
(c) Give the velocity produced by that step, that is vn+1, the first velocity computed using bfog.