Discrete Nucleation Module inserting nuclei with negative value order parameter in grand potential model #29081
Unanswered
aclin4
asked this question in
Q&A Modules: Phase field
Replies: 1 comment
-
Hello The results seem very oscillatory. Is the mesh sufficiently discretized? Are the time steps small enough? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I'm working on a grand potential phase field model to simulate the formation of gas bubbles in a fuel matrix. In my model there are four variables: the matrix phase order parameter, the bubble phase order parameter, chemical potential of gas, and chemical potential of vacancies. The full input file is included at the end of this post.
I'm inserting the nuclei using the DiscreteNucleationForce kernel acting on the bubble order parameter:
where the nucleation probability is based on the supersaturation of the gas and vacancies in the matrix:
The UserObjects for the Discrete Nucleation Module are set up like so:
However, when I run my simulation and a nuclei is inserted, the order parameter for the bubble phase takes a negative value. (case A)
In certain instances, if I modify the nucleation rate to be higher at a lower supersaturation, the nuclei will be inserted initially with a positive value, but in the subsequent timestep, the value becomes negative. (case B)
Does anyone have any insight as to why this is happening?
Update
I managed to get a positive value inserted for the nuclei by using the DiscreteNucleationTimeStep to limit the timestep near the nuclei insertion, however, now I get a strange propagating numerical error surrounding the nuclei (see Case C figures below). I'm unsure if this is related to the above issue or is a completely different numerical problem. Any insight into this would be greatly appreciated!
Thanks,
Albert
Case A:
Case B:
Case C:
Full Input File:
Beta Was this translation helpful? Give feedback.
All reactions