4. Algebraic Systems

Firstly, it has to be remarked that the given formulation of the discretized differential equations only concerns the residua of the respective discretized operations and not the dependences of the unknown variables as required for linear equation systems. For this reason a data structure which is compatible with the specification methods of Section 2.5 is introduced, which stores values as well as the linearized dependences for given variables. A method is shown which automatically derives the linear dependences on the unknown variables and assembles the linearized equations line-wise.

One commonly used method which is especially employed for finite elements, namely the assembly via local shape matrices, is discussed and compared to the line-wise assembly method. Furthermore, difficulties and advantages of these methods are compared to line-wise assembly with a focus on boundaries and interface conditions.

In most cases methods for the solution of nonlinear equation systems rely on linear or linearized equation systems. These systems result from the nonlinear system by a linearization (first order multi-variable Taylor approximation) around a given vector of linearization. Thus, for each variable a value for the linearization is defined. In the neighborhood of the linearization vector, the respective function can be approximated via the linear (affine) function using an appropriately chosen initial vector .

In order to obtain a solution, the resulting equation system has to be solved. This means that the equations have to be assembled into a system matrix and/or a right-hand-side vector.

- 4. Algebraic Systems
- 4. 1 Line-Wise Assembly
- 4. 1. 1 Algebra of Linearized Equations
- 4. 1. 2 Constants
- 4. 1. 3 Basic Operations
- 4. 1. 4 Linear Expressions and Functional Description
- 4. 1. 5 Linear Example - Poisson Equation
- 4. 1. 6 Example - Nonlinear Conductivity
- 4. 1. 7 Derivative Considerations
- 4. 1. 8 Refinement of Models
- 4. 1. 9 Eigenvalue Problems

- 4. 2 Element-Wise Assembly
- 4. 3 Boundaries and Interfaces
- 4. 4 Solution of Algebraic Problems

- 4. 1 Line-Wise Assembly