Enforce sum of phase concentrations to be the real concentration. More...
#include <KKSMultiPhaseConcentration.h>
Public Member Functions | |
KKSMultiPhaseConcentration (const InputParameters ¶meters) | |
Protected Member Functions | |
virtual Real | precomputeQpResidual () |
virtual Real | precomputeQpJacobian () |
virtual Real | computeQpOffDiagJacobian (unsigned int jvar) |
Private Attributes | |
const unsigned int | _num_j |
std::vector< const VariableValue * > | _cj |
const JvarMap & | _cj_map |
int | _k |
Position of the nonlinear variable in the list of cj's. More... | |
const VariableValue & | _c |
unsigned int | _c_var |
std::vector< MaterialPropertyName > | _hj_names |
Switching functions for each phase \( h_j \). More... | |
std::vector< const MaterialProperty< Real > * > | _prop_hj |
std::vector< VariableName > | _eta_names |
Order parameters for each phase \( \eta_j \). More... | |
const JvarMap & | _eta_map |
std::vector< std::vector< const MaterialProperty< Real > * > > | _prop_dhjdetai |
Derivative of the switching function \( \frac d{d\eta} h(\eta) \). More... | |
Enforce sum of phase concentrations to be the real concentration.
\( c = h_1(\eta_1,\eta_2,\eta_3,...) c_1 + h_2(\eta_1,\eta_2,\eta_3,...) c_2 + h_3(\eta_1,\eta_2,\eta_3,..) c_3 + ... \)
The non-linear variable for this Kernel is one of the concentrations \( c_i \), while \( c_j \neq c_i \) and \( c \) are supplied as coupled variables. The other phase concentrations are set as non-linear variables using multiple KKSPhaseChemicalPotential kernels.
Definition at line 35 of file KKSMultiPhaseConcentration.h.
KKSMultiPhaseConcentration::KKSMultiPhaseConcentration | ( | const InputParameters & | parameters | ) |
Definition at line 33 of file KKSMultiPhaseConcentration.C.
|
protectedvirtual |
Definition at line 101 of file KKSMultiPhaseConcentration.C.
|
protectedvirtual |
Definition at line 95 of file KKSMultiPhaseConcentration.C.
|
protectedvirtual |
|
private |
Definition at line 54 of file KKSMultiPhaseConcentration.h.
Referenced by precomputeQpResidual().
|
private |
Definition at line 55 of file KKSMultiPhaseConcentration.h.
Referenced by computeQpOffDiagJacobian().
|
private |
Definition at line 48 of file KKSMultiPhaseConcentration.h.
Referenced by computeQpOffDiagJacobian(), KKSMultiPhaseConcentration(), and precomputeQpResidual().
|
private |
Definition at line 49 of file KKSMultiPhaseConcentration.h.
Referenced by computeQpOffDiagJacobian().
|
private |
Definition at line 63 of file KKSMultiPhaseConcentration.h.
Referenced by computeQpOffDiagJacobian().
|
private |
Order parameters for each phase \( \eta_j \).
Definition at line 62 of file KKSMultiPhaseConcentration.h.
Referenced by KKSMultiPhaseConcentration().
|
private |
Switching functions for each phase \( h_j \).
Definition at line 58 of file KKSMultiPhaseConcentration.h.
Referenced by KKSMultiPhaseConcentration().
|
private |
Position of the nonlinear variable in the list of cj's.
Definition at line 52 of file KKSMultiPhaseConcentration.h.
Referenced by KKSMultiPhaseConcentration(), and precomputeQpJacobian().
|
private |
Definition at line 47 of file KKSMultiPhaseConcentration.h.
Referenced by computeQpOffDiagJacobian(), KKSMultiPhaseConcentration(), and precomputeQpResidual().
|
private |
Derivative of the switching function \( \frac d{d\eta} h(\eta) \).
Definition at line 66 of file KKSMultiPhaseConcentration.h.
Referenced by computeQpOffDiagJacobian(), and KKSMultiPhaseConcentration().
|
private |
Definition at line 59 of file KKSMultiPhaseConcentration.h.
Referenced by computeQpOffDiagJacobian(), KKSMultiPhaseConcentration(), precomputeQpJacobian(), and precomputeQpResidual().