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

Go to the source code of this file.

Classes

class  VanDerWaalsFreeEnergy
 Material class that provides the free energy of a Van der Waals gas with the expression builder and uses automatic differentiation to get the derivatives. More...
 

Functions

template<>
InputParameters validParams< VanDerWaalsFreeEnergy > ()
 

Function Documentation

◆ validParams< VanDerWaalsFreeEnergy >()

template<>
InputParameters validParams< VanDerWaalsFreeEnergy > ( )

Definition at line 16 of file VanDerWaalsFreeEnergy.C.

17 {
18  InputParameters params = validParams<GasFreeEnergyBase>();
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",
27  0.1,
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.");
31  return params;
32 }
validParams< GasFreeEnergyBase >
InputParameters validParams< GasFreeEnergyBase >()
Definition: GasFreeEnergyBase.C:14