https://mooseframework.inl.gov
SCMTriDuctQPrimeFVAux.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 "SCMTriDuctQPrimeFVAux.h"
11 
13 registerMooseObjectRenamed("SubChannelApp",
14  TriDuctQPrimeFVAux,
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  : DiffusionFluxFVAux(parameters), _flat_to_flat(getParam<Real>("flat_to_flat"))
30 {
31 }
32 
33 Real
35 {
36  return DiffusionFluxFVAux::computeValue() * 6 * _flat_to_flat / std::sqrt(3);
37 }
Computes linear heat rate to/from the hexagonal duct&#39;s inner surface to subchannels (FV formulation)...
virtual Real computeValue()
registerMooseObjectRenamed("SubChannelApp", TriDuctQPrimeFVAux, "06/30/2025 24:00", SCMTriDuctQPrimeFVAux)
void addRequiredParam(const std::string &name, const std::string &doc_string)
SCMTriDuctQPrimeFVAux(const InputParameters &parameters)
virtual Real computeValue() override
const Real & _flat_to_flat
flat-to-flat distance
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
registerMooseObject("SubChannelApp", SCMTriDuctQPrimeFVAux)
static InputParameters validParams()
void addClassDescription(const std::string &doc_string)
static InputParameters validParams()
Auxiliary kernel responsible for computing the components of the flux vector in diffusion problems us...