16 InputParameters params = validParams<DerivativeParsedMaterialHelper>();
17 params.addRequiredCoupledVar(
"T",
"Temperature");
20 params.addRequiredCoupledVar(
"c",
"Concentration variable");
21 params.addRequiredParam<Real>(
22 "omega",
"Lattice site volume (default mass_unit_conversion requires this to be in [Ang^3])");
23 params.addRequiredParam<Real>(
24 "m",
"Gas atom mass (the default mass_unit_conversion requires this to be in [u])");
25 params.addParam<Real>(
"mass_unit_conversion",
26 1.0364271410595204e-28,
27 "Conversion factor to get the gas atom mass in [eV*s^2/Ang^2] (defaults "
28 "to [eV*s^2/(Ang^2*u)])");
29 params.addParam<Real>(
"h",
31 "Planck constant - units need to be consistent with "
32 "the units of omega (default in [eV*s])");
33 params.addParam<Real>(
"kB", 8.6173303e-5,
"Boltzmann constant (default in [eV/K])");
34 params.addParamNamesToGroup(
"mass_unit_conversion h kB",
"Units");
39 : DerivativeParsedMaterialHelper(parameters),
42 _omega(getParam<Real>(
"omega")),
43 _m(getParam<Real>(
"m") * getParam<Real>(
"mass_unit_conversion")),
44 _h(getParam<Real>(
"h")),
45 _kB(getParam<Real>(
"kB")),
47 _nq(
pow(2.0 *
libMesh::pi * _m * _kB * _T / (_h * _h), 3.0 / 2.0))