ElastoPlasm Reference
ElastoPlasm.collapse — Methodcollapse(ic::NamedTuple, cfg::NamedTuple) -> BoolRuns the explicit solution workflow for the collapse problem, including simulation and postprocessing.
Arguments
ic::NamedTuple: Initial mesh/material/compression/time/gravity configuration.cfg::NamedTuple: Simulation instructions and output paths.
Returns
Bool: Returnstrueif the simulation and postprocessing complete successfully.
ElastoPlasm.ic_collapse — Methodic_collapse(dim::Int, nel::Vector{Int64}, ν, E, ρ0, l0; fid::String=..., kwargs...) -> NamedTuple, NamedTupleInitializes the mesh, material points, constitutive model, and simulation configuration for a collapse test.
Arguments
dim::Int: Number of spatial dimensions (2 or 3).nel::Vector{Int64}: Number of elements in each dimension.ν, E, ρ0, l0: Physical parameters.fid::String: (Optional) File or run identifier.kwargs...: Additional keyword arguments for simulation configuration.
Returns
(ic, cfg): Two named tuples containing mesh/material/compression info (ic) and instructions/paths (cfg).
ElastoPlasm.ic_slump — Methodic_slump(L::Vector{Float64}, nel::Vector{Int64}; fid::String=..., kwargs...) -> NamedTuple, NamedTupleInitializes the mesh, material points, and simulation configuration for a slump test.
Arguments
L::Vector{Float64}: Domain dimensions.nel::Vector{Int64}: Number of elements in each dimension.fid::String: (Optional) File or run identifier.kwargs...: Additional keyword arguments for simulation configuration.
Returns
(ic, cfg): Two named tuples containing mesh/material point/compression info (ic) and instructions/paths (cfg).
Example
ic, cfg = ic_slump([64.0, 16.0], [40, 10]; fid="run1")ElastoPlasm.slump — Methodslump(ic::NamedTuple, cfg::NamedTuple; mutate::Bool=false) -> BoolRuns the explicit solution workflow for the slump problem, including simulation and postprocessing.
Arguments
ic::NamedTuple: Initial mesh, material point, compression, and time configuration.cfg::NamedTuple: Simulation instructions and output paths.
Returns
Bool: Returnstrueif the simulation and postprocessing complete successfully.
Example
success = slump(ic, cfg)