Help Developing a Stress Induced Diffusion Kernel #32521
Unanswered
Supernova963
asked this question in
Q&A General
Replies: 1 comment 1 reply
-
|
hello so the second term, is it div ( Dc0 / RT grad (tr(sigma))) ? and then you integrated this by parts right? I'd expect to see the prefactor * the variable (usually _u[_qp], with u set using coupledValue) * grad_stress is the variable (c0) value baked into the prefactor? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Check these boxes if you have followed the posting rules.
Question
Hello,
I am trying to implement the following equation for stress induced diffusion,

The terms affected by the divergence (the dot product is missing), are the ones I am interested in implementing. As of now I have chosen to implement the first term via the matDiffusion kernel and am trying to create the second term in what I am calling the StressDrift kernel. I currently have the files made, but am unsure if the equations are implemented correctly as it is my first attempt at creating a new kernel.
Non-linear variable:$c^o$ $D, R, T, \eta, V$ (Input as a derivative material)
Prefactor terms:
And I want to take the gradient of hydrostatic stress. (First order Lagrange)
I have directly based the code off matDiffusion as it seemed the most similar to what I want to do.
If anyone has any advice or feedback on whether it looks like it implements the equation please let me know. Anything is greatly appreciated.
StressDriftBase.h
StressDriftBase.C
Beta Was this translation helpful? Give feedback.
All reactions