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

Go to the source code of this file.

Classes

class  KKSPhaseChemicalPotential
 Enforce the equality of the chemical potentials in the two phases. More...
 

Functions

template<>
InputParameters validParams< KKSPhaseChemicalPotential > ()
 

Function Documentation

template<>
InputParameters validParams< KKSPhaseChemicalPotential > ( )

Definition at line 14 of file KKSPhaseChemicalPotential.C.

15 {
16  InputParameters params = validParams<Kernel>();
17  params.addClassDescription("KKS model kernel to enforce the pointwise equality of phase chemical "
18  "potentials dFa/dca = dFb/dcb. The non-linear variable of this "
19  "kernel is ca.");
20  params.addRequiredCoupledVar(
21  "cb", "Phase b concentration"); // note that ca is u, the non-linear variable!
22  params.addRequiredParam<MaterialPropertyName>("fa_name",
23  "Base name of the free energy function "
24  "Fa (f_name in the corresponding "
25  "derivative function material)");
26  params.addRequiredParam<MaterialPropertyName>("fb_name",
27  "Base name of the free energy function "
28  "Fb (f_name in the corresponding "
29  "derivative function material)");
30  params.addCoupledVar(
31  "args_a",
32  "Vector of further parameters to Fa (optional, to add in second cross derivatives of Fa)");
33  params.addCoupledVar(
34  "args_b",
35  "Vector of further parameters to Fb (optional, to add in second cross derivatives of Fb)");
36  return params;
37 }