How to Resolve 'fromMatrix' Invalid Orientation Error 402 in Simulation? #78
-
|
When I am using these input files to run my simulation, then after 11 iterations, following error is occurring: ┌─────────────────────────────────────────────────────────────────────┐ Kindly help me out to resolve this error. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
Dear Anmol-Bakshi, I’ve encountered a similar issue in the past and, based on what I’ve read in other posts in this discussion forum, error 402 apparently occurs when some cells are distorted too much, so it can’t properly convert to a rotation matrix. From the files you shared, it looks like you are using a relatively high strain rate (1e-1 s⁻¹) and a short total simulation time (t = 1 s), which would lead to a total engineering strain of 1%. Is that really what you intended? I agree that this is theoretically a small strain, but when I faced this same error, the strains in my case were also not very high. Your setup also doesn’t seem very typical — there appear to be only two grains, and I’m honestly not sure how DAMASK handles such cases. That said, what helped me work around error 402 was performing frequent regridding and restarts during the simulation. To do this, you’ll need to configure a restart output in your load case file (this links may help you with that - https://github.com/damask-multiphysics/DAMASK/discussions/72 and https://github.com/damask-multiphysics/DAMASK/discussions/50) Note: By no means am I a DAMASK expert — I’m just trying to help based on my experience dealing with a similar issue in the past. I hope this is useful to you. Let me know if this works! Best regards, |
Beta Was this translation helpful? Give feedback.
Thank you @LeoDanninger for your reply. The problem was actually that I changed the units in my constitutive model in material.yaml that's why it was not working. Once I corrected that, the simulation ran.