19 "Computes the time derivative of the azimuthal component "
20 "of the magnetic field assuming cylindrical electric field. The electric field can "
21 "be supplied as a vector or scalar components.");
23 params.
addCoupledVar(
"Efield_X",
"The x-component of the electric field");
24 params.
addCoupledVar(
"Efield_Y",
"The y-component of the electric field");
30 _is_efield_vector(isCoupled(
"Efield")),
31 _is_efield_scalar(isCoupled(
"Efield_X") && isCoupled(
"Efield_Y")),
32 _efield_curl(_is_efield_vector ? coupledCurl(
"Efield") : _vector_curl_zero),
33 _efield_x_grad(_is_efield_scalar ? coupledGradient(
"Efield_X") : _grad_zero),
34 _efield_y_grad(_is_efield_scalar ? coupledGradient(
"Efield_Y") : _grad_zero)
38 mooseError(
"Both a vector and scalar components of the electric field were provided! Please "
44 mooseError(
"Neither a vector nor two scalar components of the electric field were provided! "
45 "Please check the input parameters.");
registerMooseObject("ElectromagneticsApp", AzimuthMagneticTimeDerivRZ)
static InputParameters validParams()
Computes the time derivative of the azimuthal component of the magnetic field assuming cylindrical el...
const VariableGradient & _efield_y_grad
Gradient of the y-component of the electric field.
const VariableGradient & _efield_x_grad
Gradient of the x-component of the electric field.
virtual Real computeValue() override
static InputParameters validParams()
const VectorVariableCurl & _efield_curl
Curl of the electric field vector.
const bool _is_efield_vector
True if the vector of the electric field was provided.
AzimuthMagneticTimeDerivRZ(const InputParameters ¶meters)
const bool _is_efield_scalar
True if both the x- & y- component of the electric field were provided.
void mooseError(Args &&... args) const