21 "q_uo",
"The name of the user object that computes the heat flux");
23 params.
addRequiredParam<
unsigned int>(
"n_unit",
"Number of units of heat structure");
25 "Is the heat structure coordinate system cylindrical?");
32 _phi_neighbor(_assembly.phiNeighbor(_var)),
34 _P_hs_unit(getParam<
Real>(
"P_hs_unit")),
35 _n_unit(getParam<unsigned
int>(
"n_unit")),
36 _hs_coord_system_is_cylindrical(getParam<bool>(
"hs_coord_system_is_cylindrical")),
37 _hs_coord(_hs_coord_system_is_cylindrical ? _P_hs_unit : 1.0),
38 _hs_scale(-_hs_coord / (_n_unit * _P_hs_unit))
const VariableTestValue & _test
const dof_id_type & getNearestElem(dof_id_type elem_id) const
Get the nearest element ID for given element ID.
virtual void computeOffDiagJacobian(unsigned int jvar) override
virtual Elem * elemPtr(const dof_id_type i)
virtual void prepareNeighbor()=0
unsigned int number() const
const Elem *const & _current_elem
static InputParameters validParams()
void reinitNeighborAtPhysical(const Elem *neighbor, unsigned int neighbor_side, const std::vector< Point > &physical_points)
virtual void initialSetup() override
virtual void computeJacobian() override
const MooseVariableFieldBase & getVariable(unsigned int jvar_num) const
Base class for caching heat flux between a flow channel and a heat structure.
static InputParameters validParams()
virtual void computeJacobian() override
const MooseArray< Point > & _q_point
void addJacobian(Assembly &assembly, const Residuals &residuals, const Indices &dof_indices, Real scaling_factor)
virtual const std::vector< dof_id_type > & dofIndicesNeighbor() const=0
virtual Real computeQpOffDiagJacobianNeighbor(unsigned int jvar)=0
Compute the off-diagonal Jacobian w.r.t.
const std::vector< dof_id_type > & dofIndices() const final
virtual std::size_t phiNeighborSize() const=0
FEProblemBase & _fe_problem
NonlinearSystemBase & getNonlinearSystemBase(const unsigned int sys_num)
unsigned int number() const
std::vector< Point > stdVector() const
virtual std::vector< unsigned int > getOffDiagVariableNumbers()=0
Get the list of variable numbers that are used in off-diagonal Jacobian blocks.
const MooseArray< Real > & _coord
const QBase *const & _qrule
virtual void computeOffDiagJacobian(unsigned jvar) override
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
std::vector< unsigned int > _off_diag_var_nums
Variable numbers for the off-diagonal jacobian computation.
const HeatFluxFromHeatStructureBaseUserObject & _q_uo
User object that computes the heat flux.
HeatFluxBaseBC(const InputParameters ¶meters)
void setCurrentNeighborSubdomainID(SubdomainID i)
void copyNeighborShapes(MooseVariableField< T > &v)
void ErrorVector unsigned int
const MooseArray< Real > & _JxW
void scalingFactor(const std::vector< Real > &factor)