22 "anisotropy_strength", 0.04,
"Strength of the anisotropy (typically < 0.05)");
23 params.
addParam<
unsigned int>(
"mode_number", 6,
"Mode number for anisotropy");
25 "reference_angle", 90,
"Reference angle for defining anisotropy in degrees");
26 params.
addParam<
Real>(
"eps_bar", 0.01,
"Average value of the interface parameter epsilon");
33 _delta(getParam<
Real>(
"anisotropy_strength")),
34 _j(getParam<unsigned
int>(
"mode_number")),
35 _theta0(getParam<
Real>(
"reference_angle")),
36 _eps_bar(getParam<
Real>(
"eps_bar")),
37 _eps(declareADProperty<
Real>(
"eps")),
38 _deps(declareADProperty<
Real>(
"deps")),
39 _op(adCoupledValue(
"op")),
40 _grad_op(adCoupledGradient(
"op"))
44 mooseError(
"ADInterfaceOrientationMaterial requires a two-dimensional mesh.");
50 using std::max, std::min, std::sqrt, std::acos, std::cos, std::sin;
ADMaterialProperty< Real > & _deps
CTSub CT_OPERATOR_BINARY CTMul CTCompareLess CTCompareGreater CTCompareEqual _arg template * sin(_arg) *_arg.template D< dtag >()) CT_SIMPLE_UNARY_FUNCTION(tan
const ADVariableGradient & _grad_op
Material to compute the angular orientation of order parameter interfaces.
auto max(const L &left, const R &right)
CTSub CT_OPERATOR_BINARY CTMul CTCompareLess CTCompareGreater CTCompareEqual _arg template cos(_arg) *_arg.template D< dtag >()) CT_SIMPLE_UNARY_FUNCTION(cos
virtual void computeQpProperties()
static InputParameters validParams()
virtual unsigned int dimension() const
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
CTSub CT_OPERATOR_BINARY CTMul CTCompareLess CTCompareGreater CTCompareEqual _arg template * sqrt(_arg)) *_arg.template D< dtag >()) CT_SIMPLE_UNARY_FUNCTION(tanh
registerMooseObject("PhaseFieldApp", ADInterfaceOrientationMaterial)
ADMaterialProperty< Real > & _eps
void mooseError(Args &&... args) const
static InputParameters validParams()
ADInterfaceOrientationMaterial(const InputParameters ¶meters)
auto min(const L &left, const R &right)
void ErrorVector unsigned int