Go to the source code of this file.
|
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...
|
|
◆ validParams< RegularSolutionFreeEnergy >()
Definition at line 16 of file RegularSolutionFreeEnergy.C.
18 InputParameters params = validParams<DerivativeParsedMaterialHelper>();
19 params.addClassDescription(
"Material that implements the free energy of a regular solution");
20 params.addRequiredCoupledVar(
"c",
"Concentration variable");
21 params.addCoupledVar(
"T", 300,
"Temperature variable");
22 params.addParam<Real>(
"omega", 0.1,
"Regular solution parameter");
23 params.addParam<Real>(
"kB", 8.6173324e-5,
"Boltzmann constant");
24 params.addParam<Real>(
25 "log_tol",
"If specified logarithms are evaluated using a Taylor expansion below this value");