Let’s
say that the vibrations of the system are described by the following governing
equation:
md2xdt2+cdxdt+kx=F(t)
Let the duration over which the solution of the
previous equation is required be divided into n equal parts of interval h = ∆t
each. To obtain a satisfactory solution, we must select a time step ∆t that is
smaller than critical time step (∆t_cri)^2. Let the initial conditions be given
by x(t=0) = x_0 and dx(t=0)/dt = dx_0/dt.
Replacing the derivatives by the central differences
and writing differential equation at grid point I gives:
The previous formula is called the recurrence formula
and this formula permits to calculate the displacement of the mass (x_i+1) if
we know the previous history of displacements at t_i and t_i-1 as well as the
present external force F_i. Applying the previous formula continuously we’ll
get the complete time history of the behavior of the system. Certain care has
to be exercised in applying previous equation when i = 0 since both x_0 and
x_-1 are needed in finding x_1, and the initial conditions provide only the
values of x_0 and dx_0/dt, we need to find the value of x_-1.
Substituting the known values of x_0 and dx_0/dt into
differential equation which describes the motion of the system we get the
following:
md2xdt2+cdxdt+kx=F(t)x(t=0)=x0˙x(t=0)=˙x0m¨x0+c˙x0+kx0=F(t=0)m¨x0=F(t=0)−c˙x0−kx0/:m¨x0=1m(F(t=0)−c˙x0−kx0)
Now it’s time to apply the central difference
approximation using the formulas:
˙xi=12h(xi+1−xi−1)¨xi=1h2(xi+1−2xi+xi−1)
For i = 0 the formula can be rewritten as:
˙x0=12h(x1−x−1)¨x0=1h2(x1−2x0+x−1)
Inserting them into differential equation we obtain
value of x_-1:
x−1=x0−Δt˙x0+(Δt)22¨x0
Nema komentara:
Objavi komentar