20 params.
addClassDescription(
"This kernel calculates off-diagonal Jacobian of elastic energy in " 21 "AllenCahn with respect to displacements");
23 "The vector of displacements suitable for the problem statement");
24 params.
addParam<MaterialPropertyName>(
25 "F_name",
"E_el",
"Name of material property storing the elastic energy");
26 params.
addParam<MaterialPropertyName>(
"mob_name",
"L",
"The mobility used with the kernel");
32 _L(getMaterialProperty<
Real>(
"mob_name")),
33 _disp_map(getParameterJvarMap(
"displacements")),
34 _d2Fdcdstrain(getMaterialProperty<
RankTwoTensor>(
"d2Fdcdstrain"))
45 const Real d2Fdcdstrain_comp =
48 return dxddFdc * d2Fdcdstrain_comp;
const MaterialProperty< RankTwoTensor > & _d2Fdcdstrain
Free energy material properties and derivatives.
static InputParameters validParams()
static InputParameters validParams()
const VariablePhiGradient & _grad_phi
const VariableTestValue & _test
unsigned int mapJvarToCvar(unsigned int jvar)
JvarMap _disp_map
Displacement variables used for off-diagonal Jacobian.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
AllenCahnElasticEnergyOffDiag(const InputParameters ¶meters)
This kernel computes the off-diagonal jacobian of elastic energy in AllenCahn respect to displacement...
const MaterialProperty< Real > & _L
Mobility.
registerMooseObject("PhaseFieldApp", AllenCahnElasticEnergyOffDiag)
virtual Real computeQpOffDiagJacobian(unsigned int jvar) override