3.2.3.9. Diagonal System
- system Diagonal <-lumped>
- system MPIDiagonal <-lumped>
ops.system('Diagonal', '-lumped')
ops.system('MPIDiagonal', '-lumped')
Argument |
Type |
Description |
|---|---|---|
-lumped |
string |
add the off-diagonal terms of the matrix to the diagonal (row-sum lumping) instead of ignoring them (optional) |
Discussion
This command is used to construct a Diagonal linear system of equations. Only the diagonal terms of the matrix are stored, and the equations are solved directly as \(x_i = b_i / A_{ii}\). It is intended for explicit dynamic analysis with a diagonal (lumped) mass matrix.
The matrix stored is:
MPIDiagonal is the version for parallel processing.
Note
Without -lumped, the off-diagonal terms of the matrix are ignored. With -lumped, each one is added to the diagonal term of its row (row-sum lumping), so that, for a consistent mass matrix \(m_{ij}\), the diagonal term becomes \(\tilde{m}_{ii} = \sum_{j} m_{ij}\).
All the diagonal terms must be non-zero.
The system only stores n values, instead of the \(n^2\) of a full matrix, so it uses very little memory.
In the Tcl interpreter of versions up to 3.8.0, -lumped is ignored and the off-diagonal terms are not lumped.
For MPIDiagonal in a parallel application, -lumped is ignored.
Warning
The system is only appropriate when the matrix to be solved is, or can reasonably be made, diagonal. This is the case for the mass matrix of an explicit dynamic analysis, e.g. with the ExplicitDifference integrator, or the CentralDifference integrator with no damping or only mass-proportional Rayleigh damping.
Lumping the stiffness matrix is rarely appropriate and can give poor results. For static analysis or implicit dynamic analysis use one of the other systems.
Lumping is best done at the element level. For higher-order elements, e.g. TenNodeTetrahedron or SixNodeTri, row-sum lumping can give negative masses.
Example 1:
The following example creates a Diagonal system.
system Diagonal
ops.system('Diagonal')
Example 2: Explicit dynamic analysis
The following example sets up an explicit dynamic analysis with a lumped mass matrix, e.g. for a blast or impact analysis. The time step must be small enough for the explicit integrator to be stable.
system Diagonal -lumped
constraints Plain
numberer Plain
test NormDispIncr 1.0e-6 10 0
algorithm Linear
integrator CentralDifference
analysis Transient
analyze 1000 0.0001
ops.system('Diagonal', '-lumped')
ops.constraints('Plain')
ops.numberer('Plain')
ops.test('NormDispIncr', 1.0e-6, 10, 0)
ops.algorithm('Linear')
ops.integrator('CentralDifference')
ops.analysis('Transient')
ops.analyze(1000, 0.0001)
Code Developed by: fmk