This kernel adds a contribution \( \left( \frac{\partial F_a}{\partial \eta_{ai}} f_a + \frac{\partial F_b}{\partial \eta_{ai}} f_b + ... \right) \frac{\partial \eta_{ai}}{\partial t} \) where \( a,b,.. \) are the phases, \( h_a, h_b,.. \) are the switching functions, \( \eta_{ai} \) is the order parameter that is the nonlinear variable, \( t \) is time, and \( F_a, F_b,.. \) are functions for each phase. More...
#include <CoupledSwitchingTimeDerivative.h>
Public Member Functions | |
CoupledSwitchingTimeDerivative (const InputParameters ¶meters) | |
virtual void | initialSetup () |
Protected Member Functions | |
virtual Real | computeQpResidual () |
virtual Real | computeQpJacobian () |
virtual Real | computeQpOffDiagJacobian (unsigned int jvar) |
Protected Attributes | |
const unsigned int | _nvar |
Number of coupled variables. More... | |
const VariableName | _v_name |
name of order parameter that derivatives are taken wrt (needed to retrieve the derivative material properties) More... | |
std::vector< MaterialPropertyName > | _Fj_names |
Names of functions for each phase \( F_j \). More... | |
const unsigned int | _num_j |
Number of phases. More... | |
std::vector< const MaterialProperty< Real > * > | _prop_Fj |
Values of the functions for each phase \( F_j \). More... | |
std::vector< const MaterialProperty< Real > * > | _prop_dFjdv |
Derivatives of the functions wrt the nonlinear variable for this kernel. More... | |
std::vector< std::vector< const MaterialProperty< Real > * > > | _prop_dFjdarg |
Derivatives of the functions (needed for off-diagonal Jacobians) More... | |
std::vector< MaterialPropertyName > | _hj_names |
switching function names More... | |
std::vector< const MaterialProperty< Real > * > | _prop_dhjdetai |
Derivatives of the switching functions wrt the order parameter for this kernel. More... | |
std::vector< const MaterialProperty< Real > * > | _prop_d2hjdetai2 |
Second derivatives of the switching functions wrt the order parameter for this kernel. More... | |
std::vector< std::vector< const MaterialProperty< Real > * > > | _prop_d2hjdetaidarg |
Second derivatives of the switching functions (needed for off-diagonal Jacobians) More... | |
This kernel adds a contribution \( \left( \frac{\partial F_a}{\partial \eta_{ai}} f_a + \frac{\partial F_b}{\partial \eta_{ai}} f_b + ... \right) \frac{\partial \eta_{ai}}{\partial t} \) where \( a,b,.. \) are the phases, \( h_a, h_b,.. \) are the switching functions, \( \eta_{ai} \) is the order parameter that is the nonlinear variable, \( t \) is time, and \( F_a, F_b,.. \) are functions for each phase.
For the grand-potential model susceptibility equation, \( F_a \) etc. are the phase densities.
Definition at line 32 of file CoupledSwitchingTimeDerivative.h.
CoupledSwitchingTimeDerivative::CoupledSwitchingTimeDerivative | ( | const InputParameters & | parameters | ) |
Definition at line 30 of file CoupledSwitchingTimeDerivative.C.
|
protectedvirtual |
Definition at line 95 of file CoupledSwitchingTimeDerivative.C.
|
protectedvirtual |
Definition at line 105 of file CoupledSwitchingTimeDerivative.C.
|
protectedvirtual |
Definition at line 85 of file CoupledSwitchingTimeDerivative.C.
|
virtual |
Definition at line 75 of file CoupledSwitchingTimeDerivative.C.
|
protected |
Names of functions for each phase \( F_j \).
Definition at line 52 of file CoupledSwitchingTimeDerivative.h.
Referenced by CoupledSwitchingTimeDerivative(), and initialSetup().
|
protected |
switching function names
Definition at line 67 of file CoupledSwitchingTimeDerivative.h.
Referenced by CoupledSwitchingTimeDerivative(), and initialSetup().
|
protected |
Number of phases.
Definition at line 55 of file CoupledSwitchingTimeDerivative.h.
Referenced by computeQpJacobian(), computeQpOffDiagJacobian(), computeQpResidual(), CoupledSwitchingTimeDerivative(), and initialSetup().
|
protected |
Number of coupled variables.
Definition at line 45 of file CoupledSwitchingTimeDerivative.h.
Referenced by CoupledSwitchingTimeDerivative().
|
protected |
Second derivatives of the switching functions wrt the order parameter for this kernel.
Definition at line 73 of file CoupledSwitchingTimeDerivative.h.
Referenced by computeQpOffDiagJacobian(), and CoupledSwitchingTimeDerivative().
|
protected |
Second derivatives of the switching functions (needed for off-diagonal Jacobians)
Definition at line 76 of file CoupledSwitchingTimeDerivative.h.
Referenced by computeQpOffDiagJacobian(), and CoupledSwitchingTimeDerivative().
|
protected |
Derivatives of the functions (needed for off-diagonal Jacobians)
Definition at line 64 of file CoupledSwitchingTimeDerivative.h.
Referenced by computeQpOffDiagJacobian(), and CoupledSwitchingTimeDerivative().
|
protected |
Derivatives of the functions wrt the nonlinear variable for this kernel.
Definition at line 61 of file CoupledSwitchingTimeDerivative.h.
Referenced by computeQpJacobian(), and CoupledSwitchingTimeDerivative().
|
protected |
Derivatives of the switching functions wrt the order parameter for this kernel.
Definition at line 70 of file CoupledSwitchingTimeDerivative.h.
Referenced by computeQpJacobian(), computeQpOffDiagJacobian(), computeQpResidual(), and CoupledSwitchingTimeDerivative().
|
protected |
Values of the functions for each phase \( F_j \).
Definition at line 58 of file CoupledSwitchingTimeDerivative.h.
Referenced by computeQpOffDiagJacobian(), computeQpResidual(), and CoupledSwitchingTimeDerivative().
|
protected |
name of order parameter that derivatives are taken wrt (needed to retrieve the derivative material properties)
Definition at line 49 of file CoupledSwitchingTimeDerivative.h.
Referenced by CoupledSwitchingTimeDerivative().