Class AitkenConvergenceAccelerator.
More...
Class AitkenConvergenceAccelerator.
This class contains the implementation of Aitken relaxation and helper functions. Reference: Ulrich Küttler et al., "Fixed-point fluid–structure interaction solvers with dynamic relaxation"
◆ __init__()
def convergence_accelerators.aitken.AitkenConvergenceAccelerator.__init__ |
( |
|
self, |
|
|
|
settings |
|
) |
| |
The constructor.
- Parameters
-
init_alpha | Initial relaxation factor in the first time step. |
init_alpha_max | Maximum relaxation factor for the first iteration in each time step |
◆ InitializeSolutionStep()
def convergence_accelerators.aitken.AitkenConvergenceAccelerator.InitializeSolutionStep |
( |
|
self | ) |
|
◆ UpdateSolution()
def convergence_accelerators.aitken.AitkenConvergenceAccelerator.UpdateSolution |
( |
|
self, |
|
|
|
r, |
|
|
|
x |
|
) |
| |
UpdateSolution(r, x)
- Parameters
-
r | residual r_k |
x | solution x_k Computes the approximated update in each iteration. |
◆ alpha_max
convergence_accelerators.aitken.AitkenConvergenceAccelerator.alpha_max |
◆ alpha_min
convergence_accelerators.aitken.AitkenConvergenceAccelerator.alpha_min |
◆ alpha_old
convergence_accelerators.aitken.AitkenConvergenceAccelerator.alpha_old |
◆ init_alpha_max
convergence_accelerators.aitken.AitkenConvergenceAccelerator.init_alpha_max |
◆ initial_iteration
convergence_accelerators.aitken.AitkenConvergenceAccelerator.initial_iteration |
For the first iteration, do relaxation only.
convergence_accelerators.aitken.AitkenConvergenceAccelerator.R |
The documentation for this class was generated from the following file:
- /home/runner/work/Documentation/Documentation/master/applications/CoSimulationApplication/python_scripts/convergence_accelerators/aitken.py