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")),
static InputParameters validParams()
static InputParameters validParams()
unsigned int number() const
const VariablePhiGradient & _grad_phi
SoretDiffusion adds the soret effect in the split form of the Cahn-Hilliard equation.
const MaterialProperty< Real > & _D
Diffusivity material property.
SoretDiffusion(const InputParameters ¶meters)
const Real _kB
Boltzmann constant.
const VariableGradient & _grad_T
Variable gradient for temperature.
const MaterialProperty< Real > & _Q
Heat of transport material property.
const VariableValue & _c
Variable value for the concentration.
unsigned int _c_var
int label for the Concentration
virtual Real computeQpResidual()
virtual Real computeQpJacobian()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
registerMooseObject("PhaseFieldApp", SoretDiffusion)
const VariableTestGradient & _grad_test
const VariableValue & _T
Coupled variable for the temperature.
const VariablePhiValue & _phi
const bool _is_coupled
is the kernel used in a coupled form?
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
virtual Real computeQpCJacobian()
unsigned int _T_var
int label for temperature variable