Skip to content

LinearAlgorithm

LinearAlgorithm

LinearAlgorithm(initial: bool = False, factor_once: bool = False)

Bases: Algorithm

Linear solution algorithm for solving linear equations in one iteration.

LinearAlgorithm is used in linear static or transient analyses where the stiffness matrix does not change during the step.

Tcl form

algorithm Linear [-initial] [-factorOnce]

Example
from femora.core.model import Model

model = Model()
algo = model.analysis.algorithm.linear(initial=True)

Create a Linear solution algorithm.

Parameters:

Name Type Description Default
initial bool

If True, uses the initial structural stiffness matrix.

False
factor_once bool

If True, sets up and factors the matrix only once.

False