19 params.
addParam<
Real>(
"gas_constant", 8.3144621,
"Gas constant");
21 "heat_of_transport",
"heat_of_transport",
"Property name for the heat of transport.");
23 "mass_diffusivity",
"mass_diffusivity",
"Property name for the diffusivity.");
25 params.
addClassDescription(
"Kernel for thermo-diffusion (Soret effect, thermophoresis, etc.)");
31 _temperature(coupledValue(
"temp")),
32 _grad_temperature(coupledGradient(
"temp")),
33 _mass_diffusivity(getMaterialProperty<
Real>(getParam<
std::string>(
"mass_diffusivity"))),
34 _heat_of_transport(getMaterialProperty<
Real>(getParam<
std::string>(
"heat_of_transport"))),
35 _gas_constant(getParam<
Real>(
"gas_constant")),
36 _temperature_index(coupled(
"temp"))
static InputParameters validParams()
const VariableGradient & _grad_temperature
static InputParameters validParams()
const MaterialProperty< Real > & _heat_of_transport
const VariablePhiGradient & _grad_phi
virtual Real computeQpJacobian()
registerMooseObject("MiscApp", ThermoDiffusion)
const MaterialProperty< Real > & _mass_diffusivity
virtual Real computeQpResidual()
RealGradient thermoDiffusionVelocity() const
const VariableValue & _temperature
ThermoDiffusion(const InputParameters ¶meters)
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
Computes contribution from grad( T ) / T^2 term.
Models thermo-diffusion (aka Soret effect, thermophoresis, etc.).
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const unsigned int _temperature_index
const VariableTestGradient & _grad_test
const VariablePhiValue & _phi