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

Go to the source code of this file.

Classes

class  RegularSolutionFreeEnergy
 Material class that creates regular solution free energy with the expression builder and uses automatic differentiation to get the derivatives \( F = \frac14 \omega c(1 - c) + k_bT (c\log c + (1 - c)\log(1 - c))\). More...
 

Functions

template<>
InputParameters validParams< RegularSolutionFreeEnergy > ()
 

Function Documentation

template<>
InputParameters validParams< RegularSolutionFreeEnergy > ( )

Definition at line 11 of file RegularSolutionFreeEnergy.C.

12 {
13  InputParameters params = validParams<DerivativeParsedMaterialHelper>();
14  params.addClassDescription("Material that implements the free energy of a regular solution");
15  params.addRequiredCoupledVar("c", "Concentration variable");
16  params.addCoupledVar("T", 300, "Temperature variable");
17  params.addParam<Real>("omega", 0.1, "Regular solution parameter");
18  params.addParam<Real>("kB", 8.6173324e-5, "Boltzmann constant");
19  params.addParam<Real>(
20  "log_tol", "If specified logarithms are evaluated using a Taylor expansion below this value");
21  return params;
22 }
InputParameters validParams< DerivativeParsedMaterialHelper >()