19 "The variable on the coupled heat structure boundary");
22 "Base class for heat flux boundary condition for coupling two heat structures");
29 _coupled_variable_number(
30 _subproblem.getVariable(_tid, getParam<
std::string>(
"coupled_variable"),
Moose::
VAR_SOLVER)
32 _mesh_alignment(*getParam<
MeshAlignment *>(
"_mesh_alignment")),
34 _nl_sys(_subproblem.systemBaseNonlinear(_sys.number())),
35 _serialized_solution(_nl_sys.currentSolution())
51 const Node & neighbor_node =
_mesh.
nodeRef(neighbor_node_id);
52 const auto dof_number =
54 ADReal T_node = (*_serialized_solution)(dof_number);
const Elem *const & _current_elem
bool hasCoupledNodeID(const dof_id_type &node_id) const
Returns true if the node ID has a coupled node ID.
HeatStructure2DCouplerBCBase(const InputParameters ¶meters)
Builds mapping between two aligned subdomains/boundaries.
DualNumber< Real, DNDerivativeType, true > ADReal
static InputParameters validParams()
virtual const Node & nodeRef(const dof_id_type i) const
const dof_id_type & getCoupledNodeID(const dof_id_type &node_id) const
Gets the coupled node ID for a given node ID.
unsigned int number() const
static InputParameters validParams()
ADReal computeCoupledTemperature() const
Computes the coupled neighbor temperature.
const unsigned int _coupled_variable_number
Variable number of the variable to transfer.
const ADTemplateVariableTestValue< T > & _test
void derivInsert(SemiDynamicSparseNumberArray< Real, libMesh::dof_id_type, NWrapper< N >> &derivs, libMesh::dof_id_type index, Real value)
static const std::complex< double > j(0, 1)
Complex number "j" (also known as "i")
const SystemBase & _nl_sys
Nonlinear system.
MeshAlignment & _mesh_alignment
Mesh alignment object.