No convergence with an Mfront law in code_aster #182
-
Hi, I'm trying to use an MFront law in a code_aster model. it is adapted from the one sent in #130 (I added Voce hardening law to it). It's working as expected in Mtest and on a small domain with periodic boundary conditions in code_aster. I tried the keyword @AsterGenerateMTestFileOnFailure but I don't know where I'm supposed to find the files in the computation repository. Any hints on how to debug this ? Thanks in advance, Maxime |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 19 replies
-
Hi @Max-EDFLMT. Good to see that you made progresses. Very interested to see what will be the final result First of all, have you read the last part of this tutorial ? Concerning try:
STAT_NON_LINE(...)
except:
os.system("cp *.mtest <insert_directory_where_to_copy_the_mtest_files>") |
Beta Was this translation helpful? Give feedback.
Hi @Max-EDFLMT.
Good to see that you made progresses. Very interested to see what will be the final result
First of all, have you read the last part of this tutorial ?
You probably shall use the Jacobi eigen solver and either Algorithm 3 or Algorithm 4.
Concerning
code_aster
and theMTest
file generation, I don't remember the details, but the basic idea is to put the call theSTAT_NON_LINE
intry/except
bloc and do something like this: