Go to the source code of this file.
|
class | GasFreeEnergyBase |
| Material class that provides the free energy of an ideal gas with the expression builder and uses automatic differentiation to get the derivatives. More...
|
|
◆ validParams< GasFreeEnergyBase >()
Definition at line 14 of file GasFreeEnergyBase.C.
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");
Referenced by validParams< IdealGasFreeEnergy >(), and validParams< VanDerWaalsFreeEnergy >().