https://mooseframework.inl.gov
ACInterfaceChangedVariable.C
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
11 
13 
15 
18 {
20  params.addClassDescription("Gradient energy Allen-Cahn Kernel using a change of variable");
21  params.addRequiredParam<MaterialPropertyName>(
22  "order_parameter", "Order parameter material defnining the change of variable function");
23  return params;
24 }
25 
27  : ACInterface(parameters),
28  _dopdu(getMaterialPropertyDerivative<Real>("order_parameter", _var.name())),
29  _d2opdu2(getMaterialPropertyDerivative<Real>("order_parameter", _var.name(), _var.name()))
30 {
31 }
32 
33 void
35 {
36  validateCoupling<Real>("order_parameter");
37 }
38 
39 Real
41 {
43 }
44 
45 Real
47 {
50 }
static InputParameters validParams()
Definition: ACInterface.C:15
registerMooseObject("PhaseFieldApp", ACInterfaceChangedVariable)
Considers cleavage plane anisotropy in the crack propagation.
virtual Real computeQpJacobian()
Definition: ACInterface.C:112
const MaterialProperty< Real > & _d2opdu2
2nd order parameter derivative
void addRequiredParam(const std::string &name, const std::string &doc_string)
Compute the Allen-Cahn interface term with the weak form residual .
Definition: ACInterface.h:20
const std::string name
Definition: Setup.h:20
const MaterialProperty< Real > & _dopdu
Order parameter derivative.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
void addClassDescription(const std::string &doc_string)
ACInterfaceChangedVariable(const InputParameters &parameters)
Considers cleavage plane anisotropy in the crack propagation.
virtual Real computeQpResidual()
Definition: ACInterface.C:106
static InputParameters validParams()