Coding dirichletbc from material property #23797
-
I have written the include and src files for executing Dirichlet boundary condition taking values from material property. This runs well on simple problems. However, this is leading to convergence issues for complex problems. I have used IntegratedBC as the parent class. Please look into my code (attached) header file
src file
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 10 replies
-
hello You are missing the contribution to the Jacobian. Does it converge with PJFNK for the solve_type? Guillaume |
Beta Was this translation helpful? Give feedback.
-
ADEgMatDirichlet.C
And the input file material block is:
|
Beta Was this translation helpful? Give feedback.
-
Aren't both same, as the residue has to be near to zero.
The postprocessor gives:
Interestingly, this change made in
|
Beta Was this translation helpful? Give feedback.
Aren't both same, as the residue has to be near to zero.
I tried the following change on simplediffusion.i.
The postprocessor gives:
Postprocessor Values: