The source term is required in the Cahn-Hilliard equation to automatically generate/degenerate the species due to the chemical reaction.
Thereby, the current version needs some improvements to account for the source term. Moreover, we should allow users to select the free energy expressions they like, not only be restricted to the binary-mixture cases, i.e. (c-ca)^2*(c-c^b)^2, the polynomial cases.
This should also become a good "Example" to demonstrate the phase-field modeling ability of AsFem.
Now the reaction source terms and the choice for different free energy is ready.
The details can be found here: 380a0a43314cdc9328a565e537276f0adb26479d
The source term is required in the Cahn-Hilliard equation to automatically generate/degenerate the species due to the chemical reaction.
Thereby, the current version needs some improvements to account for the source term. Moreover, we should allow users to select the free energy expressions they like, not only be restricted to the binary-mixture cases, i.e. (c-ca)^2*(c-c^b)^2, the polynomial cases.
This should also become a good "Example" to demonstrate the phase-field modeling ability of AsFem.
Let's do it!