View on GitHub

NumericalAnalyzers

Library that handles static, dynamic and non-linear procedures.

2. Dynamic Analyzers

2.1 Newmark’s Method for structural problems

Equation of equilibrium that governs the dynamic response of a linear system:

where M, C and K are the mass, damping and stiffness matrices and U is the displacement vector.

Substituting the inertia forces, the damping forces and the elastic forces, the equation of equilibrium can be written as:

For the solution of the dynamic system, we use the Newmark direct integration scheme, that makes the following assumptions:

where and are parameters that can be determined to obtain integration accuracy and stability. For the linear acceleration method, the parameters become and , while for Newmark’s method we have and . According to above, the equation of equilibrium becomes:

Using the Trapezoidal rule, we solve for each time step:

and then we can calculate and .

Implementation for Linear Dynamic Analysis

The algorithm for the Newmark integration scheme can be summarized in the following step-by-step procedure:

A. Initial calculations:

  1. Form stiffness matrix K, mass matrix M and damping matrix C.
  2. Initialize , , .
  3. Select time step and parameters , .
  4. Calculate integration constants:

  1. Form effective stiffness matrix

  1. Triangularize:

B. For each time step:

  1. Calculate effective loads:

  1. Calculate the displacements vector:

  1. Calculate accelerations and velocities:

Implementation for Nonlinear Dynamic Analysis

The solution of nonlinear dynamic system of equations can be calculated using Newmark’s method combined with the incremental-iterative procedure of the Newton-Raphson method. For illustration here the modified Newton-Raphson iteration method without damping effects is demonstrated as:

Using the trapezoidal rule of time integration according to Newmark’s method, we get the following assumptions:

According to the above we can calculate the accelerations vector, as:

The solution can be calculated from the solution of the following system:

where:

is the effective stiffness matrix.

2.2 Finite Difference Method for heat transfer problems

The transient heat conduction equation is given by:

where is the temperature field, Q is the heat generation per unit volume and are the material’s conductivity, density and specific heat capacity, respectively.

The boundary conditions of this type of problem are:

and

where, with representing the whole boundary. Also, l,m,n are direction cosines, is the heat transfer coefficient, is the atmospheric temperature and is the boundary heat flux. The initial condition for the problem is

It is now possible to solve the system, provided that appropriate spatial and temporal discretizations are available. The Galerkin method can be used for the spatial approximation and the above equation becomes:

with , and being the capacity matrix, the conductivity matrix and the load vector. More specifically:

or, in matrix form,

For the solution of the dynamic system, we use a Finite Difference scheme, that makes the following assumptions:

or

The above equation gives the nodal values of temperature at the time level. By varying the parameter , different transient schemes can be constructed. For instance, results in the forward difference method (fully explicit), in the backward difference method (fully implicit) and in the Crank-Nicolson method (semi-implicit).

Implementation for Linear Dynamic Analysis

The algorithm for the Finite Difference integration scheme can be summarized in the following step-by-step procedure:

A. Initial calculations:

  1. Form conductivity matrix K and capacity matrix C
  2. Initialize
  3. Select time step and parameter
  4. Form the effective matrix

B. For each time step:

  1. Calculate effective loads:

  1. Calculate the nodal temperatures at the time increment:

References

[1] Finite Element Procedures, K-J. Bathe, Prentice Hall, 2nd edition, 2014.

[2] Fundamentals of the Finite Element Method for Heat and Fluid Flow, R. Lewis, P. Nithiarasu and K. Seetharamu, Wiley, 2004.