www.mooseframework.org
Functions
DerivativeTwoPhaseMaterial.C File Reference

Go to the source code of this file.

Functions

template<>
InputParameters validParams< DerivativeTwoPhaseMaterial > ()
 

Function Documentation

template<>
InputParameters validParams< DerivativeTwoPhaseMaterial > ( )

Definition at line 11 of file DerivativeTwoPhaseMaterial.C.

12 {
13  InputParameters params = validParams<DerivativeFunctionMaterialBase>();
14  params.addClassDescription(
15  "Two phase material that combines two single phase materials using a switching function.");
16 
17  // Two base materials
18  params.addRequiredParam<MaterialPropertyName>("fa_name", "Phase A material (at eta=0)");
19  params.addRequiredParam<MaterialPropertyName>("fb_name", "Phase A material (at eta=1)");
20  params.addParam<MaterialPropertyName>(
21  "h", "h", "Switching Function Material that provides h(eta)");
22  params.addParam<MaterialPropertyName>("g", "g", "Barrier Function Material that provides g(eta)");
23 
24  // All arguments of the phase free energies
25  params.addCoupledVar("args", "Arguments of fa and fb - use vector coupling");
26  params.addCoupledVar("displacement_gradients",
27  "Vector of displacement gradient variables (see "
28  "Modules/PhaseField/DisplacementGradients "
29  "action)");
30 
31  // Order parameter which determines the phase
32  params.addRequiredCoupledVar("eta", "Order parameter");
33 
34  // Variables with applied tolerances and their tolerance values
35  params.addParam<Real>("W", 0.0, "Energy barrier for the phase transformation from A to B");
36 
37  return params;
38 }
InputParameters validParams< DerivativeFunctionMaterialBase >()