20 params.addClassDescription(
"Grain-Boundary model concentration dependent residual");
21 params.addRequiredCoupledVar(
"c",
"Other species concentration");
22 params.addParam<Real>(
"en_ratio", 1.0,
"Ratio of surface energy to GB energy");
27 :
ACBulk<Real>(parameters),
28 _c(coupledValue(
"c")),
30 _mu(getMaterialProperty<Real>(
"mu")),
31 _gamma(getMaterialProperty<Real>(
"gamma_asymm")),
32 _en_ratio(getParam<Real>(
"en_ratio"))
50 return mult * _u[_qp] * c * c;
53 return mult * _phi[_j][_qp] * c * c;
56 mooseError(
"Invalid type passed in");
71 Real dDFDOP = 2.0 * mult * _u[_qp] * c * _phi[_j][_qp];
73 return _L[_qp] * _test[_i][_qp] * dDFDOP;