how to apply boundary condition on an auxiliary variable? #27657
Answered
by
maxnezdyur
zuckarm
asked this question in
Q&A Modules: Phase field
-
hi all, |
Beta Was this translation helpful? Give feedback.
Answered by
maxnezdyur
May 22, 2024
Replies: 1 comment 2 replies
-
Hello You can apply boundary conditions to auxiliary variables. Guillaume |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think you just want to run an AuxKernel that sets the changes the value of the AuxVariable on the boundary. AuxKernels can be boundary restricted too. So you just use the
ConstantAux
and theboundary = crack
. The only problem is that if you have multiple auxkernels for the same variable they can override each other.