21 "Kernel to add dilute solution term to Poisson's equation for electrochemical sintering");
22 params.
addParam<MaterialPropertyName>(
23 "mask",
"hm",
"Mask function that specifies where this kernel is active");
24 params.
addRequiredParam<MaterialPropertyName>(
"n_eq",
"Equilibrium defect concentration");
25 params.
addRequiredParam<
int>(
"species_charge",
"Charge of species this kernel is being used for");
26 params.
addCoupledVar(
"args",
"Vector of nonlinear variable arguments this object depends on");
34 _w(coupledValue(
"w")),
35 _temp_name(coupledName(
"T", 0)),
36 _temp_var(coupled(
"T")),
37 _temp(coupledValue(
"T")),
38 _mask(getMaterialProperty<
Real>(
"mask")),
39 _prop_dmaskdarg(_n_args),
40 _n_eq(getMaterialProperty<
Real>(
"n_eq")),
41 _prop_dn_eqdT(getMaterialPropertyDerivative<
Real>(
"n_eq", _temp_name)),
42 _prop_dn_eqdarg(_n_args),
43 _z(getParam<
int>(
"species_charge")),
48 for (
unsigned int i = 0; i <
_n_args; ++i)
58 validateNonlinearCoupling<Real>(
"mask");
59 validateNonlinearCoupling<Real>(
"n_eq");
std::vector< const MaterialProperty< Real > * > _prop_dn_eqdarg
unsigned int _w_var
Chemical potential.
registerMooseObject("PhaseFieldApp", MaskedExponential)
static InputParameters validParams()
const MaterialProperty< Real > & _n_eq
Equilibrium defect concentration.
const int _z
Species charge.
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
virtual void initialSetup()
const VariableTestValue & _test
MaskedExponential(const InputParameters ¶meters)
This kernel implements a term in the variationally-derived equivalent form of Poisson's equation for ...
const VariableValue & _temp
static InputParameters validParams()
const MaterialProperty< Real > & _prop_dn_eqdT
virtual Real computeQpResidual()
unsigned int mapJvarToCvar(unsigned int jvar)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const MaterialProperty< Real > & _mask
Mask.
const Real _e
Electron charge.
const unsigned int _n_args
const VariablePhiValue & _phi
void ErrorVector unsigned int
virtual Real computeQpJacobian()
const Real _kB
Boltzmann constant.
std::vector< const MaterialProperty< Real > * > _prop_dmaskdarg