21 params.
addParam<Real>(
"en_ratio", 1.0,
"Ratio of surface energy to GB energy");
26 :
ACBulk<Real>(parameters),
27 _c(coupledValue(
"c")),
29 _mu(getMaterialProperty<Real>(
"mu")),
30 _gamma(getMaterialProperty<Real>(
"gamma_asymm")),
31 _en_ratio(getParam<Real>(
"en_ratio"))
49 return mult * _u[_qp] *
c *
c;
52 return mult * _phi[_j][_qp] *
c *
c;
70 Real dDFDOP = 2.0 * mult * _u[_qp] *
c * _phi[_j][_qp];
72 return _L[_qp] * _test[_i][_qp] * dDFDOP;
registerMooseObject("PhaseFieldApp", ACGBPoly)
void mooseError(Args &&... args)
This is the Allen-Cahn equation base class that implements the bulk or local energy term of the equat...
const MaterialProperty< Real > & _L
Mobility.
static InputParameters validParams()
virtual Real computeDFDOP(PFFunctionType type)
const MaterialProperty< Real > & _gamma
ACGBPoly(const InputParameters ¶meters)
const MaterialProperty< Real > & _mu
static InputParameters validParams()
virtual Real computeQpOffDiagJacobian(unsigned int jvar)