Previous and current variable values in pre-SMO calculation #28762
Unanswered
NateAM
asked this question in
Q&A General
Replies: 1 comment 7 replies
-
Hello What is SDVs? In any case, you should not be using the pre-SMO residual? Otherwise, how do you retrieve the current and previous value in the code? |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Check these boxes if you have followed the posting rules.
Question
I'm using the automatic scaling calculation for a simulation using a custom kernel which requires both the previous and current value of the field variables and their gradients. When the pre-SMO calculation runs I've noticed that that the previous and current field variable values are the same. Is this intended behavior or does it seem like there is a bug somewhere?
The executioner part of my input deck is
I'm not completely sure that the identical values are happening during the pre-SMO calculation because my kernel fails to converge (due to the two deformations being the same) and it throws an exception that MOOSE catches. I recognize that the kernel-specific output won't make much sense, but you can see that the variables u and phi, and their gradients are identical for the current and previous timestep. All of the messages from my kernel are between the "="s.
Beta Was this translation helpful? Give feedback.
All reactions