Von-Mises Plasticity for 2D plates #589
Unanswered
PrashanthSudeendran
asked this question in
Q&A
Replies: 1 comment
-
The error you see currently is trying to tell you that there is no method in generating the grid as you tried. One possible solution to this is e.g.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Members,
I am doing a small project in von-mises plasticity for 2D plates.
One of the sample is dumbbell shaped and other is a square plate with a circular hole in middle.
I am unable to proceed on with simulation and it always shows an error.
The error goes like
MethodError: no method matching generate_grid(::Type{Quadrilateral}, ::Tuple{Int64, Int64}, ::Tuple{Float64, Float64}, ::Tuple{Float64, Float64}, ::Tuple{Float64, Float64}, ::Tuple{Float64, Float64})
Closest candidates are:
generate_grid(::Type{Quadrilateral}, ::Tuple{Int64, Int64}, ::Vec{2, T}, ::Vec{2, T}, ::Vec{2, T}, ::Vec{2, T}) where T at C:\Users\prash.julia\packages\Ferrite\Ck78N\src\Grid\grid_generators.jl:120
generate_grid(::Type{Cell{2, M, N}}, ::Tuple{Int64, Int64}) where {M, N} at C:\Users\prash.julia\packages\Ferrite\Ck78N\src\Grid\grid_generators.jl:111
generate_grid(::Type{Cell{2, M, N}}, ::Tuple{Int64, Int64}, ::Array{Vec{2, T}, 1}) where {M, N, T} at C:\Users\prash.julia\packages\Ferrite\Ck78N\src\Grid\grid_generators.jl:106
...
Stacktrace:
[1] solve()
@ Main .\In[25]:22
[2] top-level scope
@ In[26]:1
[3] eval
@ .\boot.jl:368 [inlined]
[4] include_string(mapexpr::typeof(REPL.softscope), mod::Module, code::String, filename::String)
@ Base .\loading.jl:1428
this is the error I am getting
and the code i used in that section is:
function solve()
# Define material parameters
E = 200.0e9 # [Pa]
H = E/20 # [Pa]
ν = 0.3 # [-]
σ₀ = 200e6 # [Pa]
material = J2Plasticity(E, ν, σ₀, H)
end
it would be of great help if one could tell me how to correct this.
Beta Was this translation helpful? Give feedback.
All reactions