19 "Phase field parameters for polynomial free energy for single component systems");
23 "int_width",
"The interfacial width of void surface in the length scale of the problem");
25 "length_scale", 1.0e-9,
"defines the base length scale of the problem in m");
26 params.
addParam<
Real>(
"time_scale", 1.0e-9,
"defines the base time scale of the problem");
29 "polynomial_order", poly_order,
"Order of polynomial free energy");
39 _c(coupledValue(
"c")),
40 _T(coupledValue(
"T")),
41 _M(declareProperty<
Real>(
"M")),
43 _kappa(declareProperty<
Real>(
"kappa")),
44 _c_eq(declareProperty<
Real>(
"c_eq")),
45 _W(declareProperty<
Real>(
"barr_height")),
46 _Qstar(declareProperty<
Real>(
"Qstar")),
47 _D(declareProperty<
Real>(
"D")),
48 _int_width(getParam<
Real>(
"int_width")),
49 _length_scale(getParam<
Real>(
"length_scale")),
50 _time_scale(getParam<
Real>(
"time_scale")),
51 _order(getParam<
MooseEnum>(
"polynomial_order")),
52 _D0(getParam<
Real>(
"D0")),
53 _Em(getParam<
Real>(
"Em")),
54 _Ef(getParam<
Real>(
"Ef")),
55 _surface_energy(getParam<
Real>(
"surface_energy")),
56 _JtoeV(6.24150974e18),
71 _D[
_qp] = D0_c * std::exp(-
_Em / kbT);
82 KN = 3.0 / 16.0 * std::sqrt(3.0) + 9.0 / 64.0 * std::sqrt(2.0) *
83 (std::log(-std::sqrt(2.0) + std::sqrt(3.0)) +
84 std::log(std::sqrt(2.0) + std::sqrt(3.0)));
90 paramError(
"polynomial_order",
"Incorrect polynomial order");
106 Co =
std::pow(2.0, 5.0) * (1.0 + 2.0 *
a - 2.0 *
a *
a);
109 Co =
std::pow(2.0, 7.0) * (9.0 / 2.0 *
a - 9.0 / 2.0 *
a *
a + 3.0 / 4.0);
112 Co =
std::pow(2.0, 9.0) * (15.0 / 4.0 *
a - 15.0 / 4.0 *
a *
a + 3.0 / 8.0);
115 mooseError(
"Error in PFParamsPolyFreeEnergy: incorrect polynomial order");
MaterialProperty< Real > & _Qstar
MaterialProperty< Real > & _c_eq
MaterialProperty< Real > & _D
PFParamsPolyFreeEnergy(const InputParameters ¶meters)
MaterialProperty< Real > & _M
Mateiral property declarations.
static InputParameters validParams()
MaterialProperty< RealGradient > & _grad_M
void paramError(const std::string ¶m, Args... args) const
Real _int_width
Input parameters.
Calculated properties for a single component phase field model using polynomial free energies...
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
static InputParameters validParams()
void mooseError(Args &&... args) const
MaterialProperty< Real > & _W
registerMooseObject("PhaseFieldApp", PFParamsPolyFreeEnergy)
virtual void computeQpProperties()
MooseUnits pow(const MooseUnits &, int)
MaterialProperty< Real > & _kappa