Go to the documentation of this file.
19 params.addClassDescription(
"KKS model kernel (part 1 of 2) for the Bulk Allen-Cahn. This "
20 "includes all terms NOT dependent on chemical potential.");
21 params.addRequiredParam<Real>(
"wi",
"Double well height parameter");
22 params.addRequiredParam<MaterialPropertyName>(
23 "gi_name",
"Base name for the double well function g_i(eta_i)");
29 _wi(getParam<Real>(
"wi")),
30 _prop_dgi(getMaterialPropertyDerivative<Real>(
"gi_name", _etai_name)),
31 _prop_d2gi(getMaterialPropertyDerivative<Real>(
"gi_name", _etai_name, _etai_name))
43 for (
unsigned int n = 0; n <
_num_j; ++n)
55 for (
unsigned int n = 0; n <
_num_j; ++n)
61 mooseError(
"Invalid type passed in");
68 const unsigned int cvar = mapJvarToCvar(jvar);
76 for (
unsigned int n = 0; n <
_num_j; ++n)
86 res +=
_L[_qp] * sum * _phi[_j][_qp] * _test[_i][_qp];
const MaterialProperty< Real > & _prop_d2gi
Second derivative of the double well function .
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
std::vector< std::vector< const MaterialProperty< Real > * > > _prop_dFjdarg
Derivatives of the free energy functions (needed for off-diagonal Jacobians)
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
virtual Real computeDFDOP(PFFunctionType type)
InputParameters validParams< KKSMultiACBulkF >()
std::vector< const MaterialProperty< Real > * > _prop_Fj
Values of the free energy functions for each phase .
std::vector< std::vector< const MaterialProperty< Real > * > > _prop_d2hjdetaidarg
Second derivatives of the switching functions (needed for off-diagonal Jacobians)
Real _wi
double well height parameter
KKSMultiACBulkF(const InputParameters ¶meters)
const MaterialProperty< Real > & _prop_dgi
Derivative of the double well function .
KKSMultiACBulkBase child class for the free energy term in the the Allen-Cahn bulk residual.
std::vector< const MaterialProperty< Real > * > _prop_dhjdetai
Derivatives of the switching functions wrt the order parameter for this kernel.
std::vector< const MaterialProperty< Real > * > _prop_d2hjdetai2
Second derivatives of the switching functions wrt the order parameter for this kernel.
registerMooseObject("PhaseFieldApp", KKSMultiACBulkF)
InputParameters validParams< KKSMultiACBulkBase >()
const MaterialProperty< Real > & _L
Mobility.
unsigned int _etai_var
index of order parameter that derivatives are taken wrt
ACBulk child class that sets up necessary variables and materials for calculation of residual contrib...