19 "polynomial.\nSIMPLE: $\\eta^2(1-\\eta)^2$\nLOW: $\\eta(1-\\eta)$" 20 "\nHIGH: $\\eta^2(1-\\eta^2)^2$");
21 MooseEnum g_order(
"SIMPLE=0 LOW HIGH",
"SIMPLE");
22 params.
addParam<
MooseEnum>(
"g_order", g_order,
"Polynomial order of the barrier function g(eta)");
25 "Make the g zero in [0:1] so it only contributes to " 26 "enforcing the eta range and not to the phase " 27 "transformation barrier.");
28 params.
set<std::string>(
"function_name") = std::string(
"g");
35 _well_only(getParam<bool>(
"well_only"))
56 _prop_df[
_qp] = 2.0 * n * (n - 1.0) * (2.0 * n - 1.0);
67 _prop_f[
_qp] = n * n * (1.0 - n * n) * (1.0 - n * n);
68 _prop_df[
_qp] = n * (2.0 - n * n * (8.0 + 6.0 * n * n));
MooseEnum _g_order
Polynomial order of the switching function .
static InputParameters validParams()
registerMooseObject("PhaseFieldApp", BarrierFunctionMaterial)
Material base class for materials that provide the switching function or the double well function ...
MaterialProperty< Real > & _prop_d2f
Material property to store the second derivative .
bool _well_only
zero out g contribution in the eta interval [0:1]
MaterialProperty< Real > & _prop_df
Material property to store the derivative .
Material class to provide the double well function for the KKS system.
static InputParameters validParams()
BarrierFunctionMaterial(const InputParameters ¶meters)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
MaterialProperty< Real > & _prop_f
Material property to store .
virtual void computeQpProperties()
void mooseError(Args &&... args) const
const VariableValue & _eta
Coupled variable value for the order parameter .