Classes | Functions
CHPFCRFF.h File Reference

Go to the source code of this file.


 This kernel calculates the main portion of the cahn-hilliard residual for the RFF form of the phase field crystal model. More...


InputParameters validParams< CHPFCRFF > ()

Function Documentation

InputParameters validParams< CHPFCRFF > ( )

Definition at line 13 of file CHPFCRFF.C.

14 {
15  InputParameters params = validParams<Kernel>();
16  params.addClassDescription(
17  "Cahn-Hilliard residual for the RFF form of the phase field crystal model");
18  params.addRequiredCoupledVar("v", "Array of names of the real parts of the L variables");
19  MooseEnum log_options("tolerance cancelation expansion nothing");
20  params.addRequiredParam<MooseEnum>(
21  "log_approach", log_options, "Which approach will be used to handle the natural log");
22  params.addParam<Real>("tol", 1.0e-9, "Tolerance used when the tolerance approach is chosen");
23  params.addParam<Real>(
24  "n_exp_terms", 4, "Number of terms used in the Taylor expansion of the natural log term");
25  params.addParam<MaterialPropertyName>("mob_name", "M", "The mobility used with the kernel");
26  params.addParam<MaterialPropertyName>("Dmob_name", "DM", "The D mobility used with the kernel");
27  params.addParam<bool>("has_MJac", false, "Jacobian information for the mobility is defined");
28  params.addParam<Real>("a", 1.0, "Constants on Taylor Series");
29  params.addParam<Real>("b", 1.0, "Constants on Taylor Series");
30  params.addParam<Real>("c", 1.0, "Constants on Taylor Series");
31  return params;
32 }