Residual Norms

During the numerical solution, Simcenter STAR-CCM+ allows you to monitor the residual vector, the solution increment, and the energy increment by means of different norms.

At every iteration i, Simcenter STAR-CCM+ computes the solution update ΔuiN by solving the linear system of equations:

Figure 1. EQUATION_DISPLAY
KiΔui=ri
(4833)

with Newton iterations. K i N × N and r i N denote the material tangent matrix and the residual vector at the i-th iteration, respectively, with N being the size of the system (that is, the total number of degrees of freedom).

For the Solid Stress solver, r i and Δ u i denote the residual force and the displacement increment. For the Finite Element Solid Energy solver, they indicate the residual flux and the temperature increment. For the finite element Magnetic Vector Potential solver, they indicate the residual (which is related to the electric current load) and the magnetic vector potential increment.

After each iteration, the solvers compute the norms of the residual (ri), the variable increment (Δui), and the energy increment (Wi). When specified, these norms are normalized to the norm-value calculated for the 1st iteration:

Figure 2. EQUATION_DISPLAY
ri¯=rir1;Δui¯=ΔuiΔu1;Wi¯=WiW1
(4834)

The norms of the residual vector, r i , and the variable increment vector, Δ u i , can be calculated using different methods (see Residual and Variable Increment Norms), whereas the energy increment W i is calculated as the inner product between the variable increment vector and the residual vector (see Energy Increment). In solid stress applications, W i is called the strain energy; in solid energy applications, W i is called the thermal potential; in electromagnetic applications, W i is the magnetic energy increment.

Residual and Variable Increment Norms

Simcenter STAR-CCM+ allows you to monitor the residual and the primary variable increment by means of three different norms. To simplify the notation, the following definitions of norm consider a general vector a that represents either the variable increment Δui or the residual ri at the i-th iteration.

The components of a are denoted by aj, with j=1,...,N, where N is the vector dimension (that is, the total number of degrees of freedom of the system, Eqn. (4833)).

Maximum Norm
The maximum norm of a vector a is the maximum of the absolute values of its components, aj:
Figure 3. EQUATION_DISPLAY
amax=maxj=1,...,N(|aj|)
(4835)
L1-norm

The L1 norm of a vector a is the arithmetic mean of the absolute values of its components, aj:

Figure 4. EQUATION_DISPLAY
aL1=1Nj=1N|aj|
(4836)
Euclidean Norm
The Euclidean norm, or L2-norm, of a vector a is the Euclidean length of a normalized to the number of its components:
Figure 5. EQUATION_DISPLAY
aL2=1Nj=1Naj2
(4837)

Energy Increment

Simcenter STAR-CCM+ computes the energy increment added in one iteration of the Newton scheme as:

Figure 6. EQUATION_DISPLAY
Wi=12j=1NΔujirji
(4838)

where Δuji and rji are the components of the variable increment vector and the residual vector at the i-th iteration, and N is the vector dimension.