25 "The diffusivity used with the kernel");
26 params.
addParam<MaterialPropertyName>(
27 "Q_name",
"Qheat",
"The material name for the heat of transport");
34 _T(coupledValue(
"T")),
35 _grad_T(coupledGradient(
"T")),
36 _is_coupled(isCoupled(
"c")),
37 _c_var(_is_coupled ? coupled(
"c") : _var.number()),
38 _c(_is_coupled ? coupledValue(
"c") : _u),
39 _D(getMaterialProperty<Real>(
"diff_name")),
40 _Q(getMaterialProperty<Real>(
"Q_name")),
registerMooseObject("PhaseFieldApp", SoretDiffusion)
const VariablePhiValue & _phi
static InputParameters validParams()
const VariablePhiGradient & _grad_phi
const VariableTestGradient & _grad_test
unsigned int number() const
SoretDiffusion adds the soret effect in the split form of the Cahn-Hilliard equation.
unsigned int _T_var
int label for temperature variable
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
const VariableValue & _T
Coupled variable for the temperature.
virtual Real computeQpResidual()
const MaterialProperty< Real > & _D
Diffusivity material property.
static InputParameters validParams()
const MaterialProperty< Real > & _Q
Heat of transport material property.
virtual Real computeQpCJacobian()
const VariableValue & _c
Variable value for the concentration.
const VariableGradient & _grad_T
Variable gradient for temperature.
SoretDiffusion(const InputParameters ¶meters)
const Real _kB
Boltzmann constant.
unsigned int _c_var
int label for the Concentration
virtual Real computeQpJacobian()
const bool _is_coupled
is the kernel used in a coupled form?