22 "Calculates the current source term in the Helmholtz wave equation using " 23 "the conduction formulation of the current.");
31 params.
addParam<MaterialPropertyName>(
32 "conductivity_real", 1.0,
"The real component of the material conductivity.");
33 params.
addParam<MaterialPropertyName>(
34 "conductivity_imag", 0.0,
"The imaginary component of the material conductivity.");
36 params.
addParam<MaterialPropertyName>(
37 "ang_freq_real",
"ang_freq",
"The real component of the angular drive frequency.");
38 params.
addParam<MaterialPropertyName>(
39 "ang_freq_imag", 0.0,
"The imaginary component of the angular drive frequency.");
41 params.
addParam<MaterialPropertyName>(
42 "permeability_real",
"mu_vacuum",
"The real component of the material permeability.");
43 params.
addParam<MaterialPropertyName>(
44 "permeability_imag", 0.0,
"The imaginary component of the material permeability.");
53 _field_real(adCoupledVectorValue(
"field_real")),
54 _field_imag(adCoupledVectorValue(
"field_imag")),
56 _cond_real(getADMaterialProperty<
Real>(
"conductivity_real")),
57 _cond_imag(getADMaterialProperty<
Real>(
"conductivity_imag")),
59 _omega_real(getADMaterialProperty<
Real>(
"ang_freq_real")),
60 _omega_imag(getADMaterialProperty<
Real>(
"ang_freq_imag")),
62 _mu_real(getADMaterialProperty<
Real>(
"permeability_real")),
63 _mu_imag(getADMaterialProperty<
Real>(
"permeability_imag")),
65 _component(getParam<
MooseEnum>(
"component"))
84 (mu_omega_imag * sigma_field_real + mu_omega_real * sigma_field_imag);
88 return _test[
_i][
_qp] * (mu_omega_real * sigma_field_real - mu_omega_imag * sigma_field_imag);
Calculates the current source term in the Helmholtz wave equation using the conduction formulation of...
static const std::string component
const ADMaterialProperty< Real > & _cond_imag
Imaginary component of the material conductivity (in S/m)
const ADVectorVariableValue & _field_imag
Vector variable of the imaginary component of the electric field.
static InputParameters validParams()
MooseEnum _component
Component of the field vector (real or imaginary)
const ADMaterialProperty< Real > & _omega_real
Real component of the angular drive frequency (in rad/s)
const ADTemplateVariableTestValue< T > & _test
DualNumber< Real, DNDerivativeType, true > ADReal
registerMooseObject("ElectromagneticsApp", ADConductionCurrent)
const ADVectorVariableValue & _field_real
Vector variable of the real component of the electric field.
ADConductionCurrent(const InputParameters ¶meters)
virtual ADReal computeQpResidual() override
const ADMaterialProperty< Real > & _cond_real
Real component of the material conductivity (in S/m)
const ADMaterialProperty< Real > & _omega_imag
Imaginary component of the angular drive frequency (in rad/s)
static InputParameters validParams()
const ADMaterialProperty< Real > & _mu_real
Real component of the material permeability (in H/m)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const ADMaterialProperty< Real > & _mu_imag
Imaginary component of the material permeability (in H/m)