Loading [MathJax]/extensions/tex2jax.js
https://mooseframework.inl.gov
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends
ConvectionHeatTransferRZBC.C
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
11 
12 registerMooseObject("ThermalHydraulicsApp", ConvectionHeatTransferRZBC);
13 
16 {
18  params += RZSymmetry::validParams();
19 
20  params.addClassDescription("Convection BC for RZ domain in XY coordinate system");
21 
22  return params;
23 }
24 
26  : ConvectionHeatTransferBC(parameters), RZSymmetry(this, parameters)
27 {
28 }
29 
30 Real
32 {
33  const Real circumference = computeCircumference(_q_point[_qp]);
34  return circumference * ConvectionHeatTransferBC::computeQpResidual();
35 }
36 
37 Real
39 {
40  const Real circumference = computeCircumference(_q_point[_qp]);
41  return circumference * ConvectionHeatTransferBC::computeQpJacobian();
42 }
Interface class for enabling objects to be RZ symmetric about arbitrary axis.
Definition: RZSymmetry.h:19
Convection BC for RZ domain in XY coordinate system.
virtual Real computeQpResidual() override
static InputParameters validParams()
unsigned int _qp
const MooseArray< Point > & _q_point
virtual Real computeQpJacobian() override
registerMooseObject("ThermalHydraulicsApp", ConvectionHeatTransferRZBC)
virtual Real computeCircumference(const RealVectorValue &pt)
Definition: RZSymmetry.C:85
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
void addClassDescription(const std::string &doc_string)
static InputParameters validParams()
ConvectionHeatTransferRZBC(const InputParameters &parameters)
static InputParameters validParams()
Definition: RZSymmetry.C:17