How to change “nl_abs_tol” during running by Controls function? #29979
Unanswered
lipxisi
asked this question in
Q&A Modules: General
Replies: 1 comment
-
Hello you cannot use the Controls system to control convergence criteria. |
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
-
Hello
Some reasons caused my calculation example to be difficult to converge at the beginning, requiring a larger convergence criterion. However, after running for some time, the convergence becomes good, and at this point, a smaller convergence criterion is needed to ensure continuous calculations. I hope to use the control function to change “nl_abs_tol” during runtime, but it seems that“nl_abs_tol” has not been declared as a controllable variable. It seems that how to declare nl_abs_tol in transient as a controllable variable? I added params.declareControllable("nl_abs_tol"); in both FEProblemSolve.C and transient.c respectively, and after recompiling and running, the following error still occurs:
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions