19 "Split formulation Cahn-Hilliard Kernel that uses a DerivativeMaterial Free Energy");
21 "f_name",
"Base name of the free energy function F defined in a DerivativeParsedMaterial");
22 params.
addCoupledVar(
"coupled_variables",
"Vector of additional variable arguments to F");
29 _dFdc(getMaterialPropertyDerivative<Real>(
"f_name", _var.
name())),
30 _d2Fdc2(getMaterialPropertyDerivative<Real>(
"f_name", _var.
name(), _var.
name())),
34 for (
unsigned int i = 0; i < _n_args; ++i)
35 _d2Fdcdarg[i] = &getMaterialPropertyDerivative<Real>(
"f_name", _var.name(), i);
46 validateNonlinearCoupling<Real>(
"f_name", _var.name());
47 validateDerivativeMaterialPropertyBase<Real>(
"f_name");
59 return _d2Fdc2[_qp] * _phi[_j][_qp];
72 const unsigned int cvar = mapJvarToCvar(jvar);
74 return (*
_d2Fdcdarg[cvar])[_qp] * _phi[_j][_qp] * _test[_i][_qp];
void mooseError(Args &&... args)
registerMooseObject("PhaseFieldApp", SplitCHParsed)
The couple, SplitCHCRes and SplitCHWRes, splits the CH equation by replacing chemical potential with ...
static InputParameters validParams()
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
CHParsed uses the Free Energy function and derivatives provided by a DerivativeParsedMaterial.
virtual Real computeDFDC(PFFunctionType type)
static InputParameters validParams()
const MaterialProperty< Real > & _d2Fdc2
const MaterialProperty< Real > & _dFdc
virtual void initialSetup()
std::vector< const MaterialProperty< Real > * > _d2Fdcdarg
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
SplitCHParsed(const InputParameters ¶meters)