Controls with the Contact Action #16293
-
Hello all, I am using the Contact Action to define a mechanical contact and after a period of time I want to turn this off. I am trying this with the Controls system but it appears that the Action cannot be enabled/disabled, giving the following error:
I understand that the action sets up various other objects so is there a way to either turn all these off in one command (based on this is seems unlikely https://groups.google.com/g/moose-users/c/jbW2TlY96pE/m/GC2K-GwnCwAJ) or get a list of everything it sets up so I can go through and turn them off? Or any other way of doing it? If it helps this is my contact block definition:
Thanks, Alex |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Controls only work with parameters of MooseObjects. So, you are correct that you will not be able control a parameter of an Action. A possible solution would be to add to the "control_tags" parameter of every object that the Contact action creates. This would require modifications to the contact module, but shouldn't be very difficult. |
Beta Was this translation helpful? Give feedback.
Controls only work with parameters of MooseObjects. So, you are correct that you will not be able control a parameter of an Action. A possible solution would be to add to the "control_tags" parameter of every object that the Contact action creates. This would require modifications to the contact module, but shouldn't be very difficult.
https://github.com/idaholab/moose/blob/next/test/tests/controls/tag_based_naming_access/object_param.i