www.mooseframework.org
Classes | Functions
SwitchingFunction3PhaseMaterial.h File Reference

Go to the source code of this file.

Classes

class  SwitchingFunction3PhaseMaterial
 Material class to provide switching functions that prevent formation of a third phase at a two-phase interface. More...
 

Functions

template<>
InputParameters validParams< SwitchingFunction3PhaseMaterial > ()
 

Function Documentation

◆ validParams< SwitchingFunction3PhaseMaterial >()

template<>
InputParameters validParams< SwitchingFunction3PhaseMaterial > ( )

Definition at line 16 of file SwitchingFunction3PhaseMaterial.C.

17 {
18  InputParameters params = validParams<DerivativeParsedMaterialHelper>();
19  params.addClassDescription("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 * (9eta_i^2 - 5)]");
22  params.addRequiredCoupledVar("eta_i", "Order parameter i");
23  params.addRequiredCoupledVar("eta_j", "Order parameter j");
24  params.addRequiredCoupledVar("eta_k", "Order parameter k");
25  params.addParam<bool>(
26  "constrain_range",
27  false,
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.");
30  return params;
31 }