KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
Public Member Functions | Public Attributes | List of all members
convergence_accelerators.aitken.AitkenConvergenceAccelerator Class Reference

Class AitkenConvergenceAccelerator. More...

Inheritance diagram for convergence_accelerators.aitken.AitkenConvergenceAccelerator:
Collaboration diagram for convergence_accelerators.aitken.AitkenConvergenceAccelerator:

Public Member Functions

def __init__ (self, settings)
 The constructor. More...
 
def InitializeSolutionStep (self)
 
def UpdateSolution (self, r, x)
 UpdateSolution(r, x) More...
 

Public Attributes

 R
 
 alpha_old
 
 init_alpha_max
 
 alpha_max
 
 alpha_min
 
 initial_iteration
 For the first iteration, do relaxation only. More...
 

Detailed Description

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"

Constructor & Destructor Documentation

◆ __init__()

def convergence_accelerators.aitken.AitkenConvergenceAccelerator.__init__ (   self,
  settings 
)

The constructor.

Parameters
init_alphaInitial relaxation factor in the first time step.
init_alpha_maxMaximum relaxation factor for the first iteration in each time step

Member Function Documentation

◆ InitializeSolutionStep()

def convergence_accelerators.aitken.AitkenConvergenceAccelerator.InitializeSolutionStep (   self)

◆ UpdateSolution()

def convergence_accelerators.aitken.AitkenConvergenceAccelerator.UpdateSolution (   self,
  r,
  x 
)

UpdateSolution(r, x)

Parameters
rresidual r_k
xsolution x_k Computes the approximated update in each iteration.

Member Data Documentation

◆ 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.

◆ R

convergence_accelerators.aitken.AitkenConvergenceAccelerator.R

The documentation for this class was generated from the following file: