https://mooseframework.inl.gov
SCMTriDuctQPrimeAux.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 "SCMTriDuctQPrimeAux.h"
11 
13 registerMooseObjectRenamed("SubChannelApp",
14  TriDuctQPrimeAux,
15  "06/30/2025 24:00",
17 
20 {
22  params.addClassDescription("Axial heat rate on duct surface");
23  params.addRequiredParam<Real>(
24  "flat_to_flat", "distance from one flat side of the duct to the opposite flat side [m]");
25  return params;
26 }
27 
29  : DiffusionFluxAux(parameters), _flat_to_flat(getParam<Real>("flat_to_flat"))
30 {
31 }
32 
33 Real
35 {
36  return DiffusionFluxAux::computeValue() * 6 * _flat_to_flat / std::sqrt(3);
37 }
virtual Real computeValue() override
SCMTriDuctQPrimeAux(const InputParameters &parameters)
registerMooseObject("SubChannelApp", SCMTriDuctQPrimeAux)
void addRequiredParam(const std::string &name, const std::string &doc_string)
static InputParameters validParams()
const Real & _flat_to_flat
flat-to-flat distance
registerMooseObjectRenamed("SubChannelApp", TriDuctQPrimeAux, "06/30/2025 24:00", SCMTriDuctQPrimeAux)
virtual Real computeValue()
Computes linear heat rate to/from the hexagonal duct&#39;s inner surface to subchannels.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
void addClassDescription(const std::string &doc_string)
static InputParameters validParams()