Numerical Integration In Structural Dynamics

2y ago
31 Views
3 Downloads
615.17 KB
17 Pages
Last View : 4d ago
Last Download : 3m ago
Upload by : Karl Gosselin
Transcription

Numerical Integration in Structural DynamicsCEE 541. Structural DynamicsDepartment of Civil & Environmental EngineeringDuke UniversityHenri P. GavinFall 2020IntroductionA damped structural system subjected to dynamic forces and possibly experiencingnonlinear material behavior is modeled byM ẍ(t) C ẋ(t) Kx(t) R(x(t), ẋ(t)) f ext (t),(1)where x is a vector of displacements of structural coordinates, M is a positive definitemass matrix, C is a non-negative definite damping matrix, and K is a non-negative definitestiffness matrix. The nonlinear restoring forces are given in R(x, ẋ) and f ext (t) is a vectorof external dynamic loads. At any point in time, t ti 1 (i 1)h, we may solve for theaccelerations in terms of the displacements, velocities, and the applied forces.ẍ(ti 1 ) M 1 [C ẋ(ti 1 ) Kx(ti 1 ) R(x(ti 1 ), ẋ(ti 1 )) f ext (ti 1 )].(2)Given values for accelerations, velocities, displacements, and applied forces at time ti , if wecan extrapolate the velocities and displacements forward in time by a time step h to timeti 1 ti h, then we may compute the acceleration ẍ(ti 1 ) using equation 2. The variousnumerical integration algorithms described in this document1 2 differ primarily in the mannerin which x(ti 1 ) and ẋ(ti 1 ) are computed from x(ti ), ẋ(ti ), ẍ(ti ), f ext (ti ), and f ext (ti 1 ).There are two general classifications of numerical integration methods: explicit andimplicit. In explicit methods, displacements and velocities at ti 1 can be determined inclosed form from displacements, velocities, accelerations, at ti , and from external forcing atti and, potentially, ti 1 . For structural systems with linear elastic stiffness and linear viscousdamping, such discrete-time systems may be written"x(ti 1 )ẋ(ti 1 )#" Ax(ti )ẋ(ti )# B f ext (ti )(3)where A is a 2n 2n discrete time dynamics matrix which depends upon M , C, K, thetime step, h, and some algorithmic parameters. Implicit methods involve the solution of aset of nonlinear algebraic equations at each time step. For example, the displacements andvelocities at time ti 1 , [x(ti 1 ), ẋ(ti 1 )], are determined from the roots of a nonlinear equationin terms of [x(ti 1 ), ẋ(ti 1 )]. Explicit numerical methods are typically more computationallyefficient than implicit methods.12Clough, R. and Penzien, J., Dynamics of Structures, 2nd ed., McGraw-Hill, 1993.Hanson, R.D., CE 611: Structural Dynamics, class notes, The University of Michigan, 1988

2CEE 541. Structural Dynamics – Duke University – Fall 2020 – H.P. GavinAccuracy and StabilityNumerical methods for integrating equations of motion are assessed and evaluated interms of their accuracy and stability. In general, accuracy and stability depend upon theratio of the time step, h, to the shortest natural period in the system model. For a systemwith many coordinates (n 103 ), the shortest natural period can be much shorter thanthe fundamental natural period, Tn /T1 104 . Typically, responses of the highest severalmodes of a numerical model are physically meaningless, should be insignificantly small, butare potentially lightly-damped, and can dominate the errors in numerical integration. Theexplicit numerical methods described in these notes can artificially add numerical damping tosuppress instabilities of the higher mode responses. Implicit numerical integration methodsare unconditionally stable.The Central Difference MethodThe central difference approximations for the first and second derivatives are1(xi 1 xi 1 ) ,(4)ẋ(ti ) ẋi 2h1ẍ(ti ) ẍi 2 (xi 1 2xi xi 1 ) .(5)hSubstituting approximations (4) and (5) into equation (1), and re-arranging terms, leads to 12111M C xi 1 2 M K xi 2 M C xi 1 fiext ,(6)h22hhh2hwhich may be written A0 xi 1 A1 xi A2 xi 1 fiext . As long as M or C is positive definite,the matrix A0 is also positive definite and may be factorized prior to the iterative solutionfor xi at each time step.The numerical stability of the central difference method depends on the choice of thetime step interval, h. To obtain a stable solution, h Ti /π, where Ti is the shortest naturalperiod of the structural system. If the central difference method is used with a time steplarger than Ti /π the solution will increase exponentially.A step-by-step procedure for the central difference method may be written as3 :1. Input the mass, M , damping, C, stiffness, K, matrices and the time step interval h.2. Initialize x0 , ẋ0 , ẍ0 and compute x1 x0 hẋ0 h2ẍ .2 03. Form the matrices A0 , A1 and A2 , and triangularize A0 using LDLT factorization.4. for i 1 to N(a) solve A0 xi 1 A1 xi A2 xi 1 fiext for xi 1 using LDLT back-substitution.(b) calculate ẋi and ẍi using equations (4) and (5), if required.(c) write results (ti , xi , ẋi , ẍi ) to a data file.3K.J. Bathe, Finite Element Procedures in Engineering Analysis, Prentice-Hall, 1982, pp. 439–449, 499–506.cbnd H.P. Gavin October 5, 2020

3Numerical Integration for Structural DynamicsThe Implicit Linear Acceleration MethodConsider the Taylor series expansions for displacement, velocity, and acceleration:h2h3 .h4 .xi x i ···ẍi 2!3!4!h3 .h2 .xx i ··· ẋi hẍi i 2!3!h2 .x i ··· ẍi h x i 2!x(ti 1 ) xi 1 xi hẋi (7)ẋ(ti 1 ) ẋi 1(8)ẍ(ti 1 ) ẍi 1(9)Rearranging equation (9),h2 .x i ··· ,h x i ẍi 1 ẍi 2!(10)and substituting equation (10) into equations (7) and (8) results in!xi 1ẋi 1h2h2 .h4 .h2x i ··· x i ··· ,ẍi 1 ẍi xi hẋi ẍi 262!4!!h2 .hh3 .x i ··· x i ···ẍi 1 ẍi ẋi hẍi 22!3!(11)(12)Truncating the fourth time-derivative and higher from these expansions, the resulting finitedifference approximations arexi 1 xi hẋi h2(ẍi 1 2ẍi ),6(13)andh(14)ẋi 1 ẋi (ẍi 1 ẍi ).2These relationships are implicit because ẍi 1 needs to be determined in order to find xi 1 andẋi 1 , but ẍi 1 can not be found without knowing xi 1 and ẋi 1 . Note that the substitutionsabove, have eliminated the third time-derivative of x, and that the method is accurate to.within h4 x .This is called the linear acceleration method because the third time derivative of x hasbeen eliminated. If the rate of change of acceleration within a time-step is truly constant,then the approximation of truncating the Taylor series at the fourth-order term does notaffect the accuracy of the solution.cbnd H.P. Gavin October 5, 2020

4CEE 541. Structural Dynamics – Duke University – Fall 2020 – H.P. GavinThe Implicit Linear Acceleration Method,Made Explicit for Linear Structural DynamicsRecall that at time ti 1 we can satisfy the equations of motion, by calculating theacceleration with equation (2). Substituting equations (13) and (14) for the displacementsand velocities at time ti 1 into equation (2),extM ẍi 1 C{ẋi (h/2)(ẍi ẍi 1 )} K{xi hẋi (h2 /6)(ẍi 1 2ẍi )} fi 1,(15)where any nonlinearities, R(x, ẋ), are assumed to be negligible. Collecting similar derivativesof x,#"#"h2hh2hext(16)M C K ẍi 1 fi 1 Kxi [C hK]ẋi C K ẍi .2623and re-arranging,"#"#hh2hh2extM C K ẍi 1 C K ẍi Kxi C ẋi hK ẋi fi 1.2623(17)Recall from the equations of motion, thatM ẍi fiext Kxi C ẋi .(18)Substituting equation (18) into (17), we obtain the closed-form linear acceleration recurrencerelations for structural dynamics simulation."#"#h2hh2hext fiext .M C K ẍi 1 M C K ẍi hK ẋi fi 12623ẋi 1 ẋi h[ẍi 1 ẍi ] .2(19)(20)andh2[ẍi 1 2ẍi ] .(21)6These relationships are now explicit because ẍi 1 can be determined from the current responseextvalues (xi and ẋi ), the current dynamic load fiext , and the next dynamic load fi 1. Notethat within each time step, the dynamic equations of equilibrium are satisfied both at timeti and at time ti 1 .xi 1 xi hẋi cbnd H.P. Gavin October 5, 2020

5Numerical Integration for Structural DynamicsThe Newmark-β method — incremental formulationThe finite difference approximations for the Newmark-β method are 1xi 1 xi hẋi h2 β ẍi β ẍi 1 ,2(22)andẋi 1 ẋi h [(1 γ)ẍi γ ẍi 1 ] .(23)If β 1/4 and γ 1/2 the Newmark-β method is implicit and unconditionally stable. Inthis case the acceleration within the time interval t [ti ti 1 ) is presumed to be constant. Ifβ 1/6 and γ 1/2 the Newmark-β method is identical to the linear acceleration method.If β 0 and γ 1/2 the Newmark-β method is identical to the central difference method.For linear structural dynamics, if 2β γ 1/2, then the Newmark-β method is stableregardless of the size of the time-step, h. The Newmark-β method is conditionally stable ifγ 1/2. For γ 1/2 the Newmark-β method is at least second-order accurate; it is firstorder accurate for all other values of γ.Formulating the finite difference relationships in terms of the increments of displacement (δxi xi 1 xi ), velocity (δ ẋi ẋi 1 ẋi ), acceleration (δẍi ẍi 1 ẍi ), and nonlinearrestoring force (δRi R(xi 1 , ẋi 1 ) R(xi , ẋi ))111δxi ẋi ẍi ,(24)δẍi 2βhβh2βand!γγγδ ẋi δxi ẋi h 1 ẍi .(25)βhβ2βNow, satisfying incremental equilibrium over the time step, h,extM δẍi Cδ ẋi Kδxi δRi fi 1 fiext δfiext ,(26)re-grouping terms, and solving for the increment in displacements, "#3h66M C K δxi δfiext δRi 3M C ẍi M 3C ẋi ,2hh2h (27)where β 1/6 and γ 1/2. Solving this linear system of equations4 for δxi , the displacements are updated with,xi 1 xi δxi ,(28)the velocities are updated withh3ẋi 1 2ẋi ẍi δxi ,2hand the accelerations satisfy the equations of motion,(29)extẍi 1 M 1 [C ẋi 1 Kxi 1 R(xi 1 , ẋi 1 ) fi 1].(30)Similar relations may be found for other values of β and γ. Note that in this incrementalformulation one needs to obtain the inverse of the mass matrix, M , and the inverse of thematrix [6M/h2 3C/h K].4If the incremental nonlinear restoring forces δRi are not negligible, equation (27) is solved using theNewton-Raphson method, equation (48).cbnd H.P. Gavin October 5, 2020

6CEE 541. Structural Dynamics – Duke University – Fall 2020 – H.P. GavinThe HHT-α methodThe HHT-α method5 is a generalization of the Newmark-β method and reduces to theNewmark-β method for α 0. The HHT-α method adopts the finite difference equations ofthe Newmark-β method, (equations (22) and (23)). The equations of motion are modified,however, using a parameter α, which represents a numerical lag in the damping, stiffness,nonlinear, and external forces.ext αfiext .M ẍi 1 (1 α)C ẋi 1 αC ẋi (1 α)Kxi 1 αKxi (1 α)fi 1(31)Equation (31) is analogous to equation (26) with the added condition that the accelerationis constant within the interval t [ti ti 1 ). If0 α 1/3β (1 α)2 /4 ,γ 1/2 α ,(32)(33)(34)andthe HHT-α method is at least second-order accurate and unconditionally stable. The HHT-αmethod is useful in structural dynamics simulations incorporating many degrees of freedom,and in which it is desirable to numerically attenuate (or dampen-out) the response at highfrequencies. Increasing α decreases the response at frequencies above 1/(2h), provided thatβ and γ are defined as above.Substituting the Newmark-β finite difference relationships into equation (31),M ẍi 1 (1 α)C{ẋi h[(1 γ)ẍi γ ẍi 1 ]} αC ẋi (1 α)K{xi hẋi h2 [(1/2 β)ẍi β ẍi 1 ]} αKxiext (1 α)fi 1 αfiext ,(35)and grouping terms, we obtain[M h(1 α)γC h2 (1 α)βK]ẍi 1 [h(1 α)(1 γ)C h2 (1 α)(1/2 β)K]ẍi[C h(1 α)K]ẋiKxiext(1 α)fi 1 αfiext .(36)These are a set of linear equations for ẍi 1 in terms of ẍi , ẋi , xi , the external dynamic load,and the structure’s mass, damping, and stiffness. Equations (22), (23), and (36) provide therecurrence relationship for the HHT-α method.5Hughes, T.J.R., Analysis of Transient Algorithms with Particular Reference to Stability Behavior. inComputational Methods for Transient Analysis, North-Holland, 1983, pp. 67–155.cbnd H.P. Gavin October 5, 2020

7Numerical Integration for Structural DynamicsThe HHT-α method — incremental formulationThe HHT-α method may be formulated in an incremental form, as was done withthe Newmark-β method in the previous section. Again, formulating the finite differencerelationships in terms of the increments of displacement (δxi xi 1 xi ), velocity (δ ẋi ẋi 1 ẋi ), acceleration (δẍi ẍi 1 ẍi ), and nonlinear restoring force, and difference betweenequation (31) (evaluated at time ti 1 ) and the same expression evaluated at time ti , resultsinextM δ ẍi (1 α)Cδ ẋi αCδ ẋi 1 (1 α)Kδxi αKδxi 1 (1 α)δRi αδRi 1 (1 α)δfiext αδfi 1.(37)Now, substituting in expressions for δ ẋ and δẍ at times ti and ti 1 , and grouping termsresults in"#1γM (1 α) C (1 α)K δxi 2βhβh "#1γM (1 α) C ẋiβhβ! #"γ1M (1 α)h 1 C ẍi2β2β"#γαC K δxi 1βh!γγα C ẋi 1 αh 1 C ẍi 1β2β(1 α)δRi αδRi 1(1 α)δfi αδfi 1 .(38)If R(x, ẋ) 0, these are a set of linear equations for δxi in terms of ẋi , ẍi , δxi 1 , ẋi 1 ,ẍi 1 , δxi 1 , the external dynamic load, and the structure’s mass, damping, and stiffness.Equations (22), (23), and (38) provide the recurrence relationship for the HHT-α methodin incremental form. Solving this linear system of equations6 for δxi , the displacements areupdated with,xi 1 xi δxi ,(39)the velocities are updated with!ẋi 1!γγγẋi δxi h 1 ẍi . 1 ββh2β(40)and the accelerations satisfy the HHT-α form of the equations of motion,hiextẍi 1 M 1 (1 α)C ẋi 1 αC ẋi (1 α)Kxi 1 αKxi (1 α)fi 1 αfiext . (41)This algorithm is explicit regardless of the values of α, β, or γ.6If the incremental nonlinear restoring forces δRi are not negligible, equation (38) is solved using theNewton-Raphson method, equation (48).cbnd H.P. Gavin October 5, 2020

8CEE 541. Structural Dynamics – Duke University – Fall 2020 – H.P. GavinNumerical ExampleThe simple linear structural model shown below111000000111000 200 0111000 0.35 kN/mm/s11112200 kN/mm3200 kN/mm1 Mt1 Mt0.20 kN/mm/s1 Mt0.20 1110001110001110000.15 kN/mm/s 111000111is described by the following stiffness, damping, and mass matrices (units kN,mm,s): 400 2000 400 200 K 200 0 200200 0.55 0.200 0.40 0.20 C 0.20 0 0.200.35 1 0 0 M 0 1 0 0 0 1(42)This system has natural periods of 1.00 s, 0.36 s, and 0.25 s, with about 1.5% critical damping in each mode. Free acceleration responses to initial conditions of x(0) [0, 0, 0]T andẋ(0) [1, 1, 1]T using the HHT-α method with time steps of 0.001 s (black solid) and 0.1 s(blue dash-dot), and values of α of 0.0 (left) and 0.1 (right) are shown below.1010α 0.00α 0.105accel #1, mm/s2accel #1, mm/s250-50-5-10-100246time, s81002468time, sFor the α 0 cases, the response computed with h 0.1 s has a magnified short-periodresponse as compared to the h 0.001 s case. For α 0.1 and h 0.1 s, the responseis more heavily damped especially the response at the shorter periods. Also, the responsessimulated with α 0.1 and h 0.1 s has a longer period than the system’s true fundamentalperiod of 1.0 s. Note that the linear acceleration method (α 0, β 1/6, γ 1/2) wouldbe numerically unstable for this system with a time step of 0.1 s.A more formal analysis of numerical damping, stability, and period lengthening effectsin explicit numerical integration methods can be carried out by examining the eigenvaluesof the discrete time dynamics matrix, A, in equation (3).cbnd H.P. Gavin October 5, 202010

9Numerical Integration for Structural DynamicsSimulation of SDOF Bilinear Hysteretic BehaviorBilinear hysteretic behavior may be simulated using linear dynamic models. The basicidea is that each branch of the hysteresis may be described by an equation of the formR K(x d), where the restoring force is zero when x d and K will take the value of thepre-yield stiffness or the strain hardening stiffness. The procedure is as follows:1. Initialize K using the pre-yield stiffness Khi . Initialize x0 , ẋ0 , ẍ0 , f0ext , and d to be zeroat time t0 0. The value d is the equilibrium displacement of the bilinear hystereticsystem.ext2. At time t ti 1 , read the value of the external forcing fi 1, solve equation (27) forδxi , and calculate xi 1 and ẋi 1 using equations (28) and (29).3. Compute the next acceleration ẍi 1 from equilibriumextẍi 1 M 1 [C ẋi 1 K(xi 1 d) fi 1].(43)4. Compute the yielding force level fromf yield (xi 1 , ẋi 1 ) Klo xi 1 (Khi Klo ) xy sgn(ẋi 1 )(44)5. Check for yielding:(a) If K Khi and ẋi 1 0 and K(xi 1 d) f yield ,then the system has just exceeded its positive yield force level.Set K Klo and d (1 Khi /Klo )xy .(b) If K Khi and ẋi 1 0 and K(xi 1 d) f yield ,then the system has just exceeded it’s negative yield force level.Set K Klo and d (Khi /Klo 1)xy .6. Check for load reversal:If K Klo and ẋi 1 ẋi 0,Set K Khi and d xi 1 (Klo /Khi )(xi 1 d)7. If any of the checks in steps 5 or 6 were true, then correct the velocity and acceleration(ẋi 1 , ẍi 1 ) using equations (27), (29), and (43) with a very small time step (h/104 ),over which the external forcing is assumed to be constant (δfiext 0).8. Record xi 1 , ẋi 1 , ẍi 1 , and fi 1 M ẍi 1 . Increment the time step. i : i 1.9. Go back to step 2 and repeat until the end of the time history.R(x(t),x(t))yield .f(x, x 0)K hixyK lodx y (1 Khi / Klo)x y (K hi / K lo 1)dx(t)yield .f(x, x 0)cbnd H.P. Gavin October 5, 2020

10CEE 541. Structural Dynamics – Duke University – Fall 2020 – H.P. GavinNewton-Raphson Iterative Solution for Nonlinear BehaviorEquations (27) or (38) may be written K̃ δxi f i . If the nonlinear restoring forceincrement δRi is not negligible, then f depends on δx and δ ẋ. For the case of the linearacceleration method (α 0, β 1/6, γ 1/2),63K̃ 2 M C K ,hh (45)and"#h6f i (δxi ) δfiext R(xi δxi , ẋi δ ẋi ) R(xi , ẋi ) 3M C ẍi M 3C ẋi . (46)2h The Newton-Raphson algorithm7 is an efficient method to solve the nonlinear equationsK̃ δxi f i (δxi ) for the incremental displacement δxi . The algorithm is iterative and proceedsas follows:(0)1. The initial value for δxi is denoted δxi and is arbitrarily set to zero. The correspondingvalue for f i is(0)f i (δxi )" #6h 3M C ẍi M 3C ẋi2hδfiext (47)2. The Newton-Raphson recurrence relation is simply(n 1)δxi(n) K̃ 1 f i (δxi )(48)where(n)(0)(n)(n)f i (δxi ) f i (δxi ) R(xi δxi , ẋi δ ẋi ) R(xi , ẋi ),and(n)δ ẋi 3 (n)hδxi 3ẋi ẍi .h2(49)(50)3. Equation (48) is iterated upon until the incremental displacement δxi converges, i.e.,(n 1)(n) δxi δxi .The convergence of this form of the Newton-Raphson method depends on the localsmoothness of R(x, ẋ). Convergence can be improved, for a particular time step, by makingh smaller.Note that K̃ is strongly positive definite; it does not depend on δxi ; and it is invertedor factorized only once at the beginning of the simulation. If convergence is problematic,then a set of K̃ matrices may be formed, some with small time steps, and factorized priorto the simulation.As an alternative to Newton-Raphson iterations, the approximation δRi δRi 1 results in an explicit formulation for the simulation of the response of nonlinear systems, andcan significantly reduce computational time, but with some loss of accuracy.7Press, W.H., et al., Numerical Recipes, Cambridge Univ. Press, 1993. http://www.nr.com/cbnd H.P. Gavin October 5, 2020

11Numerical Integration for Structural DynamicsSystems of First Order Ordinary Differential EquationsThe second order ordinary differential equations of motion for a structural system areM r̈(t) C ṙ(t) Kr(t) R(r(t), ṙ(t)) f ext (t),(51)where we have re-named the displacement vector x(t) of equation (1) with r(t). This setof n second order ordinary differential equations may be written as a set of 2n first orderordinary differential equations, as follows:ddt"rṙ#" 0N NIN N 1 M K M 1 C#"rṙ#" 0N 1 M 1 R(r, ṙ)#" 0N NM 1#f ext (t).(52)The vector [rT ṙT ]T is called the state vector; along with the external forces, it can completelydescribe the state of the system at any point in time. State-space models are conventionallywritten asẋ Ax g(x) Bu,(53)where x is the state vector, A is the dynamics matrix, g(x) contains any nonlinear terms inthe equations of state, B is the input matrix, and u is the input to the system. For a linearsystems, g(x) 0 and the eigenvalues of A contain the complex poles of the system. Forunder-damped dynamic systems the poles are complex-valued. The imaginary part of thepole is the damped natural frequency, and the real part of the pole is the negative of thenatural frequency times the damping ratio.A convenient feature of state-variable formulations is that first order systems can beeasily combined. If components of the structural system have first-order dynamics (forexample, visco-elasticity or Bouc-Wen hysteresis), then the first order dynamics of thosecomponents can be appended to the state vector, and the simulation of the second orderstructural system coupled with the first order structural components can proceed in parallel.The state variable formulation is the most general description of a dynamic system,and many methods exist for the simulation of state-variable models. A set of these methodshas been implemented in Matlab. See, for example, the Matlab command ode45 .For large second-order systems (n 1000), however, the HHT-α method is typicallymore efficient in terms of memory and speed.A Fixed-Step Fourth-Order Runge-Kutta SolverIn the computation of transient response analyses of linear or nonlinear systems, itis common for the external forcing to be sampled at uniformly-spaced increments in time,and to desire the response to be computed at these same points in time. If the sampleinterval h t is less than one-tenth of the shortest natural period involved in the system(over the course of the simulation) then a fixed time-step Runge-Kutta solver can compute asolution quickly, and with reasonable accuracy.8 The most famous of these solvers is fourthorder accurate. The goal of the solver is to advance the solution, x, of a general system of8Press, W.H., et al., Numerical Recipes, Cambridge Univ. Press, 1993. Section 16.1 http://www.nr.com/cbnd H.P. Gavin October 5, 2020

12CEE 541. Structural Dynamics – Duke University – Fall 2020 – H.P. Gavinnon-homogeneous first-order ordinary differential equationsẋ(t) f (t, x(t), u(t)) ,x(0) xo ,(54)from time t to time t t. Given the state vector x(t), we endeavor to find the state x(t t).The solution scheme is illustrated in Figure 1. Within each time-step, the algorithm evaluates.x2 f ( t dt/2, x(t) x1 (dt/2) , u(t dt/2) ). .x(t dt) x(t) ( x1 2(x2 x3) x4) (dt/6)x(t dt).x3 f ( t dt/2, x(t) x2 (dt/2) , u(t dt/2) )x(t).t.x4 f (t dt, x(t) x3 dt , u(t dt) )x1 f ( t, x(t) , u(t) )t dt/2t dtFigure 1. Solution Scheme of the Fourth Order Runge-Kutta Method.ẋ four times.ẋ1 f ( t , x(t) , u(t))!! t t tẋ2 f t , x(t) ẋ1 , u t 222!! t t tẋ3 f t , x(t) ẋ2 , u t 222ẋ4 f ( t t , x(t) ẋ3 t , u(t t))(55)(56)(57)(58)The desired solution, x(t t), is computed from the four state derivativesx(t t) x(t) (ẋ1 2(ẋ2 ẋ3 ) ẋ4 ) t,6(59)time is incremented, t t t, and the solution marches on. The solution scheme isimplemented in the Matlab function ode4u.m9 . As long as t is shorter than 0.45Tn whereTn is the shortest natural period in the system, this constant time-step Runge-Kutta methodis stable.9http://www.duke.edu/ hpgavin/ode4u.mcbnd H.P. Gavin October 5, 2020

13Numerical Integration for Structural 6272829function [ time , x sol , x drv , y sol ] ode4u ( dxdt , time , x0 , u , params )% [ time , x s o l , x d r v , y s o l ] ode4u ( d x d t , time , x0 , u , params )%% S o l v e a sy s te m o f nonhomogeneous o r d i n a r y d i f f e r e n t i a l e q u a t i o n s u s i n g t h e% 4 t h o r d e r Runge Kutta method .%% Input VariableDescription% %dxdt: a f u n c t i o n o f t h e form [ x d o t , y ] d x d t ( t , x , u , params )%which p r o v i d e s t h e s t a t e d e r i v a t i v e g i v e n t h e time , t ,%t h e s t a t e , x , e x t e r n a l f o r c i n g , u , and p a r a m e t e r s ;%a v e c t o r sy s te m o u t p u t s , y , may a l s o be r e t u r n e d .%time: 1 by p v e c t o r o f time v a l u e s , u n i f o r m l y i n c r e a s i n g%( or d e c r e a s i n g ) , a t which t h e s o l u t i o n i s computed .%x0: n by 1 v e c t o r o f i n i t i a l s t a t e v a l u e s , a t time ( 1 ) .%u: m by p m a t r i x o f s y st e m f o r c i n g d a t a f o r t h e ode ,%sampled a t p o i n t s i n t h e 1 by p v e c t o r time .%params: o p t i o n a l parameters f o r the f u n c t i o n dxdt .%% Output V a r i a b l eDescription% %time: i s r e t u r n e d , un changed .%x sol: the solution to the d i f f e r e n t i a l equation at%t i m e s g i v e n i n t h e 1 by p v e c t o r time .%x drv: the d e r i v i t i v e of the solution%y sol: a d d i t i o n a l s y st e m o u t p u t s%% Henri Gavin , C i v i l and Environmental E n g i n e e r i n g , Duke U n i v s e r s i t y , 2014 , 2020% WH Press , e t a l , Numerical R e c i p e s i n C, 1992 , S e c t i o n 1 6 . 130313233points length ( time );i f nargin 5 , params 0;i f nargin 4 , u zeros (1 , points );endend3435[ dxdt1 , y1 ] f e v a l ( dxdt , time (1) , x0 , u (: ,1) , params ); % compute i n i t i a l o u t p u t363738n length ( x0 (:));m length ( y1 (:));% number o f o u t p u t sx solx drvy sol% memory a l l o c a t i o n f o r s t a t e h i s t o r y% memory a l l o c a t i o n f o r s t a t e d e r i v a t i v e h i s t o r y% memory a l l o c a t i o n f o r o u t p u t h i s t o r y39404142 nan (n , points ); nan (n , points ); nan (m , points );43444546[ ru , cu ] s i z e ( u );% pad u w i t h z e r o s i f i t i s n o t l o n g enoughi f ( cu points ) , u (: , cu 1: points ) 0; end4748f o r p 1: points% advance t h e s o l u t i o n from p t o p 14950515253[ dxdt1 , y1 ]x sol (: , p )x drv (: , p )y sol (: , p ) f e v a l ( dxdt , time ( p ) , x0 , u (: , p ) , params );x0 (:);% current statedxdt1 (:);% current ratey1 (:);% current output5455565758i f p points , break; endt time ( p );dt time ( p 1) - t ;% t h e time s t e p f o r t h i s i n t e r v a ldt2 dt /2;% h a l f o f t h e time s t e p59606162[ dxdt2 , y2 ] f e v a l ( dxdt , t dt2 , x0 dxdt1 * dt2 , ( u (: , p ) u (: , p 1))/2.0 , params );[ dxdt3 , y3 ] f e v a l ( dxdt , t dt2 , x0 dxdt2 * dt2 , ( u (: , p ) u (: , p 1))/2.0 , params );[ dxdt4 , y4 ] f e v a l ( dxdt , t dt , x0 dxdt3 * dt , u (: , p 1) , params );6364x0 x0 ( dxdt1 2*( dxdt2 dxdt3 ) dxdt4 ) * dt /6.0;% u p d a t e x06566676869i f max(abs( x0 )) 1 e10 , break; end % c l o s e enough t o a f l o a t i n g p o i n t e r r o r%i f a l l ( i s f i n i t e ( x0 ) ) , b r e a k ; end% a f l o a t i n g point errorend% ODE4Ucbnd H.P. Gavin October 5, 2020

14CEE 541. Structural Dynamics – Duke University – Fall 2020 – H.P. GavinA Variable-Step Fourth-Fifth-Order Runge-Kutta SolverFor problems in which the time increments are not much shorter than the shortestnatural periods involved in the system, and for problems involving hard nonlinearities, suchas problems involving impact or friction, fixed-step Runge-Kutta solvers may be numericallyunstable. In such cases one may attempt a re-analysis using a shorter time step for everytime step, or one may use a solver in which the large fixed time-steps are automatically subdivided only when necessary. A feature of such variable time-step solvers is that a desiredlevel of accuracy may be enforced throughout the simulation, by comparing a fourth-orderaccurate solution with a fifth-order accurate solution.The implementation of the fourth-fifth order solver discussed here was proposed byCash and Karp in 1990.10 To advance the solution from a time t to a time t t, six statederivatives are computedẋ1ẋ2ẋ3ẋ4ẋ5ẋ6 f (t a1 t,f (t a2 t,f (t a3 t,f (t a4 t,f (t a5 t,f (t a6 t,x(t), u(t a1 t))(60)x(t) ẋ1 b21 t, u(t a2 t))(61)x(t) (ẋ1 b31 ẋ2 b32 ) t, u(t a3 t))(62)x(t) (ẋ1 b41 ẋ2 b42 ẋ3 b43 ) t, u(t a4 t))(63)x(t) (ẋ1 b51 ẋ2 b52 ẋ3 b53 ẋ4 b54 ) t, u(t a5 t))(64)x(t) (ẋ1 b61 ẋ2 b62 ẋ3 b63 ẋ4 b64 ẋ5 b65 ) t, u(t a6 t)) (65)The fourth order predictor at time t t, is x4 (t t), and the fifth order predictor at timet t, is x5 (t t).x4 (t t) x(t) (ẋ1 c41 ẋ3 c43 ẋ4 c44 ẋ5 c45 ẋ6 c46 ) tx5 (t t) x(t) (ẋ1 c51 ẋ3 c53 ẋ4 c54 ẋ6 c56 ) t(66)(67)The coefficients ai , bij , and cij are provided in Cash and Karp’s paper. If every term of thetruncation error vector, x4 x5 / x5 is less than the required tolerance, tol , then thesolution x5 is considered sufficiently accurate. In this case, x(t t) is assigned to x5 , t isassigned to t t, and the solution marches on. Otherwise, the time step is divided intoNss sub-steps,11 wherelh imNss Nss max max ( / tol )1/4 , 1.1(68),and Nss is initialized to 1, and d·e is the round-up operator.These concepts are implemented in the Matlab function ode45u.m1210Cash, J.R. and Karp, A.H., “A Variable O

Oct 05, 2020 · β 1/6 and γ 1/2 the Newmark-βmethod is identical to the linear acceleration method. If β 0 and γ 1/2 the Newmark-βmethod is identical to the central difference method. For linear structural dynamics, if 2β γ 1/2, then the Newmark-β method is stable regardless of the size of the

Related Documents:

Business Ready Enhancement Plan for Microsoft Dynamics Customer FAQ Updated January 2011 The Business Ready Enhancement Plan for Microsoft Dynamics is a maintenance plan available to customers of Microsoft Dynamics AX, Microsoft C5, Microsoft Dynamics CRM, Microsoft Dynamics GP, Microsoft Dynamics NAV, Microsoft Dynamics SL, Microsoft Dynamics POS, and Microsoft Dynamics RMS, and

Microsoft Dynamics 365 for Operations on-premises, Microsoft Dynamics NAV, Microsoft Dynamics GP, Microsoft Dynamics SL, Microsoft Dynamics AX 2012 or prior versions, or Microsoft Dynamics CRM 2016 or prior versions. This guide is not intended to influence the choice of Microsoft Dynamics products and services or provide technical specification.

This guide is designed to improve your understanding of how to license Microsoft Dynamics 365, Business edition. This document does not apply to Dynamics 365, Enterprise edition, Microsoft Dynamics NAV, Microsoft Dynamics GP, Microsoft Dynamics SL, Microsoft Dynamics AX 2012, or Microsoft Dynamics CRM 2016 or any other prior version.

Microsoft Dynamics Guide Dynamics GP vs. Dynamics 365 (NAV) vs. Dynamics SL . Dynamics 365 BC -1 Premium User 100/month/user (Subscription) 2000 (On-Premise) . Solomon's application became Dynamics SL. Dynamics SL is geared first and foremost for project-based businesses. This makes SL the

Microsoft Dynamics 365 for Operations on-premises, Microsoft Dynamics NAV, Microsoft Dynamics GP, Microsoft Dynamics SL, Microsoft Dynamics AX 2012 or prior versions, or Microsoft Dynamics CRM 2016 or prior versions. This guide is not intended to influence the choice of Microsoft Dynamics products and services or provide technical specification.

Preface to Fundamentals of Structural Dynamics xiii About the Authors xv 1 The Science and Art of Structural Dynamics 1 1.1 Introduction to Structural Dynamics 1 . 11.3 Mode-Displacement Solution for the Response of MDOF Systems 342. Contents ix 11.4 Mode-Acceleration Soluti

Dynamics GP, Microsoft Dynamics AX, Microsoft Dynamics 365 for Operations on-premises, Enterprise edition, Microsoft Dynamics SL, or prior versions of Microsoft Dynamics NAV. This guide is not intended to influence the choice of Microsoft Dynamics products and service

Process Modeling For control applications: Modeling objectives is to describe process dynamics based on the laws of conservation of mass, energy and momentum The balance equation 1.Mass Balance 2.Energy Balance 3.Momentum Balance (Newton’s Law) Rate of Accumulation of fundamental quantity Flow In Flow Out Rate of Production - File Size: 1MBPage Count: 32Explore furtherPDF Download Process Dynamics Modeling And Control Freewww.nwcbooks.comProcess Dynamics and Control - PDF Free Downloadepdf.pubUnderstanding Process Dynamics And Control PDF Download .www.fuadherbal.netA Short Introduction to Process Dynamics and Controlwww.users.abo.fiProcess Dynamics And Control Lecture Notesrims.ruforum.orgRecommended to you b