https://mooseframework.inl.gov
SCMRZPinQPrimeAux.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 "SCMRZPinQPrimeAux.h"
11 
12 registerMooseObject("SubChannelApp", SCMRZPinQPrimeAux);
13 registerMooseObjectRenamed("SubChannelApp", RZPinQPrimeAux, "06/30/2025 24:00", SCMRZPinQPrimeAux);
14 
17 {
19  params.addClassDescription(
20  "Axial heat rate on pin surface for a 2D-RZ axi-symmetric fuel pin model");
21  return params;
22 }
23 
25  : DiffusionFluxAux(parameters)
26 {
27  for (auto & b : blockIDs())
28  {
30  mooseError(this->name(), ": This kernel must be calculated on an -RZ Mesh");
31  }
32 }
33 
34 Real
36 {
37  return DiffusionFluxAux::computeValue() * M_PI * 2.0 * abs(_q_point[_qp](0));
38 }
MetaPhysicL::DualNumber< V, D, asd > abs(const MetaPhysicL::DualNumber< V, D, asd > &a)
static InputParameters validParams()
virtual const std::set< SubdomainID > & blockIDs() const
virtual const std::string & name() const
Computes linear heat rate in a 2D-RZ model of a fuel pin.
virtual Real computeValue()
SCMRZPinQPrimeAux(const InputParameters &parameters)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
SubProblem & _subproblem
void mooseError(Args &&... args) const
unsigned int _qp
void addClassDescription(const std::string &doc_string)
Moose::CoordinateSystemType getCoordSystem(SubdomainID sid) const
virtual Real computeValue() override
registerMooseObject("SubChannelApp", SCMRZPinQPrimeAux)
const MooseArray< Point > & _q_point
static InputParameters validParams()
registerMooseObjectRenamed("SubChannelApp", RZPinQPrimeAux, "06/30/2025 24:00", SCMRZPinQPrimeAux)