Skip to content

load

LoadPhaseType module-attribute

LoadPhaseType: Type = as_numba_type(LoadPhase)

Load

load phases manager.

phases instance-attribute

phases: List[LoadPhase] = List([p for _ in range(0)])

load phases

__init__

__init__()

Constructor for the load class.

addConfinementPhase

addConfinementPhase(epsa_max: float, steps: int) -> LoadPhase

Add a confinement load phase.

PARAMETER DESCRIPTION
steps

Number of steps.

TYPE: int

epsa_max

Maximum strain.

TYPE: float

RETURNS DESCRIPTION
LoadPhase

The load phase.

addDrainedTriaxialPhase

addDrainedTriaxialPhase(sigc: float, epsa_max: float, steps: int) -> LoadPhase

Add a drained triaxial load phase.

PARAMETER DESCRIPTION
steps

Number of steps.

TYPE: int

sigc

Confined stress.

TYPE: float

epsa_max

Maximum strain.

TYPE: float

RETURNS DESCRIPTION
LoadPhase

The load phase.

addIsotropicPhase

addIsotropicPhase(sigc: float, steps: int) -> LoadPhase

Add an isotropic load phase.

PARAMETER DESCRIPTION
steps

Number of steps.

TYPE: int

sigc

Confined stress.

TYPE: float

RETURNS DESCRIPTION
LoadPhase

The load phase.

addLoadPhase

addLoadPhase(phase: LoadPhase) -> LoadPhase

Add a load phase.

PARAMETER DESCRIPTION
phase

The load phase.

TYPE: LoadPhase

RETURNS DESCRIPTION
LoadPhase

The load phase.

addTrueTriaxialPhase

addTrueTriaxialPhase(
    sig3: float, b: float, epsa_max: float, steps: int
) -> LoadPhase

Add a true triaxial load phase.

PARAMETER DESCRIPTION
sig3

Minimum principal stress.

TYPE: float

b

Intermediate stress ratio.

TYPE: float

epsa_max

Maximum strain.

TYPE: float

steps

Number of steps.

TYPE: int

RETURNS DESCRIPTION
LoadPhase

The load phase.

addTrueTriaxialWithConstantShearPhase

addTrueTriaxialWithConstantShearPhase(
    p: float, b: float, steps: int
) -> LoadPhase

Add a true triaxial load phase with constant shear stress.

PARAMETER DESCRIPTION
p

Mean stress.

TYPE: float

b

Intermediate stress ratio.

TYPE: float

steps

Number of steps.

TYPE: int

RETURNS DESCRIPTION
LoadPhase

The load phase.

addUndrainedTriaxialPhase

addUndrainedTriaxialPhase(epsa_max: float, steps: int) -> LoadPhase

Add an undrained triaxial load phase.

PARAMETER DESCRIPTION
steps

Number of steps.

TYPE: int

epsa_max

Maximum strain.

TYPE: float

RETURNS DESCRIPTION
LoadPhase

The load phase.

addUndrainedTriaxialWithoutShearPhase

addUndrainedTriaxialWithoutShearPhase(epsa_max: float, steps: int) -> LoadPhase

Add an undrained triaxial load phase without controlling the shear strain.

PARAMETER DESCRIPTION
steps

Number of steps.

TYPE: int

epsa_max

Maximum strain.

TYPE: float

RETURNS DESCRIPTION
LoadPhase

The load phase.

clear

clear()

Clear the load phases.

initialize

initialize(sv: StateVariable)

Initialize the load.

PARAMETER DESCRIPTION
sv

The state variables.

TYPE: StateVariable

LoadPhase

A class for a single load phase.

b instance-attribute

b: float = numpy_float(-1.0)

Intermediate stress ratio

control instance-attribute

control: VectorXf = control

Control type of the load, 0 for stress control, 1 for strain control, -1 for ignored

final instance-attribute

final: VectorXf = final

Final mixed stress/strain

initial instance-attribute

initial: VectorXf = initial

Initial mixed stress/strain

steps instance-attribute

steps: numba_int = numba_int(steps)

Number of steps

total instance-attribute

total: VectorXf = total

Control whether the load is incremental or total, 0 for incremental, 1 for total

__init__

__init__(
    initial: ndarray = zeros(6, dtype=numpy_float),
    final: ndarray = zeros(6, dtype=numpy_float),
    control: ndarray = zeros(6, dtype=numpy_float),
    total: ndarray = zeros(6, dtype=numpy_float),
    steps: int = 100,
)

Constructor for the load phase class.

PARAMETER DESCRIPTION
initial

Initial mixed stress/strain.

TYPE: ndarray DEFAULT: zeros(6, dtype=numpy_float)

final

Final mixed stress/strain.

TYPE: ndarray DEFAULT: zeros(6, dtype=numpy_float)

control

The control type of the load increment, 0 for stress control, 1 for strain control, -1 for ignored.

TYPE: ndarray DEFAULT: zeros(6, dtype=numpy_float)

total

Control whether the load is incremental or total, 0 for incremental, 1 for total.

TYPE: ndarray DEFAULT: zeros(6, dtype=numpy_float)

steps

Number of steps.

TYPE: int DEFAULT: 100

finalize

finalize(sig: ndarray) -> ndarray

Finalize the load phase to ensure the intermediate stress ratio is satisfied.

initialize

initialize(sv: StateVariable)

Initialize the load phase.

PARAMETER DESCRIPTION
sv

The state variables.

TYPE: StateVariable

isCompatibleWith

isCompatibleWith(previous: 'LoadPhase') -> bool

Check if the load phase is compatible with the previous load phase.

PARAMETER DESCRIPTION
previous

Previous load phase.

TYPE: LoadPhase

RETURNS DESCRIPTION
bool

True if compatible, False otherwise.

isIsotropic

isIsotropic(tol: float = 1e-06) -> bool

Check if the load phase is isotropic.

makeCompatibleWith

makeCompatibleWith(previous: 'LoadPhase')

Make the load phase compatible with the previous load phase.

PARAMETER DESCRIPTION
previous

Previous load phase.

TYPE: LoadPhase

requiresFinalization

requiresFinalization() -> bool

Check if the load phase requires finalization.