19 "Gradient energy Allen-Cahn Kernel where the derivative of interface parameter kappa " 20 "wrt the gradient of order parameter is considered.");
21 params.
addParam<MaterialPropertyName>(
"dkappadgrad_etaa_name",
23 "The derivative of the kappa with respect to grad_etaa");
24 params.
addParam<MaterialPropertyName>(
25 "d2kappadgrad_etaa_name",
27 "The second derivative of the kappa with respect to grad_etaa");
29 "etas",
"All other coupled order parameters eta_i of the multiphase problem");
35 _dkappadgrad_etaa(getMaterialProperty<
RealGradient>(
"dkappadgrad_etaa_name")),
36 _d2kappadgrad_etaa(getMaterialProperty<
RealTensorValue>(
"d2kappadgrad_etaa_name")),
37 _num_etas(coupledComponents(
"etas")),
48 for (
unsigned int i = 0; i <
_num_etas; ++i)
53 return SumSquareGradOp;
74 for (
unsigned int i = 0; i <
_n_args; ++i)
83 return jac1 + jac2 + jac3;
101 for (
unsigned int i = 0; i <
_n_args; ++i)
114 return jac1 + jac2 + jac3;
unsigned int _num_etas
Order parameters.
const VariableGradient & _grad_u
static InputParameters validParams()
const VariablePhiGradient & _grad_phi
std::vector< const VariableGradient * > _gradarg
Gradients for all coupled variables.
static InputParameters validParams()
const bool _variable_L
flag set if L is a function of non-linear variables in args
RealGradient nablaLPsi()
the term
virtual const VariableGradient & coupledGradient(const std::string &var_name, unsigned int comp=0) const
const MaterialProperty< Real > & _dLdop
Mobility derivatives w.r.t. order parameter.
std::vector< const MaterialProperty< Real > * > _d2Ldargdop
TensorValue< Real > RealTensorValue
const MaterialProperty< RealTensorValue > & _d2kappadgrad_etaa
const VariableTestValue & _test
ACInterface2DMultiPhase1(const InputParameters ¶meters)
registerMooseObject("PhaseFieldApp", ACInterface2DMultiPhase1)
Compute the Allen-Cahn interface term with the weak form residual .
virtual Real computeQpJacobian()
virtual Real computeQpResidual()
std::vector< const MaterialProperty< Real > * > _dLdarg
Mobility derivative w.r.t. other coupled variables.
std::vector< std::vector< const MaterialProperty< Real > * > > _d2Ldarg2
unsigned int mapJvarToCvar(unsigned int jvar)
const MaterialProperty< RealGradient > & _dkappadgrad_etaa
Interfacial parameter.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Compute the Allen-Cahn interface term with the weak form residual .
std::vector< const VariableGradient * > _grad_eta
const VariableTestGradient & _grad_test
const MaterialProperty< Real > & _d2Ldop2
const unsigned int _n_args
const VariablePhiValue & _phi
virtual Real computeQpOffDiagJacobian(unsigned int jvar)