www.mooseframework.org
Functions
GrandPotentialInterface.C File Reference

Go to the source code of this file.

Functions

 registerMooseObject ("PhaseFieldApp", GrandPotentialInterface)
 
template<>
InputParameters validParams< GrandPotentialInterface > ()
 

Function Documentation

◆ registerMooseObject()

registerMooseObject ( "PhaseFieldApp"  ,
GrandPotentialInterface   
)

◆ validParams< GrandPotentialInterface >()

template<>
InputParameters validParams< GrandPotentialInterface > ( )

Definition at line 19 of file GrandPotentialInterface.C.

20 {
21  InputParameters params = validParams<Material>();
22  params.addClassDescription("Calculate Grand Potential interface parameters for a specified "
23  "interfacial free energy and width");
24  params.addRequiredParam<std::vector<Real>>("sigma", "Interfacial free energies");
25  params.addRequiredRangeCheckedParam<Real>(
26  "width", "width > 0", "Interfacial width (for the interface with gamma = 1.5)");
27  params.addParam<std::vector<MaterialPropertyName>>(
28  "gamma_names",
29  "Interfacial / grain boundary gamma parameter names (leave empty for gamma0... gammaN)");
30  params.addParam<MaterialPropertyName>("kappa_name", "kappa", "Gradient interface parameter name");
31  params.addParam<MaterialPropertyName>("mu_name", "mu", "Grain growth bulk energy parameter name");
32  params.addParam<unsigned int>(
33  "sigma_index",
34  "Sigma index to choose gamma = 1.5 for. Omit this to automatically chose the median sigma.");
35  params.addParamNamesToGroup("mu_name sigma_index", "Advanced");
36  return params;
37 }