19 "Cahn-Hilliard kernel for a polynomial phase field crystal free energy.");
25 _C0(getMaterialProperty<
Real>(
"C0")),
26 _a(getMaterialProperty<
Real>(
"a")),
27 _b(getMaterialProperty<
Real>(
"b"))
34 Real d2fdc2 = 1.0 -
_C0[_qp] -
_a[_qp] * _u[_qp] +
_b[_qp] * _u[_qp] * _u[_qp];
39 return d2fdc2 * _grad_u[_qp];
43 Real d3fdc3 = -
_a[_qp] + 2.0 *
_b[_qp] * _u[_qp];
44 return d2fdc2 * _grad_phi[_j][_qp] + d3fdc3 * _grad_u[_qp] * _phi[_j][_qp];
static InputParameters validParams()
void mooseError(Args &&... args)
This is the Cahn-Hilliard equation base class that implements the bulk or local energy term of the eq...
const MaterialProperty< Real > & _a
virtual RealGradient computeGradDFDCons(PFFunctionType type)
const MaterialProperty< Real > & _b
CHBulkPFCTrad(const InputParameters ¶meters)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
static InputParameters validParams()
registerMooseObject("PhaseFieldApp", CHBulkPFCTrad)
const MaterialProperty< Real > & _C0