GlobalPlasticityLoop
Initialization
EarthBox.GlobalPlasticityLoop.initialize! — Function
initialize!(
model::ModelData;
global_plasticity_loop::Union{Int, Symbol, String, Nothing}=nothing,
kwargs...
)::NothingInitialize the global plasticity loop (Picard iteration loop]).
Arguments
model::ModelData: The model data container containing model parameters and arrays.
Keyword Arguments
global_plasticity_loop::Union{Int, String, Nothing}=nothing:- Controls the type of global plasticity loop. See the Global Plasticity Loop Types section below for information on available global plasticity loop types. If
global_plasticity_loopis nothing the option id from the model data container will be used to define global plasticity loop type. The global plasticity loop type is stored in the model data container as an integer ID (itype_global) and a corresponding string name (stype_global). The global plasticity loop type parameters can be accessed from the model data container as follows:itype_global = model.stokes_continuity.parameters.picard.itype_global.valuestype_global = model.stokes_continuity.parameters.picard.stype_global.value
- Controls the type of global plasticity loop. See the Global Plasticity Loop Types section below for information on available global plasticity loop types. If
tolerance_picard::Float64:- Convergence criterion for the global plasticity iterations (a.k.a. Picard iterations)
nglobal::Int64:- Maximum number of global plasticity iterations (a.k.a. Picard iterations)
Global Plasticity Loop Types
MarkerPlasticityLoop
global_plasticity_loopvalue:"MarkerPlasticityLoop",:MarkerPlasticityLoop, or 0- Description: Plasticity is defined on markers.
NodalPlasticityLoop
global_plasticity_loopvalue:"NodalPlasticityLoop",:NodalPlasticityLoop, or 1- Description: Plasticity is defined on nodes.