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

Go to the source code of this file.

Classes

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...
 

Functions

template<>
InputParameters validParams< GasFreeEnergyBase > ()
 

Function Documentation

template<>
InputParameters validParams< GasFreeEnergyBase > ( )

Definition at line 11 of file GasFreeEnergyBase.C.

Referenced by validParams< IdealGasFreeEnergy >(), and validParams< VanDerWaalsFreeEnergy >().

12 {
13  InputParameters params = validParams<DerivativeParsedMaterialHelper>();
14  params.addRequiredCoupledVar("T", "Temperature");
15  // MooseEnum molecule("MONOATOMIC DIATOMIC", "MONOATOMIC");
16  // params.addParam<MooseEnum>("molecule", molecule, "Gas molecule size");
17  params.addRequiredCoupledVar("c", "Concentration variable");
18  params.addRequiredParam<Real>(
19  "omega", "Lattice site volume (default mass_unit_conversion requires this to be in [Ang^3])");
20  params.addRequiredParam<Real>(
21  "m", "Gas atom mass (the default mass_unit_conversion requires this to be in [u])");
22  params.addParam<Real>("mass_unit_conversion",
23  1.0364271410595204e-28,
24  "Conversion factor to get the gas atom mass in [eV*s^2/Ang^2] (defaults "
25  "to [eV*s^2/(Ang^2*u)])");
26  params.addParam<Real>("h",
27  4.135667662e-15,
28  "Planck constant - units need to be consistent with "
29  "the units of omega (default in [eV*s])");
30  params.addParam<Real>("kB", 8.6173303e-5, "Boltzmann constant (default in [eV/K])");
31  params.addParamNamesToGroup("mass_unit_conversion h kB", "Units");
32  return params;
33 }
InputParameters validParams< DerivativeParsedMaterialHelper >()