Skip to content

Commit

Permalink
More robust NortonOverstress implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
KnutAM committed Feb 13, 2024
1 parent 98a2752 commit 7184c8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plasticity_components/OverstressFunctions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ relaxation time and overstress sensitivty.
nexp::TN
end

overstress_function(ratelaw::NortonOverstress, Φ, σy) = Φ<=0 ? zero(Φ) : (1/ratelaw.tstar)*/σy)^ratelaw.nexp
overstress_function(ratelaw::NortonOverstress, Φ, σy) = (1/ratelaw.tstar) * macaulay/σy)^ratelaw.nexp

MMB.get_num_params(::NortonOverstress) = 2
MMB.vector2material(v::AbstractVector, ::NortonOverstress; offset=0) = NortonOverstress(v[offset+1], v[offset+2])
Expand Down

0 comments on commit 7184c8a

Please sign in to comment.