16 params.
addClassDescription(
"KKS model kernel for the Bulk Allen-Cahn. This operates on the order " 17 "parameter 'eta' as the non-linear variable");
20 "Base name of the free energy function F (f_base in the corresponding KKSBaseMaterial)");
21 params.
addParam<MaterialPropertyName>(
22 "h_name",
"h",
"Base name for the switching function h(eta)");
29 _eta_name(_var.
name()),
30 _prop_Fa(getMaterialProperty<
Real>(
"fa_name")),
31 _prop_dFa(getMaterialPropertyDerivative<
Real>(
"fa_name", _eta_name)),
32 _prop_dh(getMaterialPropertyDerivative<
Real>(
"h_name", _eta_name)),
33 _prop_d2h(getMaterialPropertyDerivative<
Real>(
"h_name", _eta_name, _eta_name))
41 for (
unsigned int i = 0; i < _n_args; ++i)
44 _derivatives_Fa[i] = &getMaterialPropertyDerivative<Real>(
"fa_name", i);
45 _derivatives_Fb[i] = &getMaterialPropertyDerivative<Real>(
"fb_name", i);
48 _grad_args[i] = &(_coupled_standard_moose_vars[i]->gradSln());
56 validateNonlinearCoupling<Real>(
"fa_name");
57 validateNonlinearCoupling<Real>(
"fb_name");
KKSACBulkBase(const InputParameters ¶meters)
virtual void initialSetup()
virtual void initialSetup()
static InputParameters validParams()
This is the Allen-Cahn equation base class that implements the bulk or local energy term of the equat...
std::vector< const VariableGradient * > _grad_args
Gradients for all coupled variables.
std::vector< const MaterialProperty< Real > * > _derivatives_Fa
Derivatives of with respect to all coupled variables.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
static InputParameters validParams()
std::vector< const MaterialProperty< Real > * > _derivatives_Fb
Derivatives of with respect to all coupled variables.