Source and sink terms in Cahn-Hilliard equation #25511
Replies: 3 comments 29 replies
-
Hello How is the source or sink term calculated? I would recommend looking through the phase field module for examples with such terms Guillaume |
Beta Was this translation helpful? Give feedback.
-
I think this is the object to use it works with a threshold on a variable, so you can use psi as the variable directly |
Beta Was this translation helpful? Give feedback.
-
@zahidhasan83 I was unable to contact you in any other way or tag you on a new thread so apologies for continuing this here if you are still able to help. I am still working on my Phase Field Model with sink and recombination. I have added source and sink using MaskedBodyForce however I can only get them to sink away from each other as seen in the images below. Do you hyave any idea on why this occurs? I have swapped the signs, values and many other constants but I can only get sink to work in the opposite. Any suggestions to fix this? My input file that creates this is provided below Also once I add recombination I can validate that recombination "works" from this paper https://www.sciencedirect.com/science/article/pii/S0927025622004839. However outside of the desnity of vacaccnies converging to a value of 0.01 which it should, the behavior of the system is poor. Convergnace at the begining of the simution also becomes really bad and gets better later in the simulation. This often creating cubes which really confuse me, or diffusing into the interface creating just one phase than randomly spindollaly decomposes multiple time steps later. It also likes to decompose into a mystery -1 phase which i cant control and happens very randomly. I have added my .c and .h files if that helps. I understand this is a really loaded question but I am lost messing around with constants trying to get the correct behevior to happen. Do you guys have any suggestions that keep that phases more stable so they can sink arond the lattice instead of diffusing? sinkandrecomEggemeyer.txt |
Beta Was this translation helpful? Give feedback.
-
Dear MOOSE experts,
Would you be kind to let me know the way of adding sink and source terms in the Cahn-Hilliard equation, to be specific in MOOSE!
I would also appreciate if you could provide me a step-by-step guideline to do so, if possible!
Thanks for your support and time.
Regards.
Beta Was this translation helpful? Give feedback.
All reactions