19 "Material for switching function that prevents formation of a third "
20 "phase at a two-phase interface: $h_i = \\eta_i^2/4 [15 (1-\\eta_i) [1 + "
21 "\\eta_i - (\\eta_k - \\eta_j)^2] + \\eta_i (9\\eta_i^2 - 5)]$");
28 "Use a formulation that constrains the switching function values to [0:1]. This requires the "
29 "Lagrange multiplier to constrain the sum of the switching function, rather than the etas.");
38 if (getParam<bool>(
"constrain_range"))
44 conditional(
eta < 0, 0, conditional(
eta > 1, 1, 3.0 *
pow(
eta, 2) - 2.0 *
pow(
eta, 3)));
ExpressionBuilder::EBTerm pow(const ExpressionBuilder::EBTerm &left, T exponent)
registerMooseObject("PhaseFieldApp", SwitchingFunction3PhaseMaterial)
static InputParameters validParams()
User facing host object for a function. This combines a term with an argument list.
User facing host object for an expression tree.
void functionParse(const std::string &function_expression)
Material class to provide switching functions that prevent formation of a third phase at a two-phase ...
EBTerm _eta_i
Coupled variable values for order parameters.
SwitchingFunction3PhaseMaterial(const InputParameters ¶meters)
static InputParameters validParams()