BoundsError for Plasticity of material #1816
-
Hello all, I was creating a small variation for a project that I am working for J2Plasticity. error being Info : Meshing 1D... Starting Netwon iterations: Time step @time = 1: Stacktrace: program statements being using Ferrite, Tensors, SparseArrays, LinearAlgebra, FerriteGmsh, Gmsh, Printf struct J2Plasticity{T, S <: SymmetricTensor{4, 2, T}} function J2Plasticity(E, ν, σ₀, H)
end; struct MaterialState{T, S <: SecondOrderTensor{2, T}} function MaterialState() function vonMises(σ) function setup_grid(h=0.05)
end function compute_stress_tangent(ϵ::SymmetricTensor{2, 2}, material::J2Plasticity, state::MaterialState)
end function create_values(interpolation)
end; function create_dofhandler(grid, interpolation) function create_bc(dh, grid) function doassemble(cellvalues::CellVectorValues{dim},
end function assemble_cell!(Ke, re, cell, cellvalues, facevalues, grid, material,
end function symmetrize_lower!(K) function solve()
end u_max, traction_magnitude = solve(); thanks in advance forum. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey! Questions like these should be posts at https://discourse.JuliaLang.org |
Beta Was this translation helpful? Give feedback.
Hey! Questions like these should be posts at https://discourse.JuliaLang.org