Go to the documentation of this file.
19 params.addClassDescription(
"Free energy of a Van der Waals gas.");
20 params.addRequiredParam<Real>(
"a",
21 "Van der Waals coefficient a (default mass_unit_conversion "
22 "requires this to be in [eV*Ang^3])");
23 params.addRequiredParam<Real>(
"b",
24 "Van der Waals molecular exclusion volume b (default "
25 "mass_unit_conversion requires this to be in [Ang^3])");
26 params.addParam<Real>(
"log_tol",
28 "The logarithm in the free energy is evaluated using a Taylor expansion "
29 "below this value. This allows formulating free energies for systems where "
30 "the molecular volume is smaller than the exclusion volume b.");
36 _a(getParam<Real>(
"a")),
37 _b(getParam<Real>(
"b")),
38 _log_tol(getParam<Real>(
"log_tol"))
46 functionParse(free_energy);
User facing host object for a function. This combines a term with an argument list.
VanDerWaalsFreeEnergy(const InputParameters ¶meters)
const EBTerm _n
gas number density n = N/V = c/Omega (where Omega is the lattice site volume)
const Real _log_tol
Taylor expansion threshold for the logarithm in the free energy.
const EBTerm _nq
quantum concentration
InputParameters validParams< GasFreeEnergyBase >()
const EBTerm _T
Coupled variable value for the Temperature.
const EBTerm _c
Coupled variable value for the concentration .
const Real _a
Van der Waals coefficient a in [eV*Ang^3] (default units)
InputParameters validParams< VanDerWaalsFreeEnergy >()
registerMooseObject("PhaseFieldApp", VanDerWaalsFreeEnergy)
Material class that provides the free energy of a Van der Waals gas with the expression builder and u...
Material class that provides the free energy of an ideal gas with the expression builder and uses aut...