Skip to content
Discussion options

You must be logged in to vote

I guess I didn't answer your question about why you got the compile error. You are coupling to a variable that provides a scalar, but to access the value of that at your quadrature point, you'd need to index into it like this: _von_mises[_qp].

However, that isn't really the best way to get at the von Mises stress, because you're extracting that from the stress tensors at the quadrature points, and then converting that to a field variable, so you're losing information. It would be better to extract it directly as a scalar material property at your quadrature point, and then use that material property containing the von Mises stress in your damage model. The RankTwoInvariant material model …

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@wehrad
Comment options

Comment options

You must be logged in to vote
1 reply
@wehrad
Comment options

Answer selected by wehrad
Comment options

You must be logged in to vote
1 reply
@bwspenc
Comment options

bwspenc Mar 10, 2022
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants