Go to the documentation of this file.
19 params.addClassDescription(
20 "Gradient energy Allen-Cahn Kernel where the interface parameter kappa is considered.");
21 params.addParam<MaterialPropertyName>(
"dkappadgrad_etaa_name",
23 "The derivative of the kappa with respect to grad_etaa");
29 _dkappadgrad_etaa(getMaterialProperty<
RealGradient>(
"dkappadgrad_etaa_name"))
43 _grad_phi[_j][_qp] *
_dLdop[_qp] + _grad_u[_qp] * _phi[_j][_qp] *
_d2Ldop2[_qp];
45 for (
unsigned int i = 0; i <
_nvar; ++i)
48 dsum += dgradL * _test[_i][_qp];
50 Real jac1 = dsum *
_kappa[_qp] * _grad_u[_qp];
53 return jac1 + jac2 + jac3;
60 const unsigned int cvar = mapJvarToCvar(jvar);
69 _grad_u[_qp] * _phi[_j][_qp] * (*
_d2Ldargdop[cvar])[_qp];
71 for (
unsigned int i = 0; i <
_nvar; ++i)
74 dsum += dgradL * _test[_i][_qp];
77 Real jac1 = dsum *
_kappa[_qp] * _grad_u[_qp];
std::vector< const VariableGradient * > _gradarg
Gradients for all coupled variables.
const bool _variable_L
flag set if L is a function of non-linear variables in args
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
virtual Real computeQpJacobian()
VectorValue< Real > RealGradient
RealGradient nablaLPsi()
the term
InputParameters validParams< ACInterface >()
const unsigned int _nvar
number of coupled variables
std::vector< const MaterialProperty< Real > * > _d2Ldargdop
InputParameters validParams< ACInterface2DMultiPhase2 >()
const MaterialProperty< RealGradient > & _dkappadgrad_etaa
Interfacial parameter.
const MaterialProperty< Real > & _kappa
Interfacial parameter.
std::vector< const MaterialProperty< Real > * > _dLdarg
Mobility derivative w.r.t. other coupled variables.
std::vector< std::vector< const MaterialProperty< Real > * > > _d2Ldarg2
Compute the Allen-Cahn interface term with the weak form residual It is assumed kappa is a function ...
const MaterialProperty< Real > & _dLdop
Mobility derivatives w.r.t. order parameter.
Compute the Allen-Cahn interface term with the weak form residual .
registerMooseObject("PhaseFieldApp", ACInterface2DMultiPhase2)
ACInterface2DMultiPhase2(const InputParameters ¶meters)
const MaterialProperty< Real > & _d2Ldop2