www.mooseframework.org
Functions
KKSPhaseChemicalPotential.C File Reference

Go to the source code of this file.

Functions

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

Function Documentation

◆ registerMooseObject()

registerMooseObject ( "PhaseFieldApp"  ,
KKSPhaseChemicalPotential   
)

◆ validParams< KKSPhaseChemicalPotential >()

template<>
InputParameters validParams< KKSPhaseChemicalPotential > ( )

Definition at line 19 of file KKSPhaseChemicalPotential.C.

20 {
21  InputParameters params = validParams<Kernel>();
22  params.addClassDescription("KKS model kernel to enforce the pointwise equality of phase chemical "
23  "potentials dFa/dca = dFb/dcb. The non-linear variable of this "
24  "kernel is ca.");
25  params.addRequiredCoupledVar(
26  "cb", "Phase b concentration"); // note that ca is u, the non-linear variable!
27  params.addRequiredParam<MaterialPropertyName>("fa_name",
28  "Base name of the free energy function "
29  "Fa (f_name in the corresponding "
30  "derivative function material)");
31  params.addRequiredParam<MaterialPropertyName>("fb_name",
32  "Base name of the free energy function "
33  "Fb (f_name in the corresponding "
34  "derivative function material)");
35  params.addParam<Real>("ka",
36  1.0,
37  "Site fraction for the ca variable (specify this if ca is a sublattice "
38  "concentration, and make sure it is a true site fraction eg. 0.6666666) ");
39  params.addParam<Real>("kb",
40  1.0,
41  "Site fraction for the cb variable (specify this if ca is a sublattice "
42  "concentration, and make sure it is a true site fraction eg. 0.6666666) ");
43  params.addCoupledVar(
44  "args_a",
45  "Vector of further parameters to Fa (optional, to add in second cross derivatives of Fa)");
46  params.addCoupledVar(
47  "args_b",
48  "Vector of further parameters to Fb (optional, to add in second cross derivatives of Fb)");
49  return params;
50 }