https://mooseframework.inl.gov
Loading...
Searching...
No Matches
SideFluxIntegralRZ.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
10#include "SideFluxIntegralRZ.h"
11
12registerMooseObject("ThermalHydraulicsApp", SideFluxIntegralRZ);
13
16{
18 params += RZSymmetry::validParams();
19
20 params.addClassDescription("Integrates a diffusive flux over a boundary of a 2D RZ domain.");
21
22 return params;
23}
24
26 : SideFluxIntegral(parameters), RZSymmetry(this, parameters)
27{
28}
29
30Real
32{
33 const Real circumference = computeCircumference(_q_point[_qp]);
34 return circumference * SideFluxIntegral::computeQpIntegral();
35}
registerMooseObject("ThermalHydraulicsApp", SideFluxIntegralRZ)
void addClassDescription(const std::string &doc_string)
Interface class for enabling objects to be RZ symmetric about arbitrary axis.
Definition RZSymmetry.h:20
virtual Real computeCircumference(const RealVectorValue &pt)
Definition RZSymmetry.C:85
static InputParameters validParams()
Definition RZSymmetry.C:17
static InputParameters validParams()
Real computeQpIntegral() override
Integrates a diffusive flux over a boundary of a 2D RZ domain.
static InputParameters validParams()
SideFluxIntegralRZ(const InputParameters &parameters)
virtual Real computeQpIntegral() override
const MooseArray< Point > & _q_point