MOOSE-NEML2-Pyzag Stress agreement for complex geometries #262
-
Hello, I have a couple of follow up questions regarding MOOSE/NEML2/Pyzag agreement. To recap - I am trying to take the strain history of a MOOSE model using NEML2 and comparing it to the same NEML2 model run with the same strain history using Pyzag. There's agreement between the stresses output in the case of a single element that's nodes are all constrained by BCs. For more complex geometries, where not all nodes of all elements have BCs there is still a disagreement.
I have been reading through as much MOOSE / NEML2 / Pyzag documentation as I can find, but I am happy to be pointed to other documentation / resources. Any guidance is appreciated! Thanks R |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Sorry for the delay, I was on vacation. So if I understand correctly:
When you say you're imposing the MOOSE strains into the pyzag model which strains do you mean? The element output from MOOSE? If so the problem is likely that MOOSE has multiple quadrature points per element. The local strains at these quadrature points are likely different from the average element strain history you're getting reported back from MOOSE. So in MOOSE you have eight (for a linear hex) quadrature points each with somewhat different strains and in pyzag you just have the element average strain history. Those won't match. That also explains why it works when all the nodes are constrained: then all of the quadrature points will have the same strains. Options to test this:
Let me know if my guess is wrong and I can take a more detailed look! |
Beta Was this translation helpful? Give feedback.
Sorry for the delay, I was on vacation.
So if I understand correctly:
When you say you're imposing the MOOSE strains into the pyzag model which strains do you mean? The element output from MOOSE? If so the problem is likely that MOOSE has multiple quadrature points per element. The local strains at these quadrature points are likely different from the average element strain history you're getting reported back from MOOSE. So in MOOSE you have eight (for a linear hex) quadrature points each with somewhat different strains and in pyzag you just have the element av…