Enforce the equality of the chemical potentials in the two phases. More...
#include <KKSPhaseChemicalPotential.h>
Public Member Functions | |
KKSPhaseChemicalPotential (const InputParameters ¶meters) | |
Protected Member Functions | |
virtual Real | computeQpResidual () |
virtual Real | computeQpJacobian () |
virtual Real | computeQpOffDiagJacobian (unsigned int jvar) |
virtual void | initialSetup () |
Private Attributes | |
unsigned int | _cb_var |
coupled variable for cb More... | |
VariableName | _cb_name |
const MaterialProperty< Real > & | _dfadca |
material properties we need to access More... | |
const MaterialProperty< Real > & | _dfbdcb |
const MaterialProperty< Real > & | _d2fadca2 |
const MaterialProperty< Real > & | _d2fbdcbca |
std::vector< const MaterialProperty< Real > * > | _d2fadcadarg |
std::vector< const MaterialProperty< Real > * > | _d2fbdcbdarg |
const Real | _ka |
site fractions More... | |
const Real | _kb |
Enforce the equality of the chemical potentials in the two phases.
Eq. (21) in the original KKS paper.
\( dF_a/dc_a = dF_b/dc_b \)
We need to supply two free energy functions (i.e. KKSBaseMaterial) by giving two "base names" ('Fa', 'Fb'). We supply concentration \( c_a \) as the non-linear variable and \( c_b \) as a coupled variable (compare this to KKSPhaseConcentration, where the non-linear variable is the other phase concentration \( c_b \)!)
Definition at line 36 of file KKSPhaseChemicalPotential.h.
KKSPhaseChemicalPotential::KKSPhaseChemicalPotential | ( | const InputParameters & | parameters | ) |
Definition at line 52 of file KKSPhaseChemicalPotential.C.
|
protectedvirtual |
Definition at line 105 of file KKSPhaseChemicalPotential.C.
|
protectedvirtual |
Definition at line 112 of file KKSPhaseChemicalPotential.C.
|
protectedvirtual |
|
protectedvirtual |
Definition at line 91 of file KKSPhaseChemicalPotential.C.
|
private |
Definition at line 50 of file KKSPhaseChemicalPotential.h.
Referenced by KKSPhaseChemicalPotential().
|
private |
coupled variable for cb
Definition at line 49 of file KKSPhaseChemicalPotential.h.
|
private |
Definition at line 55 of file KKSPhaseChemicalPotential.h.
Referenced by computeQpJacobian().
|
private |
Definition at line 58 of file KKSPhaseChemicalPotential.h.
Referenced by computeQpOffDiagJacobian(), and KKSPhaseChemicalPotential().
|
private |
Definition at line 56 of file KKSPhaseChemicalPotential.h.
Referenced by computeQpJacobian().
|
private |
Definition at line 59 of file KKSPhaseChemicalPotential.h.
Referenced by computeQpOffDiagJacobian(), and KKSPhaseChemicalPotential().
|
private |
material properties we need to access
Definition at line 53 of file KKSPhaseChemicalPotential.h.
Referenced by computeQpResidual().
|
private |
Definition at line 54 of file KKSPhaseChemicalPotential.h.
Referenced by computeQpResidual().
|
private |
site fractions
Definition at line 62 of file KKSPhaseChemicalPotential.h.
Referenced by computeQpJacobian(), computeQpOffDiagJacobian(), and computeQpResidual().
|
private |
Definition at line 63 of file KKSPhaseChemicalPotential.h.
Referenced by computeQpJacobian(), computeQpOffDiagJacobian(), and computeQpResidual().