19 "Kernel that provides antitrapping current at the interface for alloy solidification");
35 return _F[_qp] * _v_dot[_qp] *
_grad_v[_qp] * _grad_test[_i][_qp] / std::sqrt(
norm_sq);
45 return _dFdu[_qp] * _v_dot[_qp] *
_grad_v[_qp] * _grad_test[_i][_qp] * _phi[_j][_qp] /
57 const unsigned int cvar = mapJvarToCvar(jvar);
60 return (
_F[_qp] * _dv_dot[_qp] *
_grad_v[_qp] * _grad_test[_i][_qp] * _phi[_j][_qp] +
61 _F[_qp] * _v_dot[_qp] * _grad_test[_i][_qp] * _grad_phi[_j][_qp] -
64 _v_dot[_qp] *
_grad_v[_qp] * _grad_test[_i][_qp] * _phi[_j][_qp] *
68 return _v_dot[_qp] *
_grad_v[_qp] * _grad_test[_i][_qp] * _phi[_j][_qp] * (*
_dFdarg[cvar])[_qp] /
AntitrappingCurrent(const InputParameters ¶meters)
static constexpr Real TOLERANCE
std::vector< const MaterialProperty< Real > * > _dFdarg
function derivatives w.r.t. coupled variables
const VariableGradient & _grad_v
registerMooseObject("PhaseFieldApp", AntitrappingCurrent)
This calculates a modified coupled time derivative that multiplies the time derivative of a coupled v...
virtual Real computeQpResidual()
static InputParameters validParams()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const MaterialProperty< Real > & _dFdu
function derivative w.r.t. the kernel variable
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
static InputParameters validParams()
This calculates a modified coupled time derivative that multiplies the time derivative of a coupled v...
virtual Real computeQpJacobian()
const MaterialProperty< Real > & _F
The function multiplied by the coupled time derivative.