Skip to content

SecantNewtonAlgorithm

SecantNewtonAlgorithm

SecantNewtonAlgorithm(tang_iter: str = 'current', tang_incr: str = 'current', max_dim: int = 3)

Bases: Algorithm

Secant-Newton accelerated solution algorithm.

SecantNewtonAlgorithm uses two-term secant updates of the stiffness matrix to accelerate equilibrium iteration convergence without reforming the full tangent.

Tcl form

algorithm SecantNewton [-iterate <type>] [-increment <type>] [-maxDim <dim>]

Example
from femora.core.model import Model

model = Model()
algo = model.analysis.algorithm.secantnewton(tang_iter="initial")

Create a Secant-Newton solution algorithm.

Parameters:

Name Type Description Default
tang_iter str

Tangent to iterate on. Must be 'current', 'initial', or 'noTangent'.

'current'
tang_incr str

Tangent to increment on. Must be 'current', 'initial', or 'noTangent'.

'current'
max_dim int

Max number of iterations before reforming the tangent.

3

Raises:

Type Description
ValueError

If tang_iter or tang_incr is not a valid option.