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(
"args",
"Vector of additional variable arguments to F");
30 _dFdc(getMaterialPropertyDerivative<
Real>(
"f_name", _var.
name())),
31 _d2Fdc2(getMaterialPropertyDerivative<
Real>(
"f_name", _var.
name(), _var.
name())),
35 for (
unsigned int i = 0; i < _n_args; ++i)
36 _d2Fdcdarg[i] = &getMaterialPropertyDerivative<Real>(
"f_name", _var.name(), i);
47 validateNonlinearCoupling<Real>(
"f_name", _var.name());
48 validateDerivativeMaterialPropertyBase<Real>(
"f_name");
60 return _d2Fdc2[_qp] * _phi[_j][_qp];
73 const unsigned int cvar = mapJvarToCvar(jvar);
75 return (*
_d2Fdcdarg[cvar])[_qp] * _phi[_j][_qp] * _test[_i][_qp];
registerMooseObject("PhaseFieldApp", SplitCHParsed)
void mooseError(Args &&... args)
const MaterialProperty< Real > & _d2Fdc2
virtual void initialSetup()
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
static InputParameters validParams()
const MaterialProperty< Real > & _dFdc
std::vector< const MaterialProperty< Real > * > _d2Fdcdarg
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
CHParsed uses the Free Energy function and derivatives provided by a DerivativeParsedMaterial.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual Real computeDFDC(PFFunctionType type)
SplitCHParsed(const InputParameters ¶meters)
The couple, SplitCHCRes and SplitCHWRes, splits the CH equation by replacing chemical potential with ...
static InputParameters validParams()