https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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
33void
35{
36 validateCoupling<Real>("order_parameter");
37}
38
39Real
44
45Real
registerMooseObject("PhaseFieldApp", ACInterfaceChangedVariable)
Considers cleavage plane anisotropy in the crack propagation.
const std::string name
Definition Setup.h:21
Considers cleavage plane anisotropy in the crack propagation.
ACInterfaceChangedVariable(const InputParameters &parameters)
static InputParameters validParams()
const MaterialProperty< Real > & _dopdu
Order parameter derivative.
const MaterialProperty< Real > & _d2opdu2
2nd order parameter derivative
Compute the Allen-Cahn interface term with the weak form residual .
Definition ACInterface.h:21
virtual Real computeQpResidual()
virtual Real computeQpJacobian()
static InputParameters validParams()
Definition ACInterface.C:15
void addRequiredParam(const std::string &name, const std::string &doc_string)
void addClassDescription(const std::string &doc_string)